RepoJournal
Elixir & Phoenix Elixir & Phoenix
107 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-09-13
stories 2

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

Elixir compiler warns on unused and duplicated aliases

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

1 person shipped this

Elixir's compiler now reports unused and duplicated aliases, catching cases where an alias is declared twice or shadowed before it is ever used.

Elixir landed compiler warnings for unused and duplicated aliases, resolving a long-standing request to surface alias declarations that never affect the compiled code [1]. The change covers two distinct cases: aliases that go unused because another alias shadows them, and aliases declared more than once in the same scope [2].

The implementation reworks how the compiler tracks aliases internally, storing `%{alias => [{mod, meta1}, ...]}` instead of the previous `%{{alias, mod} => meta}`, so that each alias can carry per-module metadata [1]. That structure is what lets the compiler mark one entry as used and still flag the duplicate, since only one of the `{mod, meta}` tuples is changed to `{mod, :used}` [1].

For codebases that compile cleanly today, the new warnings can surface as noise on the next compile: shadowed and duplicated aliases that were previously silent now produce warnings under the same unused-alias machinery [1][2]. Because the tracking lives in the compilation environment map, the warnings apply wherever Elixir already reports unused aliases, and no new flags are introduced in the input.

Quick answers

What shipped in Elixir & Phoenix on September 13, 2026?
Elixir's compiler now reports unused and duplicated aliases, catching cases where an alias is declared twice or shadowed before it is ever used. In total, 1 commits and 1 pull requests landed.
Who contributed to Elixir & Phoenix on September 13, 2026?
1 developer shipped this update, including sabiwara.
What were the notable Elixir & Phoenix updates?
Report unused and duplicated aliases and Report unused and duplicated aliases (#15889).