LR Warble 1.2.2
Flarum 2.0 stable changed how realtime works in several places, and some of those changes stopped things working on forums that use Warble's polling. This release catches up with all of them. If you have upgraded to Flarum 2.0, or plan to, you want this one.
Flarum Deck works again
With Warble enabled, Deck 2.0 would open but nothing in it worked: columns could not be added, filled, resized or moved, and even the forum logo stopped taking you home. The browser console showed s.bind_global is not a function. Deck now loads normally, and new activity appears in its columns live, a few seconds after it happens, without reloading the page.
Thanks to @SpikeNit for the report and for narrowing it down to Warble.
Deck's "who is typing" column fills in
Deck can show a column of everyone currently writing a reply or a new discussion across the forum. Over polling it always said nobody was typing. It now works, and it only shows each viewer what they would be allowed to know anyway: nothing from discussions they can't see, only the tags they can see, and members who hide their online status are named only to groups with the "Always view user last seen time" permission. To use the column, give a group Flarum 2.0's new "See who is typing anywhere on the forum" permission.
Typing in private messages shows again
In Flarum 2.0 private conversations, the "is typing" line never appeared over polling. It works again, and a member who hides their online status is not shown as typing, except to groups with the "Always view user last seen time" permission, the same rule Flarum itself uses.
Leaving a private conversation no longer causes an error
Closing a conversation logged e.unsubscribe is not a function in the browser console. That is gone.
Ready for other realtime extensions too
Several of these problems came from extensions using parts of the realtime connection that Warble did not provide. Warble now provides all of them, so the next extension built on Flarum's realtime should simply work.
Forums still on a Flarum 2.0 release candidate keep working as before. Forums using a websocket server are unaffected.
After updating
No database changes. Clear the cache so browsers get the new code:
php flarum cache:clear
Update
composer update linkrobins/flarum-warble
Release notes on GitHub: https://github.com/linkrobins/warble/releases/tag/v1.2.2
On Packagist: https://packagist.org/packages/linkrobins/flarum-warble