From c6cde4ea0be8525a0467c7f48ceb793c8d28c017 Mon Sep 17 00:00:00 2001 From: evgeny Date: Thu, 9 Jul 2026 16:21:12 +0100 Subject: [PATCH 1/2] Bump version to 1.2.62. --- README.md | 2 +- Scripts/jazzy.sh | 2 +- Source/ARTClientInformation.m | 2 +- Test/AblyTests/Tests/ARTDefaultTests.swift | 2 +- Test/AblyTests/Tests/ClientInformationTests.swift | 6 +++--- Test/AblyTests/Tests/RealtimeClientConnectionTests.swift | 2 +- Test/AblyTests/Tests/RestClientTests.swift | 2 +- Test/AblyTests/Tests/WrapperSDKProxyTests.swift | 6 +++--- Version.xcconfig | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 2af410221..96a7a6728 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ To install the `ably-cocoa` package in your Xcode project: To install the `ably-cocoa` package in another Swift package, add the following to your `Package.Swift`: ```swift - .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.61"), + .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.62"), ``` See Apple's [adding package dependencies to your app](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app) guide for more detail. diff --git a/Scripts/jazzy.sh b/Scripts/jazzy.sh index 9d6489a37..286bc1b6d 100755 --- a/Scripts/jazzy.sh +++ b/Scripts/jazzy.sh @@ -17,7 +17,7 @@ bundle exec jazzy \ --objc \ --clean \ --author Ably \ - --module-version 1.2.61 \ + --module-version 1.2.62 \ --umbrella-header Source/include/Ably/AblyPublic.h \ --framework-root Source \ --module Ably \ diff --git a/Source/ARTClientInformation.m b/Source/ARTClientInformation.m index a6ae2d88b..aa7a41a07 100644 --- a/Source/ARTClientInformation.m +++ b/Source/ARTClientInformation.m @@ -6,7 +6,7 @@ #import NSString *const ARTClientInformationAgentNotVersioned = @"ARTClientInformationAgentNotVersioned"; -NSString *const ARTClientInformation_libraryVersion = @"1.2.61"; +NSString *const ARTClientInformation_libraryVersion = @"1.2.62"; static NSString *const _libraryName = @"ably-cocoa"; // NSOperatingSystemVersion has NSInteger as version components for some reason, so mitigate it here. diff --git a/Test/AblyTests/Tests/ARTDefaultTests.swift b/Test/AblyTests/Tests/ARTDefaultTests.swift index 7534edcf8..0147e69aa 100644 --- a/Test/AblyTests/Tests/ARTDefaultTests.swift +++ b/Test/AblyTests/Tests/ARTDefaultTests.swift @@ -6,6 +6,6 @@ class ARTDefaultTests: XCTestCase { func testVersions() { XCTAssertEqual(ARTDefault.apiVersion(), "6") - XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.61") + XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.62") } } diff --git a/Test/AblyTests/Tests/ClientInformationTests.swift b/Test/AblyTests/Tests/ClientInformationTests.swift index e7bdd7a16..b2b4f8476 100644 --- a/Test/AblyTests/Tests/ClientInformationTests.swift +++ b/Test/AblyTests/Tests/ClientInformationTests.swift @@ -9,7 +9,7 @@ final class ClientInformationTests: XCTestCase { XCTAssertEqual(agents.keys.count, 2) - XCTAssertEqual(agents["ably-cocoa"], "1.2.61") + XCTAssertEqual(agents["ably-cocoa"], "1.2.62") #if os(iOS) XCTAssertTrue(agents.keys.contains("iOS")) @@ -27,7 +27,7 @@ final class ClientInformationTests: XCTestCase { // CR3, CR3b func testAgentIdentifierWithAdditionalAgents_withNilAdditionalAgents() { let expectedIdentifier = [ - "ably-cocoa/1.2.61", + "ably-cocoa/1.2.62", ARTDefault.platformAgent() ].sorted().joined(separator: " ") @@ -42,7 +42,7 @@ final class ClientInformationTests: XCTestCase { ] let expectedIdentifier = [ - "ably-cocoa/1.2.61", + "ably-cocoa/1.2.62", "demolib/0.0.1", "morelib", ARTDefault.platformAgent() diff --git a/Test/AblyTests/Tests/RealtimeClientConnectionTests.swift b/Test/AblyTests/Tests/RealtimeClientConnectionTests.swift index b3de291ad..14448298e 100644 --- a/Test/AblyTests/Tests/RealtimeClientConnectionTests.swift +++ b/Test/AblyTests/Tests/RealtimeClientConnectionTests.swift @@ -372,7 +372,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.61")) + expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.62")) } else { XCTFail("MockTransport isn't working") } diff --git a/Test/AblyTests/Tests/RestClientTests.swift b/Test/AblyTests/Tests/RestClientTests.swift index 8cd66ec9d..467524dce 100644 --- a/Test/AblyTests/Tests/RestClientTests.swift +++ b/Test/AblyTests/Tests/RestClientTests.swift @@ -1767,7 +1767,7 @@ class RestClientTests: XCTestCase { let headerAgent = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["Ably-Agent"] let ablyAgent = ARTClientInformation.agentIdentifier(withAdditionalAgents: options.agents) XCTAssertEqual(headerAgent, ablyAgent) - XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.61")) + XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.62")) done() } } diff --git a/Test/AblyTests/Tests/WrapperSDKProxyTests.swift b/Test/AblyTests/Tests/WrapperSDKProxyTests.swift index 79e5f8e59..f3a5b7017 100644 --- a/Test/AblyTests/Tests/WrapperSDKProxyTests.swift +++ b/Test/AblyTests/Tests/WrapperSDKProxyTests.swift @@ -226,7 +226,7 @@ class WrapperSDKProxyTests: XCTestCase { let request = try XCTUnwrap(testHTTPExecutor.requests.first) let expectedIdentifier = [ - "ably-cocoa/1.2.61", + "ably-cocoa/1.2.62", ARTDefault.platformAgent(), "my-wrapper-sdk/1.0.0" ].sorted().joined(separator: " ") @@ -316,7 +316,7 @@ class WrapperSDKProxyTests: XCTestCase { XCTAssertEqual(testHTTPExecutor.requests.count, 3) // initial `request()`, `first()`, `next()` let expectedIdentifier = [ - "ably-cocoa/1.2.61", + "ably-cocoa/1.2.62", ARTDefault.platformAgent(), "my-wrapper-sdk/1.0.0" ].sorted().joined(separator: " ") @@ -350,7 +350,7 @@ class WrapperSDKProxyTests: XCTestCase { XCTAssertEqual(testHTTPExecutor.requests.count, expectedRequestCount) let expectedIdentifier = [ - "ably-cocoa/1.2.61", + "ably-cocoa/1.2.62", ARTDefault.platformAgent(), "my-wrapper-sdk/1.0.0" ].sorted().joined(separator: " ") diff --git a/Version.xcconfig b/Version.xcconfig index 677e93be1..712ef02e8 100644 --- a/Version.xcconfig +++ b/Version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 1.2.61 +CURRENT_PROJECT_VERSION = 1.2.62 From b6fa1252556fa06680258d39977b21615d976125 Mon Sep 17 00:00:00 2001 From: evgeny Date: Thu, 9 Jul 2026 16:24:55 +0100 Subject: [PATCH 2/2] Update change log. --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9866dec4..885647964 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [1.2.62](https://github.com/ably/ably-cocoa/tree/1.2.62) + +### What's Changed + +* Add API for registering Live Activity push-to-start token by @ttypic in https://github.com/ably/ably-cocoa/pull/2219 + +**Full Changelog**: https://github.com/ably/ably-cocoa/compare/1.2.61...1.2.62 + ## [1.2.61](https://github.com/ably/ably-cocoa/tree/1.2.61) ### What's Changed