Boards 0.4.7: Collaboration starts on hosts with automatic hook delivery
Boards 0.4.7 fixes boards on sites that receive the module’s browser code at run time: collaboration, saved preferences and uploads to storage did not start there.
The hooks now set up their helper methods before they mount, so they no longer fail on a missing method. The hook scripts loaded this way also carry the page’s CSP nonce.
Other fixes for boards with several people on them:
- While the board reconnects, cursor and stroke traffic is dropped, so buffered strokes are not replayed afterwards.
- A repeated reply that restores shapes no longer adds them twice or overwrites later edits.
- A late frame from an older stroke can no longer replace a newer one, and closing a board removes leftover in-progress strokes.
Full release notes: Boards 0.4.7
0.4.7 · 1 October 2026
Fixed
- Runtime hooks now install their helper methods before mounting. Hosts using automatic hook delivery previously hit missing-method errors, preventing collaboration, preference loading and the storage upload integration.
- The dynamically loaded hook bundle inherits the supplied CSP nonce.
- Ephemeral traffic is dropped while the channel is rejoining, even when its WebSocket has already reconnected, preventing buffered stroke replay.
- Repeated stale-list restore replies no longer append duplicate shapes or overwrite edits made after the first restore.
- Delayed frames and end messages from older strokes cannot replace or retire a newer stroke. Closing a board cancels its ghost timers and retires ghosts.
Boards 0.4.7. Install or update: {:phoenix_kit_boards, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.