$ the-wire · showcase
LIVE VIEW 1.2.11 SHIPS, PHX RELEASE SLIMS DOWN
By RepoJournal · Filed · About Elixir & Phoenix
Phoenix LiveView dropped a patch release overnight that kills stale diffs and cancels orphaned tasks, while Phoenix's release generator just got smarter about picking Docker images.
Phoenix LiveView v1.2.11 landed with three bug fixes that touch the sharpest edges of the framework: stale diffs are now discarded when a view rejoins before the initial join completes, and a LiveComponent's async tasks are cancelled the moment it's removed, which should kill a whole class of ghost-process bugs [1]. The formatter also stops migrating expressions that close early, closing issue #4409 [2][3]. Over in Phoenix, the release generator now leans on Bob's API for structured filters and numeric-aware natural sorting instead of running its own version-comparison logic, so `phx.gen.release` picks the newest compatible Elixir/OTP image without the client-side guesswork [4][5]. The same Bob upgrade is reflected in the Web UI links in templates and guides, which now pre-filter by repo and OS and sort newest first [6][7]. The Elixir core repo is quiet, but a PR to widen stacktrace metadata types is open, aiming to match OTP's contract and allow arbitrary keyword metadata in `__STACKTRACE__` and `:erlang.raise/3` [8].
Action items
- → Upgrade phoenix_live_view to v1.2.11 in your next deploy phoenixframework/phoenix_live_view [immediate]
- → Review phx.gen.release output and regenerate Docker tags if you use custom images phoenixframework/phoenix [plan]
- → Watch elixir-lang/elixir PR #15798 for stacktrace metadata changes elixir-lang/elixir [monitor]
References
- [1] v1.2.11 ↗ phoenixframework/phoenix_live_view
- [2] Ensure formatter does not migrate expressions that close early ↗ phoenixframework/phoenix_live_view
- [3] Ensure formatter does not migrate expressions that close early (#4410) phoenixframework/phoenix_live_view
- [4] phx.gen.release: use Bob API structured filters and sorting for Docker tags ↗ phoenixframework/phoenix
- [5] phx.gen.release: use Bob API structured filters and sorting for Docker tags (#6802) phoenixframework/phoenix
- [6] Add filter and sort query parameters to Bob Web UI links (#6805) phoenixframework/phoenix
- [7] Add filter and sort query parameters to Bob Web UI links ↗ phoenixframework/phoenix
- [8] Widen stacktrace extra info types ↗ elixir-lang/elixir