RepoJournal
Elixir & Phoenix

Elixir & Phoenix

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

What actually shipped in Elixir & Phoenix, written up every day — commits, pull requests, releases, and security advisories.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Elixir & Phoenix Full archive →

The Wire · Showcase

ECTO GAINS FRAGMENT COLUMN NAMING, PHOENIX PLUGS GET SMARTER

By RepoJournal · Filed · About Elixir & Phoenix

Ecto's new with_columns/2 lets you assign names to SQL fragments, while Phoenix now handles module plugs with options in pipe_through declarations.

Ecto shipped with_columns/2 [1], a cleaner way to name columns from fragment sources without cluttering from/join calls. This lands alongside the SQL companion PR [2], making it immediately useful for custom macros and complex queries. Over in Phoenix, module plugs with options in pipe_through now compile without errors [3]. Previously, writing pipe_through [:api, {MyPlug, greeting: "hey"}] would crash at compile time because build_pipes/2 didn't handle the tuple syntax. That's fixed. Phoenix also merged automated GitHub releases tied to changelog entries [4], matching a pattern they've already proven in LiveView. Finally, Range.disjoint?/2 got an 18% speed boost [5] by detecting empty ranges with direction comparisons instead of computing exact sizes.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Add with_columns/2 to assign column names to fragment sources ↗ elixir-ecto/ecto
  2. [2] Add with_columns/2 to assign column names to fragment sources (#4759) elixir-ecto/ecto
  3. [3] Support module plugs with options in pipe_through ↗ phoenixframework/phoenix
  4. [4] Create GitHub releases with changelog ↗ phoenixframework/phoenix
  5. [5] Optimize Range.disjoint?/2 empty checks ↗ elixir-lang/elixir

Quick answers

What shipped in Elixir & Phoenix on July 21, 2026?
Ecto's new with_columns/2 lets you assign names to SQL fragments, while Phoenix now handles module plugs with options in pipe_through declarations. In total, 7 commits and 7 pull requests landed.
Who contributed to Elixir & Phoenix on July 21, 2026?
7 developers shipped this update, including José Valim, AlexGx, preciz, Flo0807, RicardoSantos-99, dependabot, and greg-rychlewski.
What were the notable Elixir & Phoenix updates?
Add with_columns/2 to assign column names to fragment sources, Add with_columns/2 to assign column names to fragment sources (#4759), and Support module plugs with options in pipe_through.

More from Elixir & Phoenix

Daily updates, in your inbox

Follow Elixir & Phoenix

What actually shipped in Elixir & Phoenix, written up every day — commits, pull requests, releases, and security advisories.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?