diff --git a/CHANGELOG.md b/CHANGELOG.md index e118a596..3cd9f6fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.1.0 + +* Fix bug in NativePusher where subscription modification requests would fail but not call the appropriate branch of the `guard` statement +* Add `PusherDelegate`, which includes optional functions related to Push Notification-related events +* Added TaskQueue and refactored how subscribe / unsubscribe events are sent to the Push Notifications service (to make it thread-safe) +* Added tests for NativePusher-related code paths + ## 3.0.0 * Update to work with Swift 3 @@ -84,8 +91,6 @@ ## 0.1.7 -###### Misc - * Add support for tvOS as platform ([@goose2460](https://github.com/goose2460)) * Update CryptoSwift to 0.2.2 ([@goose2460](https://github.com/goose2460)) * Update ReachabilitySwift to 2.3.3 ([@goose2460](https://github.com/goose2460)) @@ -93,8 +98,6 @@ ## 0.1.6 -###### Misc - * Fixed build errors with Carthage * Rename `Source` to `Sources` in order to work with Swift Package Manager (in principle) * Make headers for PusherSwift and PusherSwiftTests targets public diff --git a/PusherSwift.podspec b/PusherSwift.podspec index d2c30595..a55fe9c1 100644 --- a/PusherSwift.podspec +++ b/PusherSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PusherSwift' - s.version = '3.0.0' + s.version = '3.1.0' s.summary = 'A Pusher client library in Swift' s.homepage = 'https://github.com/pusher/pusher-websocket-swift' s.license = 'MIT' diff --git a/Source/Info.plist b/Source/Info.plist index e0f4bf77..543e5f92 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.0.0 + 3.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/Source/PusherSwift.swift b/Source/PusherSwift.swift index 1ba9f7cf..edef7d6d 100644 --- a/Source/PusherSwift.swift +++ b/Source/PusherSwift.swift @@ -8,7 +8,7 @@ import Foundation let PROTOCOL = 7 -let VERSION = "3.0.0" +let VERSION = "3.1.0" let CLIENT_NAME = "pusher-websocket-swift" @objc open class Pusher: NSObject { diff --git a/Tests/PusherClientInitializationTests.swift b/Tests/PusherClientInitializationTests.swift index cbb1b278..d053eff8 100644 --- a/Tests/PusherClientInitializationTests.swift +++ b/Tests/PusherClientInitializationTests.swift @@ -9,7 +9,7 @@ import PusherSwift import XCTest -let VERSION = "3.0.0" +let VERSION = "3.1.0" class ClientInitializationTests: XCTestCase { var key: String!