Skip to content

Releases: centrifugal/centrifuge-swift

0.6.1

13 Jul 04:53
dd8a89b

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

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

Choose a tag to compare

What's Changed

Full Changelog: 0.5.4...0.5.5

0.5.4

16 Sep 06:38
32135c9

Choose a tag to compare

What's Changed

Full Changelog: 0.5.3...0.5.4

0.5.3

08 Sep 16:37
7902f97

Choose a tag to compare

  • Fix: unset refreshRequired flag after getting connection token commit

0.5.2

08 Sep 16:19
6fbd692

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

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

v0.5.0 - new SDK API

20 Jul 07:54
34c84ad

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 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).

Several important changes:

  • new API according to the new SDK API specification
  • all core features of Centrifugal client protocol are now supported
  • delegateQueue to which Client submitted events is removed, it's now up to developer to utilize queues for processing callbacks
  • SDK now uses Swift 5.0

0.4.6

19 May 06:25
828b110

Choose a tag to compare

  • Added data filed to CentrifugeConnectEvent #67

0.4.5

25 Apr 14:29
3f93bb7

Choose a tag to compare

  • Fix crash accessing serverSubs from non-syncQueue #65