New Client Library SDK
Version 0.1.0 of the Ably Pub/Sub Dart SDK has been released on pub.dev as an early adoption release. The SDK is well-tested and ready to build with. The API is
stable for the majority of use cases, though some changes are possible before 1.0. We'd love to hear feedback from developers building with Dart and Flutter.
The SDK is a pure-Dart implementation that works across Flutter (mobile, desktop, web) and standalone Dart applications. This release covers the core Pub/Sub surface:
REST client — publish messages, retrieve channel history, manage presence, and fetch account stats
Realtime client — persistent connection with full connection state management (connecting, connected, disconnected, suspended, failed)
Authentication — API key, token auth, token request callbacks, and authUrl-based token fetching
MessagePack encoding — binary transport encoding alongside the default JSON encoding
Fallback host support — automatic failover to fallback endpoints on connection failure
Pagination — cursor-based pagination on history, presence, and stats responses
The main entry points are
RestClientandRealtimeClient. A working Flutter example app covering mobile, desktop, and web targets is included in the repository.For the full changelog, see the GitHub release page.
