The Wire · Showcase
Phoenix ships emergency fix for Chrome tab resume
By RepoJournal · Filed · About Elixir & Phoenix
Phoenix just dropped v1.8.13 as a patch to reconnect LiveView sockets when Chrome 149+ resumes tabs, and it's the only release that matters today.
Phoenix v1.8.13 is out, and it's a must-have for anyone serving LiveView to mobile users [1]. The release addresses a workaround where Mobile Chrome 149+ would not reconnect after a tab is resumed, an issue that broke live updates for anyone who switched away and came back [2]. The same fix is mirrored in the phoenix_live_view repo, where #6803 closes a related report that otherwise strands users on stale views [3]. The release notes explicitly call it a "Workaround issue where Mobile Chrome 149+ would not reconnect after tab is resumed" [1]. Over on the core Elixir repo, José Valim is chipping away at the warning backlog with a commit to "Fix more warnings during test suite runs" [5]. And in live_view land, preciz optimized the option lookup for live streams by taking options once, a small but welcome efficiency gain [4]. With activity this period at just 4 commits, 2 PRs, and 1 release, this is a tight, focused window: patch phoenix, stay calm elsewhere.
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 to v1.8.13 before your next deploy to fix the Chrome tab resume reconnect issue phoenixframework/phoenix [immediate]
- → Watch for the corresponding phoenix_live_view fix if you track that repo separately phoenixframework/phoenix_live_view [monitor]
- → Review upcoming Elixir warning fixes to keep your build clean elixir-lang/elixir [plan]
References
- [1] v1.8.13 ↗ phoenixframework/phoenix
- [2] handle chrome page resume ↗ phoenixframework/phoenix
- [3] handle chrome page resume (#6803) phoenixframework/phoenix
- [4] Optimize live stream option lookup ↗ phoenixframework/phoenix_live_view
- [5] Fix more warnings during test suite runs elixir-lang/elixir