Boards 0.4.3: Live cursors and preferences arrive again
Boards 0.4.3 fixes collaboration on sites where the board’s browser code is delivered at run time: boards opened, edited and saved, but other people’s cursors, shapes in motion and your stored preferences never arrived.
The board sent its preferences and the live channel’s details while the page was still connecting. With hooks delivered at run time, the board’s code loads a moment later and missed both every time. Now the board’s code tells the server when it is ready, and only then receives them. This works the same on sites that register the hooks themselves.
Full release notes: Boards 0.4.3
0.4.3 · 11 August 2026
Fixed
-
Live cursors, in-flight drags and stored preferences never arrived (#6), the third release running whose symptom was “collaboration is broken”. 0.4.1 fixed bundle delivery; this fixes what delivering late does to the join handshake.
Anything
push_event-ed from the connectedmountrides the join reply and is dispatched the moment it lands. That was safe while hooks were registered on the host’s LiveSocket at construction time —mountedhad already run. Under runtime-hook delivery it is a race that is always lost: the shim’smountedstarts a ~40 KB fetch, and the realBoardSync.mounted, wherehandleEvent("board:channel")is registered, runs hundreds of milliseconds later. Both of this board’s mount-time pushes are load-bearing — the ephemeral channel’s token and the user’s preferences — so the board rendered, edited and saved while the collaborative half silently never started. A host log showed 12 successful bundle fetches and zeroBoardSocketconnections.Both hooks now push
board:readyas the last thing theirmounteddoes, and the LiveView answers with the prefs and the channel offer;mount_connectedpushes nothing. Correct under both delivery models — a host-registered hook simply pings a few milliseconds earlier — and any push added later inherits the guarantee instead of quietly reintroducing the race.
Boards 0.4.3. Install or update: {:phoenix_kit_boards, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.