Skip to content

Releases: davidstump/SwiftPhoenixClient

4.0.0

07 Feb 16:46
Compare
Choose a tag to compare

Updated to RxSwift 6

3.0.0

05 Nov 16:08
Compare
Choose a tag to compare

This is a BREAKING release. The following has changed to properly matched the phoenix.js library

  • message.payload.response is now automatically unwrapped and returned as message.payload for phx_reply events.
  • The client now, by default, uses the JSON V2 Serializer which was added in phoenix 1.3. If you are still running 1.2 or earlier, then you will need to continue using SwiftPhoenixClient 2.x, or provide your own custom vsn, encoder and decoder to the Socket class.

2.1.1

24 Aug 15:27
Compare
Choose a tag to compare

Added

  • [#195] Fixed thread safety crash in HeartbeatTimer

2.1.0

10 Jun 16:40
Compare
Choose a tag to compare

Added

2.0.0

20 May 18:10
Compare
Choose a tag to compare

Added

  • RxSwift Support for listening to channel events
  • URLSessionWebsocketTask Support
  • Starscream as an optional module for Apps targeting iOS < 13
  • Transport layer to allow for different Websocket implementations under the hood
  • Support for MacOS, WatchOS, and tvOS

Fixed

  • Fixed duplicate rejoins causing a channel to remain unjoined

Breaking

The default Socket init that comes with SwiftPhoenixClient now uses URLSessionWebsocketTask which requires iOS 13. If you are targeting < iOS 13, then you also need to include StarscreamSwiftPhoenixClient as a dependency

1.2.0

23 Dec 15:46
Compare
Choose a tag to compare

Added

  • #153 - Ability to initialize a Socket with a paramsClosure which allows for dynamically setting params during connect and `reconnect

Fixed

  • Issues with adding the client via SPM

1.1.1

03 Sep 19:05
Compare
Choose a tag to compare

Added

  • #141 - tvOS support

Changed

  • #145 - Socket reconnect strategy
  • #146 - Channel rejoin strategy

1.1.0

29 May 14:53
Compare
Choose a tag to compare

Swift 5

1.0.1

09 Apr 13:25
Compare
Choose a tag to compare

Fixed minor issue with Carthage installs

1.0.0

09 Apr 13:18
Compare
Choose a tag to compare

🎉 Version 1.0

Includes

  • Large refactoring of Socket and Channel classes
  • Full Presence support
  • extensive test coverage
  • Optional retain cycle handling