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 ERROR HANDLING ACROSS DATE, ECTO, AND IEXHELPERS

By RepoJournal · Filed · About Elixir & Phoenix

Date.range now surfaces ArgumentError instead of Protocol.UndefinedError when passed invalid step values, catching a class of bugs that silently fail in production code.

The core fix lands in elixir-lang/elixir where Date.range/3 now validates step arguments before attempting to stringify them, raising the correct ArgumentError [1] instead of confusing protocol errors. Alexander Gubarev also patched IEx.Helpers.h to print correct specs for default arg functions [2], a polish that keeps introspection reliable. Over in ecto, a breaking change merged that enforces writable fields after prepare_changes callbacks [3], catching code that was already broken but silently succeeding. The change adds `drop_non_writable_changes!/4` on prepare results, technically a breaking change but one that fixes #4770. Phoenix LiveView picked up asset updates [4] and attribution fixes [5] to keep the rendering pipeline clean. Across all three repos, the pattern is the same: fail fast with correct error types rather than propagating confusion downstream.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix Date.range/3 raises wrong exception for invalid step ↗ elixir-lang/elixir
  2. [2] Fix IEx.Helpers.h print spec for default arg function ↗ elixir-lang/elixir
  3. [3] Enforce writable fields after prepare_changes (#4771) elixir-ecto/ecto
  4. [4] Update assets phoenixframework/phoenix_live_view
  5. [5] fix missing attribution phoenixframework/phoenix_live_view

Quick answers

What shipped in Elixir & Phoenix on July 29, 2026?
Date.range now surfaces ArgumentError instead of Protocol.UndefinedError when passed invalid step values, catching a class of bugs that silently fail in production code. In total, 10 commits and 4 pull requests landed.
Who contributed to Elixir & Phoenix on July 29, 2026?
4 developers shipped this update, including Alexander Gubarev, Steffen Deusch, lukaszsamson, and José Valim.
What were the notable Elixir & Phoenix updates?
Fix Date.range/3 raises wrong exception for invalid step, Fix IEx.Helpers.h print spec for default arg function, and Enforce writable fields after prepare_changes (#4771).

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?