Releases: centrifugal/centrifuge-dart
v0.15.0
What's Changed
- Update
web_socket_channel
, min Dart SDK is now 3.3 #91 - Support headers emulation in web context - so it's possible to pass custom connection headers to the backend when using Centrifugo v6 and connect proxy. Also added
setHeaders
method to update headers #92.
This release changes headers
in ClientConfig
from Map<String, dynamic>
to Map<String, String>
. This is a breaking change, but it must not cause huge troubles beyond a simple refactoring.
Usages of dart.html
were removed in this release. Also some internal optimizations were done to allocate less when constructing Protobuf command data.
Full Changelog: v0.14.1...v0.15.0
v0.14.1
v0.14.0
v0.13.0
v0.12.0
v0.11.0
What's Changed
- Update protobuf dependency from
^2.0.0
to^3.0.0
- Update SDK requirement to
'>=2.19.0 <4.0.0'
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
Breaking change! This release changes the semantics of working with connection tokens described in Centrifugo v5 release post.
Previously, returning an empty token string from getToken
callback resulted in client disconnection with unauthorized reason.
Now returning an empty string from getToken
is a valid scenario which won't result into disconnect on the client side. It's still possible to disconnect client by throwing a special UnauthorizedException
from getToken
function.
And we are putting back setToken
method to the SDK – so it's now possible to reset the token to be empty upon user logout.
Full Changelog: v0.9.4...v0.10.0
v0.9.4
v0.9.3
What's Changed
- feat: add web support by @robert-virkus in #73
- feat: allow users to run examples by @robert-virkus in #72
New Contributors
- @robert-virkus made their first contribution in #72
Full Changelog: v0.9.2...v0.9.3