Releases: centrifugal/centrifuge-swift
0.7.2
0.7.1
0.7.0
What's Changed
- Add alternative websocket implementation via URLSessionWebSocketTask by @antonselyanin in #84
- Prevent memory leaks when passing token getters by @YoavGro in #92
Full Changelog: 0.6.1...0.7.0
0.6.1
0.6.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 CentrifugeConnectionTokenGetter
callback resulted in client disconnection with unauthorized reason.
Now returning an empty string from CentrifugeConnectionTokenGetter
is a valid scenario which won't result into disconnect on the client side. It's still possible to disconnect client by returning a special CentrifugeError.unauthorized
from CentrifugeConnectionTokenGetter
.
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: 0.5.5...0.6.0
0.5.5
What's Changed
- Improve logger API: replace String with StaticString by @antonselyanin in #74
Full Changelog: 0.5.4...0.5.5
0.5.4
What's Changed
- Add centrifuge logger interface by @antonselyanin in #73
- Example app: replace CocoaPods with SPM by @antonselyanin in #72
Full Changelog: 0.5.3...0.5.4