Phoenix 1.8.8
Overview
Phoenix 1.8.8 has been released on June 10, 2026. This is a minor patch release in the 1.8 series, which itself brought substantial changes including daisyUI support, magic links (passwordless auth), scoped generators, and deprecation warnings for several long-soft-deprecated features.
What's New in Phoenix 1.8.8
The headline enhancement in 1.8.8 is the use of LiveView 1.2.0 in phx.new generated projects. New Phoenix applications bootstrapped with this version will come pre-configured with the latest LiveView release out of the box.
- LiveView 1.2.0 — New apps now ship with LiveView 1.2.0, the latest stable version of Phoenix's real-time component library
- Streamlined project generation — No breaking changes in this patch; a clean, safe upgrade from 1.8.7
Recent 1.8 Series Highlights
While 1.8.8 is a small release, the 1.8 branch as a whole packed significant changes worth noting for anyone planning an upgrade:
- daisyUI support — Tailwind CSS projects can now opt into daisyUI for light/dark/system mode support across core components
- Magic links & sudo mode —
mix phx.gen.authnow generates passwordless authentication alongside traditional login flows - Scoped generators — New
mix phx.gen.htmland related generators include built-in scoping for secure multi-tenant data access - Interactive mode —
mix phx.new --interactiveguides you through project setup step by step - Security hardening —
put_secure_browser_headersnow sets Content-Security-Policy by default
Deprecations to Be Aware Of
If you're upgrading from an older version, note these deprecations introduced in 1.8:
use Phoenix.Controllernow requires the:formatsoption (can be set to an empty list)- The
:namespaceand:put_default_viewsoptions onuse Phoenix.Controllerare deprecated - Specifying layouts without modules (
put_layout(conn, :print)) is deprecated - The
:trailing_slashoption inPhoenix.Routeris deprecated in favor ofPhoenix.VerifiedRoutes - The compile-time
configvariable inPhoenix.Endpointhas been removed — useApplication.compile_env/3instead
Upgrade Path
Upgrading from 1.8.7 is straightforward — update your mix dependency and run mix deps.update phoenix. If you're on an earlier 1.7.x release, review the full 1.8 changelog for breaking changes, especially around controller options and endpoint configuration.
Phoenix 1.8.8 is available now on Hex. Visit hex.pm/packages/phoenix for installation instructions.