Skip to content

Releases: davidstump/SwiftPhoenixClient

5.3.2

12 Mar 13:05
Compare
Choose a tag to compare

What's Changed

  • Prevent crashes caused by threading issues by @ejensen in #252

Full Changelog: 5.3.1...5.3.2

5.3.1

29 Sep 02:22
Compare
Choose a tag to compare
  • Added socket.headers which will be added to the URLRequest when opening a WebSocket connection
  • Using thread-safe array for Socket callback bindings, fixing a crash when creating a channel
  • Breaking a retain cycle in socket

5.3.0

13 Apr 00:33
Compare
Choose a tag to compare
  • Fix retain cycles in URLSessionTransport and using default operation queue
  • Adding an optional leeway to the HeartbeatTimer
  • Added additional open methods in URLSessionTransport for further customization
  • Using a thread-safe array for Channel bindings

Thanks @ejensen for several of these additions

5.2.2

07 Mar 15:38
Compare
Choose a tag to compare
  • Changed URLSessionTransport to open to provide for custom behavior, such as SSL Pinning

5.2.1

27 Feb 15:58
Compare
Choose a tag to compare
  • Added connectionState to Socket to expose the Socket's readyState

5.2.0

24 Feb 16:05
Compare
Choose a tag to compare

[#226] - Adds URLResponse as an optional value in socket.onError callbacks to allow for checking status codes from the server when the Socket connection errors out. See Examples in PR for more details

NOTE Upgrading to this version may throw a syntax error depending on how you've implemented your onError handlers.

5.1.0

09 Mar 13:47
Compare
Choose a tag to compare
  • Improved reconnect logic when a heartbeat times out

5.0.0

07 Feb 16:48
Compare
Choose a tag to compare
  • Removed RxSwift as a dependency
  • Removed Starscream as a dependency

These extensions will now be available under

RxSwift - https://github.com/dsrees/RxSwiftPhoenixClient
Starscream - Coming Soon

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.