Skip to content

Releases: centrifugal/centrifuge-swift

0.7.2

19 Jul 06:43
b3ed837
Compare
Choose a tag to compare

What's Changed

  • Compatibility with SwiftProtobuf 1.27.0 and older versions by @FZambia in #102

Full Changelog: 0.7.1...0.7.2

0.7.1

08 Oct 12:23
0eca234
Compare
Choose a tag to compare

What's Changed

  • Document URLSessionWebSocketTask in readme
  • fix: add @unknown default to URLSessionTask.State ext switch by @FZambia in #97

Full Changelog: 0.7.0...0.7.1

0.7.0

07 Oct 06:31
09d0dc6
Compare
Choose a tag to compare

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

13 Jul 04:53
dd8a89b
Compare
Choose a tag to compare

What's Changed

  • Make info field of CentrifugePublicationEvent and CentrifugeServerPublicationEvent public by @YoavGro in #91

New Contributors

Full Changelog: 0.6.0...0.6.1

0.6.0

29 Jun 05:54
8a0c56a
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 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

22 Sep 08:52
6426966
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.4...0.5.5

0.5.4

16 Sep 06:38
32135c9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.3...0.5.4

0.5.3

08 Sep 16:37
7902f97
Compare
Choose a tag to compare
  • Fix: unset refreshRequired flag after getting connection token commit

0.5.2

08 Sep 16:19
6fbd692
Compare
Choose a tag to compare
  • Fix connect when initial connection token not set but tokenGetter provided #71

v0.5.1

06 Sep 06:54
0fb098c
Compare
Choose a tag to compare
  • Fix crashes caused by non-synchronized memory access upon getting no ping disconnect
  • Fix issuing duplicate connecting state change events