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-05-24
stories 8

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

ELIXIR FIXES PATTERN MATCHING OPTIMIZATION AND EXUNIT SPEC BUGS

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

1 person shipped this

The Elixir compiler now optimizes `x in []` pattern matching to compile directly to `false` instead of calling lists.member, while ExUnit's capture_log spec finally forbids the crash-inducing `formatter: nil` option that was never actually supported.

The most impactful fix lands in the core compiler [1], where pattern matching against empty lists now inlines during the Erlang pass instead of generating a runtime lists.member call. This closes a long-standing optimization gap and follows the same approach used in earlier compiler work. Meanwhile, ExUnit's capture_log just had its spec corrected [2] to accurately reflect that `formatter: nil` was never a valid option, even though the code would crash if you passed it. The same PR fixes the underlying issue in capture_server.ex so the option now properly rejects nil values. Documentation also got its due diligence: signal handling docs [3] now correctly note that SIGSTOP is untrappable on POSIX systems and SIGTERM is properly trapped, aligning with the actual erl_signal_handler implementation. A minor typo in JSON.Encoder's moduledoc rounds out the batch.

Quick answers

What shipped in Elixir & Phoenix on May 24, 2026?
The Elixir compiler now optimizes `x in []` pattern matching to compile directly to `false` instead of calling lists.member, while ExUnit's capture_log spec finally forbids the crash-inducing `formatter: nil` option that was never actually supported. In total, 4 commits and 4 pull requests landed.
Who contributed to Elixir & Phoenix on May 24, 2026?
1 developer shipped this update, including sabiwara.
What were the notable Elixir & Phoenix updates?
Inline in empty list in erlang pass, Fix spec of ex_unit capture_log options (#15417), and Fix trapped signal documentation (#15415).