Skip to main content

Phoenix 1.8.8

Release Date: June 10, 2026

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 modemix phx.gen.auth now generates passwordless authentication alongside traditional login flows
  • Scoped generators — New mix phx.gen.html and related generators include built-in scoping for secure multi-tenant data access
  • Interactive modemix phx.new --interactive guides you through project setup step by step
  • Security hardeningput_secure_browser_headers now 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.Controller now requires the :formats option (can be set to an empty list)
  • The :namespace and :put_default_views options on use Phoenix.Controller are deprecated
  • Specifying layouts without modules (put_layout(conn, :print)) is deprecated
  • The :trailing_slash option in Phoenix.Router is deprecated in favor of Phoenix.VerifiedRoutes
  • The compile-time config variable in Phoenix.Endpoint has been removed — use Application.compile_env/3 instead

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.

What is New?

By continuing to use the site, you agree to the use of cookies.