RepoJournal
Elixir & Phoenix Elixir & Phoenix
138 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-08-10
stories 4

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

ELIXIR FIXES UTF-8 CORRUPTION IN MACRO.TO_STRING, ECTO CUTS COMPILE DEPS

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

A critical fix landed for Elixir's string handling that was silently corrupting UTF-8 sequences when converting C1 control characters, while Ecto shipped a change that trims unnecessary compile-time dependencies from schema derivations.

Elixir merged a patch that rewrites how C1 control characters (U+0080 to U+009F) are escaped in `Macro.to_string/1` [1]. The old approach using `\xNN` for bytes could transform valid UTF-8 into invalid sequences on round-trip: U+0090 became `"\x90"` and evaluated back to the corrupt byte `<<0x90>>` instead of the original UTF-8 pair `<<0xC2, 0x90>>` [2]. The fix switches to `\u00NN` Unicode escapes for the C1 range while preserving `\xNN` for ASCII control bytes, with regression tests covering the full range. On the Ecto side, a PR merged that reorders conditional checks in schema compilation to avoid pulling in compile-time dependencies when reading `@derive` attributes unless redacted fields actually exist [3][4]. This cuts transitive compile coupling in projects that use protocols with module options.

Quick answers

What shipped in Elixir & Phoenix on August 10, 2026?
A critical fix landed for Elixir's string handling that was silently corrupting UTF-8 sequences when converting C1 control characters, while Ecto shipped a change that trims unnecessary compile-time dependencies from schema derivations. In total, 2 commits and 2 pull requests landed.
Who contributed to Elixir & Phoenix on August 10, 2026?
2 developers shipped this update, including mnnekrashevich and woylie.
What were the notable Elixir & Phoenix updates?
Escape C1 control characters with Unicode escapes, Escape C1 control characters with Unicode escapes (#15726), and avoid compile-time dependency on modules named in derive.