Skip to content

Commit

Permalink
prepare 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Oct 8, 2023
1 parent f20d0ca commit 0eca234
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.7.1
=====

* Document `URLSessionWebSocketTask` in readme
* Fix: add `@unknown default` to `URLSessionTask.State` ext switch

0.7.0
=====

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion SwiftCentrifuge.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0eca234

Please sign in to comment.