RepoJournal
Elixir & Phoenix

Elixir & Phoenix

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

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

One email a day. Unsubscribe in one click.

Pick a date

Topics: Elixir & Phoenix Full archive →

The Wire · Showcase

ELIXIR TIGHTENS TYPE REFINEMENT, ECTO UNLOCKS MACRO EXPANSION IN WINDOW FRAMES

By RepoJournal · Filed · About Elixir & Phoenix

Elixir's type system got sharper overnight with reverse arrow refinement landing, while Ecto's query builder now accepts macros where it previously rejected them.

The Elixir language repo merged the reverse arrow refinement for static predicate branches [1], enabling developers to annotate functions with input-level type precision. This lands alongside a tokenizer fix [2] that stops the compiler from suggesting back invalid characters when hints fail, a problem uncovered in issue 15419. The fix is being backported for stability. Meanwhile, Ecto shipped macro expansion in window frames [3], which means your custom query helpers now work in `frame` clauses where they previously failed validation. Before this change, you could only pass raw fragments; now macros expand first, making complex window definitions cleaner and more reusable.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Refine static predicate branches ↗ elixir-lang/elixir
  2. [2] Make sure we never suggest back invalid characters ↗ elixir-lang/elixir
  3. [3] Expand macros in window frames ↗ elixir-ecto/ecto

Quick answers

What shipped in Elixir & Phoenix on May 28, 2026?
Elixir's type system got sharper overnight with reverse arrow refinement landing, while Ecto's query builder now accepts macros where it previously rejected them. In total, 4 commits and 3 pull requests landed.
Who contributed to Elixir & Phoenix on May 28, 2026?
3 developers shipped this update, including gldubc, sabiwara, and dannote.
What were the notable Elixir & Phoenix updates?
Refine static predicate branches, Make sure we never suggest back invalid characters, and Expand macros in window frames.

More from Elixir & Phoenix

Daily updates, in your inbox

Follow Elixir & Phoenix

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

or

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

Elsewhere on the wire

Want every project, not just this one?