Skip to content

v0.10.0

Compare
Choose a tag to compare
@FZambia FZambia released this 29 Jun 05:53
· 11 commits to master since this release
6ef6dc0

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