RepoJournal
Elixir & Phoenix

Elixir & Phoenix

Elixir, Phoenix, LiveView, and Ecto - the BEAM web stack

Pick a date

The Wire · Showcase

PHOENIX ROUTES GET 3X FASTER COMPILATION, BUT YOUR DEAD ROUTES ARE NOW ALIVE

By RepoJournal · Filed · About Elixir & Phoenix

Phoenix's router compiler just got a massive speed boost by grouping routes by HTTP verb, but it's exposing bugs you didn't know you had.

The Phoenix team shipped a compilation optimization [1] that can cut router build times by 3x on large applications. The catch: routes are now matched strictly by verb, which means dead routes (like a `get "/foo"` after a `match "/foo"`) will suddenly start matching. This isn't a breaking change you should fear; it's exposing code that should never have existed. Fix it by removing the duplicate routes.

On the LiveView front, v1.2.5 shipped [3] with a critical fix for custom UploadWriters [2]. Previously, if your upload handler returned an error, it would crash the entire LiveView instead of just failing the upload. Now it shuts down gracefully, letting the view survive the error. The same release [3] also improved deprecation warnings for TagEngine so you'll actually know which file needs fixing.

Both improvements land in stable channels today. The router change requires a glance at your route files; the upload fix requires nothing from you unless you have custom writers.

Action items

References

  1. [1] Split routes by verb during compilation ↗ phoenixframework/phoenix
  2. [2] Stop upload channel with {:shutdown, :closed} on writer error so the LiveView survives (#4320) phoenixframework/phoenix_live_view
  3. [3] v1.2.5 ↗ phoenixframework/phoenix_live_view

FAQ

What changed in Elixir & Phoenix on July 1, 2026?
Phoenix's router compiler just got a massive speed boost by grouping routes by HTTP verb, but it's exposing bugs you didn't know you had.
What should Elixir & Phoenix teams do about it?
Upgrade Phoenix to latest and audit routes for verb conflicts • Upgrade Phoenix LiveView to v1.2.5 to protect uploads from writer errors • Check your custom UploadWriter implementations and test error paths
Which Elixir & Phoenix repositories shipped on July 1, 2026?
phoenixframework/phoenix, phoenixframework/phoenix_live_view

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.