Skip to content

Releases: centrifugal/centrifuge-swift

0.3.1

03 Feb 21:23
Compare
Choose a tag to compare
  • Fix internal error handling in subscription reply – now properly reconnect upon internal error received.

0.3.0

18 Jan 22:00
Compare
Choose a tag to compare
  • Message recovery support for client-side subscriptions. See #39. Thanks to Anton Selyanin.
  • update protobuf definitions

0.2.2

15 Jan 18:11
Compare
Choose a tag to compare
  • Add initial WebSocket reconnection delay (mitigating issues with Starscream connect timeout). Thanks to Anton Selyanin.

0.2.1

05 Jan 18:25
Compare
Choose a tag to compare
  • Fix refresh token task retain cycle #38

0.2.0

15 Nov 10:20
Compare
Choose a tag to compare

A couple of new methods added to Client.

  • Client.getSubscription(channel: String) -> CentrifugeSubscription? to get Subscription from internal client registry
  • Client.removeSubscription(_ sub: CentrifugeSubscription) to tell Client that Subscription should be removed from internal registry. Subscription will be automatically unsubscribed before removing.

See more details in the pull request #36. In short, subscription removing can be helpful if you work with lots of short-living subscriptions to different channels to prevent unlimited internal Subscription registry growth.