The Wire · Showcase
ELIXIR FORMATTER GAINS ATOM INTERPOLATION MIGRATION TOOL
By RepoJournal · Filed · About Elixir & Phoenix
The core team is shipping a new formatter option to help developers migrate away from the soft-deprecated `:'foo#{x}'` syntax ahead of a future removal.
The Elixir formatter now includes a `migrate_atom_interpolations` option [1] that automatically rewrites interpolated atom literals to use `String.to_unsafe_atom/1` instead. This targets the deprecation warning developers have started seeing, and gives them a structured path forward. The core team already uses it internally to clean up their own codebase [2], signaling they're serious about this migration path. Meanwhile, routine dependency bumps landed overnight: actions/checkout upgraded to 7.0.0 [3] with improved security checks for fork PRs, and zizmor-action bumped to 0.5.7 [4] bringing zizmor 1.26.1 to the CI toolchain. A minor but welcome quality-of-life improvement also shipped: `Enum.reduce_while/3` now uses the `acc` alias in its type spec [5], making the signature easier to read at a glance.
Action items
- → Run formatter with --migrate flag to preview atom interpolation migrations in your codebase elixir-lang/elixir [plan]
- → Update CI workflows to use actions/checkout 7.0.0 when you next touch your workflow files elixir-lang/elixir [monitor]
References
- [1] Add :migrate_atom_interpolations option to formatter ↗ elixir-lang/elixir
- [2] Add :migrate_atom_interpolations option to formatter (#15531) elixir-lang/elixir
- [3] Bump actions/checkout from 6.0.3 to 7.0.0 ↗ elixir-lang/elixir
- [4] Bump zizmorcore/zizmor-action from 0.5.6 to 0.5.7 ↗ elixir-lang/elixir
- [5] Update `Enum.reduce_while/3` type spec to use `acc` ↗ elixir-lang/elixir
FAQ
- What changed in Elixir & Phoenix on July 2, 2026?
- The core team is shipping a new formatter option to help developers migrate away from the soft-deprecated `:'foo#{x}'` syntax ahead of a future removal.
- What should Elixir & Phoenix teams do about it?
- Run formatter with --migrate flag to preview atom interpolation migrations in your codebase • Update CI workflows to use actions/checkout 7.0.0 when you next touch your workflow files
- Which Elixir & Phoenix repositories shipped on July 2, 2026?
- elixir-lang/elixir