The Wire · Showcase
LiveView crash fix lands as Elixir corrects Greek casing
By RepoJournal · Filed · About Elixir & Phoenix
Phoenix LiveView patches a stale-diff crash while Elixir fixes final sigma casing in Greek strings.
Phoenix LiveView is patching a crash that could occur when a view rejoined before pending diffs were applied, which could "try to apply a stale diff to a new tree and crash" [1]. The same PR also discards outdated pending diffs, ensuring only fresh state reaches the client [1]. In a related cleanup, async tasks of components removed from the tree are now properly canceled, closing issue #4401 [2]. Meanwhile, Elixir's standard library fixes Greek final sigma handling: `String.downcase("AΣ", :greek)` now returns `"aς"` instead of `"aσ"`, and `String.capitalize/2` gets the same correction [3]. A PR unifying map domain type lookup simplifies the codebase [4], and a separate PR fixes warnings when running tests [5]. With 12 commits and 8 PRs across both repos, this is a focused day of correctness fixes. LiveView users should upgrade to get the crash fix, and Elixir maintainers should review the sigma patch.
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
- → Upgrade phoenix_live_view to a version including PR #4405 before next deploy phoenixframework/phoenix_live_view [immediate]
- → Review and test the Greek final sigma fix in your Elixir project elixir-lang/elixir [plan]
- → Monitor the async task cancellation change for any impact on component cleanup phoenixframework/phoenix_live_view [monitor]
References
- [1] Tag pending diffs and discard outdated ones ↗ phoenixframework/phoenix_live_view
- [2] Cancel async tasks of components removed from the tree phoenixframework/phoenix_live_view
- [3] Fix final sigma handling in :greek ↗ elixir-lang/elixir
- [4] Unify map domain type lookup (#15789) elixir-lang/elixir
- [5] Fix warnings when running tests elixir-lang/elixir