diff --git a/CHANGELOG.md b/CHANGELOG.md index 297c08b..628419c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +0.7.1 +===== + +* Document `URLSessionWebSocketTask` in readme +* Fix: add `@unknown default` to `URLSessionTask.State` ext switch + 0.7.0 ===== diff --git a/README.md b/README.md index a92c1fb..e37e1e3 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,6 @@ To integrate SwiftCentrifuge into your Xcode project using CocoaPods, specify it pod 'SwiftCentrifuge' ``` -### Carthage - -Add the line `github "centrifugal/centrifuge-swift"` to your `Cartfile`. Then run `carthage update`. - ### Swift Package Manager SwiftCentrifuge is compatible with SPM. If you get a warning complaining about missing pc file, you may need to install `pkg-config`. On macOS, this can be achieved with `brew install pkg-config`. @@ -51,6 +47,10 @@ An [example app](Example) is included demonstrating basic client functionality. When a mobile application goes to the background there are OS-specific limitations for established persistent connections - which can be silently closed shortly. Thus in most cases you need to disconnect from a server when app moves to the background and connect again when app goes to the foreground. +## Using URLSessionWebSocketTask + +See `useNativeWebSocket` option of Client which allows using `URLSessionWebSocketTask` instead of our fork of Starscream v3. Please report if you have successful setup of `centrifuge-swift` with `URLSessionWebSocketTask` – so we could eventually make it default. + ## License SwiftCentrifuge is available under the MIT license. See LICENSE for details. diff --git a/SwiftCentrifuge.podspec b/SwiftCentrifuge.podspec index 711df76..8093dca 100644 --- a/SwiftCentrifuge.podspec +++ b/SwiftCentrifuge.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'SwiftCentrifuge' s.module_name = 'SwiftCentrifuge' s.swift_version = '5.0' - s.version = '0.7.0' + s.version = '0.7.1' s.homepage = 'https://github.com/centrifugal/centrifuge-swift' s.summary = 'Centrifugo and Centrifuge client in Swift'