Releases: davidstump/SwiftPhoenixClient
Releases · davidstump/SwiftPhoenixClient
4.0.0
3.0.0
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 asmessage.payload
forphx_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
anddecoder
to theSocket
class.
2.1.1
2.1.0
Added
- [#187] Public init to
Presence.Options
. Thanks @richard-ash - [#186] Customizable
Configuration
when using URLSessionWebsocket. Thanks @bcardarella
2.0.0
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