diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cae96e..87d9c8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. The format This product uses [Semantic Versioning](https://semver.org/). +## 5.2.0 +* Added `connectionState` to `Socket` which exposes the Socket's ready state + ## 5.2.0 * [#226](https://github.com/davidstump/SwiftPhoenixClient/pull/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 diff --git a/README.md b/README.md index 16023b2..6d696d1 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ _Note: Instructions below are for using **SwiftPM** without the Xcode UI. It's t To integrate using Apple's Swift package manager, without Xcode integration, add the following as a dependency to your `Package.swift`: ```swift -.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "5.2.0")) +.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "5.2.1")) ``` and then specify `"SwiftPhoenixClient"` as a dependency of the Target in which you wish to use SwiftPhoenixClient. diff --git a/SwiftPhoenixClient.podspec b/SwiftPhoenixClient.podspec index f3838fc..200d1ae 100644 --- a/SwiftPhoenixClient.podspec +++ b/SwiftPhoenixClient.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "SwiftPhoenixClient" - s.version = "5.2.0" + s.version = "5.2.1" s.summary = "Connect your Phoenix and iOS applications through WebSockets!" s.swift_version = "5.0" s.description = <<-EOS