The Wire · Showcase
PHOENIX TIGHTENS OUTPUT FORMATTING WHILE ELIXIR PATCHES DEPRECATION DOCS
By RepoJournal · Filed · About Elixir & Phoenix
Phoenix now enforces single trailing newlines in generated files to eliminate code churn, while the Elixir team corrects documentation errors in core modules.
Phoenix shipped a quality-of-life win that will ripple across every new project [1]. Generated files now follow Unix convention with a single trailing newline and no accidental blank lines, matching what the Elixir formatter already enforces. This prevents the aesthetic code churn that downstream users have flagged repeatedly. In parallel, the Elixir docs team fixed two reference bugs: System.stacktrace in the deprecation table was incorrectly listed with arity 1 when the function has arity 0 [2], and Macro.Env docs referenced non-existent Kernel.SpecialForm (missing the trailing 's') instead of Kernel.SpecialForms, breaking ExDoc links [3]. Phoenix also bumped development dependencies to address Bandit security advisories [4], keeping the published mix.exs stable to avoid forcing downstream upgrades. In LiveView, parent navigation now succeeds even when a child route blocks navigation [5].
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
- → No immediate action required; update Phoenix on next release cycle to inherit formatting improvements phoenixframework/phoenix [plan]
- → Review deprecation and module reference docs in your codebase against corrected Elixir references elixir-lang/elixir [monitor]
References
- [1] Ensure single trailing newline in generated files ↗ phoenixframework/phoenix
- [2] Fix System.stacktrace arity in the table of deprecations ↗ elixir-lang/elixir
- [3] Fix Kernel.SpecialForms references in Macro.Env docs ↗ elixir-lang/elixir
- [4] Bump dependencies with security advisories (#6784) phoenixframework/phoenix
- [5] Ensure parent navigation succeeds with a blocked child (#4361) phoenixframework/phoenix_live_view