Skip to content

Releases: centrifugal/centrifuge-dart

v0.14.0

20 Jan 13:46
daa40bc
Compare
Choose a tag to compare

What's Changed

  • connInfo and chanInfo for join/leave events by @hetao29 #84

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

18 Jan 16:25
e03111c
Compare
Choose a tag to compare
  • Relax Protobuf dependency requirements to be >=2.0.0 <4.0.0 instead of ^3.0.0

v0.12.0

17 Jan 16:49
e4b219c
Compare
Choose a tag to compare

What's Changed

  • Fix websocket usage in web env (fixes The method 'sendByteBuffer' isn't defined for the type 'WebSocket' error), add simple web example #85

Full Changelog: v0.11.0...v0.12.0

v0.11.0

19 Jul 05:57
9ec4956
Compare
Choose a tag to compare

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

29 Jun 05:53
6ef6dc0
Compare
Choose a tag to compare

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

21 May 16:08
a30f603
Compare
Choose a tag to compare

What's Changed

  • Improving reconnect behaviour upon bad network conditions (like connect timeout), #79
  • #79 also handles ClientDisconnectedError in _onPing method, addresses #76

Full Changelog: v0.9.3...v0.9.4

v0.9.3

29 Jan 11:42
dd86c3d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.2...v0.9.3

v0.9.2

16 Sep 10:07
baed042
Compare
Choose a tag to compare
  • Fix null check for close reason, fixes #66
  • Close subscription streams on remove #67

v0.9.1

28 Jul 15:58
0ef776d
Compare
Choose a tag to compare
  • Fix setting initial connection token #63
  • Fix setting connection data #63
  • Fix LateInitializationError if transport is not initialized yet #64
  • Better string representation of UnsubscribedEvent #64

v0.9.0 - new SDK API

20 Jul 07:55
f977999
Compare
Choose a tag to compare

Breaking changes

This release adopts a new iteration of Centrifugal protocol and a new iteration of API. Client now behaves according to the client SDK API specification. The work has been done according to Centrifugo v4 roadmap.

Check out Centrifugo v4 release post that covers the reasoning behind changes.

All the current core features of Centrifugal client protocol are now supported here.

New release only works with Centrifugo >= v4.0.0 and Centrifuge >= 0.25.0. See Centrifugo v4 migration guide for details about the changes in the ecosystem.

Note, that Centrifugo v4 supports clients working over the previous protocol iteration, so you can update Centrifugo to v4 without any changes on the client side (but you need to turn on use_client_protocol_v1_by_default option in the configuration of Centrifugo, see Centrifugo v4 migration guide for details).