RepoJournal
Elixir & Phoenix Elixir & Phoenix
138 wires and counting

$ follow Elixir & Phoenix

Keep up with Elixir & Phoenix in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-06-30
stories 7

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

PHOENIX FLIPS TO ESM BY DEFAULT, LIVE VIEW PATCHES DIRECTIVE BUG

By RepoJournal · Filed · About Elixir & Phoenix · Composed from the cited sources · methodology

Phoenix's new project installer now outputs ESM modules for app.js, bringing tree shaking and code splitting to every new codebase.

The Phoenix team is updating mix phx.new to configure esbuild for ESM output by default [1], aligning with how modern bundlers like Vite work. ESM modules enable tree shaking, code splitting, and strict mode, which cuts bundle sizes and catches coding errors earlier. This is a breaking change for new projects only, but it's the right move for 2025. Meanwhile, LiveView 1.2.4 shipped with a critical fix for colocated components [2]: directives were getting dropped when a single component used both ColocatedCSS and ColocatedHook together. If you're using scoped CSS with JS hooks in the same LiveView component, this patch fixes the attribute loss. The release also restores missing img attributes on live_img_preview and quiets false warnings about form recovery [2].

Action items

References

  1. [1] Bundle app.js as ESM module for new projects (#6548) ↗ phoenixframework/phoenix
  2. [2] v1.2.4 ↗ phoenixframework/phoenix_live_view

Quick answers

What shipped in Elixir & Phoenix on June 30, 2026?
Phoenix's new project installer now outputs ESM modules for app.js, bringing tree shaking and code splitting to every new codebase. In total, 4 commits, 2 pull requests, and 1 releases landed.
What were the notable Elixir & Phoenix updates?
Bundle app.js as ESM module for new projects (#6548) and v1.2.4.