The Wire · Showcase
ELIXIR 1.20.3 TIGHTENS TYPE CHECKING, PHOENIX CUTS AGENT GUIDANCE BLOAT
By RepoJournal · Filed · About Elixir & Phoenix
Elixir shipped a compiler speedup and five type precision fixes that close the gaps developers keep finding in map and tuple handling.
Elixir v1.20.3 landed with a parallel compiler enhancement batching type checker cache operations to accelerate compilation times [1]. The release also fixes type precision across five separate bugs: the `++/2` operator, `send/2` return types, `and/2` and `or/2` type refinement, `Map.put/3` on empty maps, and tuple insertion on equivalent types [1]. These fixes matter because they eliminate false positives in dialyzer and catch actual type mismatches you might have missed. Over in Phoenix, José Valim consolidated the generated AGENTS.md guidance by removing now-commonplace setup instructions and mistakes that already trigger compiler errors, leaving only the rules that signal real intent [2]. Meanwhile, Ecto is working through a subquery field selection bug [3] that affects list selections and map/2 operations from nested queries.
One email a day. Unsubscribe in one click.
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. Read a past issue →
Action items
- → Upgrade to Elixir 1.20.3 before your next deploy elixir-lang/elixir [plan]
- → Regenerate Phoenix project AGENTS.md after upgrading phoenixframework/phoenix [plan]
- → Watch Ecto PR#4777 for subquery field selection fix elixir-ecto/ecto [monitor]
References
- [1] v1.20.3 ↗ elixir-lang/elixir
- [2] Streamline generated AGENTS.md usage rules ↗ phoenixframework/phoenix
- [3] fix selecting list of fields and map/2 from subquery ↗ elixir-ecto/ecto