magic_socket 1.0.0
magic_socket: ^1.0.0 copied to clipboard
Real-time broadcasting for Magic apps: the Echo facade, Reverb and null drivers, private and presence channels.
Changelog #
All notable changes to this project will be documented in this file.
[Unreleased] #
1.0.0 - 2026-11-14 #
Added #
- First release. Real-time broadcasting for Magic apps, moved out of
magiccore 1.0.0. Echofacade: public, private and presence channels over a Laravel Reverb (Pusher protocol) websocket, automatic reconnection, connection state and reconnect streams, and message interceptors.- A
nulldriver andEcho.fake(withpackage:magic_socket/testing.dart) so the same code runs and tests without a server. BroadcastServiceProvider, thebroadcastingConfigconfig factory, theListensToBroadcastscontroller mixin,BroadcastListenersandAuthChannelSubscription.SocketIdInterceptor, which addsX-Socket-IDtoHttprequests so Laravel'stoOthers()skips the sending device.- A
dowelplugin provider (MagicSocketDowelProvider) thatdart run magic:dowel plugin:install magic_socketregisters. - Built on
web_socket_channel^3.0.3 anddowel^1.0.0. Requires Dart 3.13, Flutter 3.47 andmagic^1.0.0.