diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f6efe9c..572f88f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/pusher/pusher-websocket-swift/compare/9.1.1...HEAD) +## [Unreleased](https://github.com/pusher/pusher-websocket-swift/compare/9.2.0...HEAD) + +## [9.2.0](https://github.com/pusher/pusher-websocket-swift/compare/9.1.1...9.2.0) - 2021-01-15 + +### Added + +- Added an optional `path` parameter to `PusherClientOptions` to specify custom additional path components. + +### Changed + +- All debugging messages are now sent via `debugLog(message: String)` (previously there were some messages which weren't sent this way). + +### Fixed + +- The `subscribed` parameter on a `PusherChannel` is now set to `false` when calling `unsubscribe(_ channelName: String)`. +- Enhanced thread safety for common operations: subscribing / unsubscribing with channels, and binding / unbinding with events. ## [9.1.1](https://github.com/pusher/pusher-websocket-swift/compare/9.1.0...9.1.1) - 2020-12-15 diff --git a/PusherSwift.podspec b/PusherSwift.podspec index f191558c..cb346c3e 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwift' - s.version = '9.1.1' + s.version = '9.2.0' s.summary = 'A Pusher client library in Swift' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/PusherSwiftWithEncryption.podspec b/PusherSwiftWithEncryption.podspec index 2f8a5c51..4ce5b05c 100644 --- a/PusherSwiftWithEncryption.podspec +++ b/PusherSwiftWithEncryption.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwiftWithEncryption' - s.version = '9.1.1' + s.version = '9.2.0' s.summary = 'A Pusher client library in Swift that supports encrypted channels' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/README.md b/README.md index 19d81b0e..93c4f50b 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ let package = Package( targets: ["YourPackage"]), ], dependencies: [ - .package(url: "https://github.com/pusher/pusher-websocket-swift.git", from: "9.1.1"), + .package(url: "https://github.com/pusher/pusher-websocket-swift.git", from: "9.2.0"), ], targets: [ .target( diff --git a/Sources/Info.plist b/Sources/Info.plist index d5383ef8..b2a106dc 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 9.1.1 + 9.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/PusherSwift.swift b/Sources/PusherSwift.swift index eef60c15..f3b3364f 100644 --- a/Sources/PusherSwift.swift +++ b/Sources/PusherSwift.swift @@ -2,7 +2,7 @@ import Foundation import NWWebSocket let PROTOCOL = 7 -let VERSION = "9.1.1" +let VERSION = "9.2.0" // swiftlint:disable:next identifier_name let CLIENT_NAME = "pusher-websocket-swift" diff --git a/Tests/Info.plist b/Tests/Info.plist index 984319bc..5fee436f 100644 --- a/Tests/Info.plist +++ b/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 9.1.1 + 9.2.0 CFBundleSignature ???? CFBundleVersion diff --git a/Tests/Integration/PusherClientInitializationTests.swift b/Tests/Integration/PusherClientInitializationTests.swift index 266f537f..a5b944bc 100644 --- a/Tests/Integration/PusherClientInitializationTests.swift +++ b/Tests/Integration/PusherClientInitializationTests.swift @@ -2,7 +2,7 @@ import XCTest @testable import PusherSwift -let VERSION = "9.1.1" +let VERSION = "9.2.0" class ClientInitializationTests: XCTestCase { var key: String!