diff --git a/CHANGELOG.md b/CHANGELOG.md index 380eca93f..70e2edcc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Change Log +## [1.2.11](https://github.com/ably/ably-cocoa/tree/1.2.11) + +[Full Changelog](https://github.com/ably/ably-cocoa/compare/1.2.10...1.2.11) + +**Implemented enhancements:** + +- Add support to get channel lifecycle status [\#1415](https://github.com/ably/ably-cocoa/issues/1415), in: [\#1420](https://github.com/ably/ably-cocoa/pull/1420) ([maratal](https://github.com/maratal)) +- Missing properties in ARTErrorInfo [\#1261](https://github.com/ably/ably-cocoa/issues/1261), in: [\#1304](https://github.com/ably/ably-cocoa/pull/1304) ([maratal](https://github.com/maratal)) +- Missing properties in ARTClientOptions [\#1260](https://github.com/ably/ably-cocoa/issues/1260), in: fallback retry timeout option [\#1290](https://github.com/ably/ably-cocoa/pull/1290) ([maratal](https://github.com/maratal)) +- Feature/1305 symmetric decryption [\#1307](https://github.com/ably/ably-cocoa/pull/1307) ([maratal](https://github.com/maratal)) + +**Fixed bugs:** + +- Mutable `ARTDeviceDetails.metadata` [\#1435](https://github.com/ably/ably-cocoa/issues/1435), fixed in: Added missing `strong` property attributes [\#1434](https://github.com/ably/ably-cocoa/pull/1434) ([maratal](https://github.com/maratal)) +- According to spec, the SDK should be responsible for calling `-[UIApplication registerForRemoteNotifications]`, not the user [\#1271](https://github.com/ably/ably-cocoa/issues/1271), in: Call to the `registerForRemoteNotifications` [\#1293](https://github.com/ably/ably-cocoa/pull/1293) ([maratal](https://github.com/maratal)) + +**Closed issues:** + +- Remove call to `registerForRemoteNotifications` from Basic APNS example [\#1359](https://github.com/ably/ably-cocoa/issues/1359), in: [\#1360](https://github.com/ably/ably-cocoa/pull/1360) ([maratal](https://github.com/maratal)) +- Create simplified ably-cocoa example project for demonstrating push notifications capability [\#1318](https://github.com/ably/ably-cocoa/issues/1318), in: Basic APNS example [\#1319](https://github.com/ably/ably-cocoa/pull/1319) ([maratal](https://github.com/maratal)) + +**Merged pull requests:** + +- Fix symlink command on contributing guide [\#1436](https://github.com/ably/ably-cocoa/pull/1436) ([ikbalkaya](https://github.com/ikbalkaya)) +- Jazzy docs generation workflow [\#1428](https://github.com/ably/ably-cocoa/pull/1428) ([maratal](https://github.com/maratal)) +- Fix nonexistent version number in readme SPM instructions [\#1324](https://github.com/ably/ably-cocoa/pull/1324) ([lawrence-forooghian](https://github.com/lawrence-forooghian)) + ## [1.2.10](https://github.com/ably/ably-cocoa/tree/1.2.10) [Full Changelog](https://github.com/ably/ably-cocoa/compare/1.2.9...1.2.10) diff --git a/README.md b/README.md index e1ddfeb2f..5e5fd83c7 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ You can install Ably for iOS and macOS through Package Manager, CocoaPods, Carth - [This apple guide](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app) explains the steps in more detail. - To install the `ably-cocoa` package in another **Swift Package**, then add the following to your `Package.Swift`: ```swift - .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.10"), + .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.11"), ``` ### Installing through [CocoaPods](https://cocoapods.org/) @@ -103,7 +103,7 @@ If you see, for example, a `dyld: Library not loaded: @rpath/AblyDeltaCodec.fram ### Manual installation -1. Get the code from GitHub [from the release page](https://github.com/ably/ably-cocoa/releases/tag/1.2.10), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-cocoa.git` +1. Get the code from GitHub [from the release page](https://github.com/ably/ably-cocoa/releases/tag/1.2.11), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-cocoa.git` 2. Drag the directory `ably-cocoa/ably-cocoa` into your project as a group. 3. Ably depends on our [MessagePack Fork](https://github.com/ably-forks/msgpack-objective-C) 0.2.0; get it [from the releases page](https://github.com/ably-forks/msgpack-objective-C/releases/tag/0.2.0-ably-1) and link it into your project. diff --git a/Scripts/jazzy.sh b/Scripts/jazzy.sh index 63e682176..369eb7689 100755 --- a/Scripts/jazzy.sh +++ b/Scripts/jazzy.sh @@ -7,7 +7,7 @@ jazzy \ --objc \ --clean \ --author Ably \ - --module-version 1.2.10 \ + --module-version 1.2.11 \ --umbrella-header Source/Ably.h \ --framework-root . \ --module Ably \ diff --git a/Source/ARTDefault.m b/Source/ARTDefault.m index 49775c2ec..5c3f05c87 100644 --- a/Source/ARTDefault.m +++ b/Source/ARTDefault.m @@ -9,7 +9,7 @@ static inline UInt32 conformVersionComponent(const NSInteger component) { } NSString *const ARTDefault_apiVersion = @"1.2"; -NSString *const ARTDefault_libraryVersion = @"1.2.10"; +NSString *const ARTDefault_libraryVersion = @"1.2.11"; NSString *const ARTDefaultProduction = @"production"; diff --git a/Spec/Tests/ARTDefaultTests.swift b/Spec/Tests/ARTDefaultTests.swift index 0d371db70..ce04a9251 100644 --- a/Spec/Tests/ARTDefaultTests.swift +++ b/Spec/Tests/ARTDefaultTests.swift @@ -6,6 +6,6 @@ class ARTDefaultTests: XCTestCase { func testVersions() { XCTAssertEqual(ARTDefault.apiVersion(), "1.2") - XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.10") + XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.11") } } diff --git a/Spec/Tests/RealtimeClientConnectionTests.swift b/Spec/Tests/RealtimeClientConnectionTests.swift index bae749596..a0bed3d3b 100644 --- a/Spec/Tests/RealtimeClientConnectionTests.swift +++ b/Spec/Tests/RealtimeClientConnectionTests.swift @@ -378,7 +378,7 @@ class RealtimeClientConnectionTests: XCTestCase { done() case .connected: if let transport = client.internal.transport as? TestProxyTransport, let query = transport.lastUrl?.query { - expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.10")) + expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.11")) } else { XCTFail("MockTransport isn't working") } diff --git a/Spec/Tests/RestClientTests.swift b/Spec/Tests/RestClientTests.swift index 55cafde49..212ac22b1 100644 --- a/Spec/Tests/RestClientTests.swift +++ b/Spec/Tests/RestClientTests.swift @@ -1668,7 +1668,7 @@ class RestClientTests: XCTestCase { let headerAgent = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["Ably-Agent"] let ablyAgent = options.agents() expect(headerAgent).to(equal(ablyAgent)) - expect(headerAgent!.hasPrefix("ably-cocoa/1.2.10")).to(beTrue()) + expect(headerAgent!.hasPrefix("ably-cocoa/1.2.11")).to(beTrue()) done() } } diff --git a/Version.xcconfig b/Version.xcconfig index 927507083..3f1a653f2 100644 --- a/Version.xcconfig +++ b/Version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 1.2.10 +CURRENT_PROJECT_VERSION = 1.2.11