Skip to content

Commit 14d2661

Browse files
authored
Merge pull request #2192 from ably/release-1.2.58
Release 1.2.58
2 parents 4bd83ea + 9b04154 commit 14d2661

File tree

10 files changed

+21
-13
lines changed

10 files changed

+21
-13
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [1.2.58](https://github.com/ably/ably-cocoa/tree/1.2.58)
4+
5+
### What's Changed
6+
7+
* Decode and encode extras on presence messages (TP3i) by @AndyTWF in https://github.com/ably/ably-cocoa/pull/2186
8+
9+
**Full Changelog**: https://github.com/ably/ably-cocoa/compare/1.2.57...1.2.58
10+
311
## [1.2.57](https://github.com/ably/ably-cocoa/tree/1.2.57)
412

513
### What's Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To install the `ably-cocoa` package in your Xcode project:
6060
To install the `ably-cocoa` package in another Swift package, add the following to your `Package.Swift`:
6161

6262
```swift
63-
.package(url: "https://github.com/ably/ably-cocoa", from: "1.2.57"),
63+
.package(url: "https://github.com/ably/ably-cocoa", from: "1.2.58"),
6464
```
6565

6666
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.

Scripts/jazzy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bundle exec jazzy \
1717
--objc \
1818
--clean \
1919
--author Ably \
20-
--module-version 1.2.57 \
20+
--module-version 1.2.58 \
2121
--umbrella-header Source/include/Ably/AblyPublic.h \
2222
--framework-root Source \
2323
--module Ably \

Source/ARTClientInformation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#import <sys/utsname.h>
77

88
NSString *const ARTClientInformationAgentNotVersioned = @"ARTClientInformationAgentNotVersioned";
9-
NSString *const ARTClientInformation_libraryVersion = @"1.2.57";
9+
NSString *const ARTClientInformation_libraryVersion = @"1.2.58";
1010
static NSString *const _libraryName = @"ably-cocoa";
1111

1212
// NSOperatingSystemVersion has NSInteger as version components for some reason, so mitigate it here.

Test/AblyTests/Tests/ARTDefaultTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class ARTDefaultTests: XCTestCase {
66

77
func testVersions() {
88
XCTAssertEqual(ARTDefault.apiVersion(), "5")
9-
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.57")
9+
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.58")
1010
}
1111
}

Test/AblyTests/Tests/ClientInformationTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ final class ClientInformationTests: XCTestCase {
99

1010
XCTAssertEqual(agents.keys.count, 2)
1111

12-
XCTAssertEqual(agents["ably-cocoa"], "1.2.57")
12+
XCTAssertEqual(agents["ably-cocoa"], "1.2.58")
1313

1414
#if os(iOS)
1515
XCTAssertTrue(agents.keys.contains("iOS"))
@@ -27,7 +27,7 @@ final class ClientInformationTests: XCTestCase {
2727
// CR3, CR3b
2828
func testAgentIdentifierWithAdditionalAgents_withNilAdditionalAgents() {
2929
let expectedIdentifier = [
30-
"ably-cocoa/1.2.57",
30+
"ably-cocoa/1.2.58",
3131
ARTDefault.platformAgent()
3232
].sorted().joined(separator: " ")
3333

@@ -42,7 +42,7 @@ final class ClientInformationTests: XCTestCase {
4242
]
4343

4444
let expectedIdentifier = [
45-
"ably-cocoa/1.2.57",
45+
"ably-cocoa/1.2.58",
4646
"demolib/0.0.1",
4747
"morelib",
4848
ARTDefault.platformAgent()

Test/AblyTests/Tests/RealtimeClientConnectionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class RealtimeClientConnectionTests: XCTestCase {
372372
done()
373373
case .connected:
374374
if let transport = client.internal.transport as? TestProxyTransport, let query = transport.lastUrl?.query {
375-
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.57"))
375+
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.58"))
376376
} else {
377377
XCTFail("MockTransport isn't working")
378378
}

Test/AblyTests/Tests/RestClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ class RestClientTests: XCTestCase {
17671767
let headerAgent = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["Ably-Agent"]
17681768
let ablyAgent = ARTClientInformation.agentIdentifier(withAdditionalAgents: options.agents)
17691769
XCTAssertEqual(headerAgent, ablyAgent)
1770-
XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.57"))
1770+
XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.58"))
17711771
done()
17721772
}
17731773
}

Test/AblyTests/Tests/WrapperSDKProxyTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class WrapperSDKProxyTests: XCTestCase {
226226
let request = try XCTUnwrap(testHTTPExecutor.requests.first)
227227

228228
let expectedIdentifier = [
229-
"ably-cocoa/1.2.57",
229+
"ably-cocoa/1.2.58",
230230
ARTDefault.platformAgent(),
231231
"my-wrapper-sdk/1.0.0"
232232
].sorted().joined(separator: " ")
@@ -316,7 +316,7 @@ class WrapperSDKProxyTests: XCTestCase {
316316
XCTAssertEqual(testHTTPExecutor.requests.count, 3) // initial `request()`, `first()`, `next()`
317317

318318
let expectedIdentifier = [
319-
"ably-cocoa/1.2.57",
319+
"ably-cocoa/1.2.58",
320320
ARTDefault.platformAgent(),
321321
"my-wrapper-sdk/1.0.0"
322322
].sorted().joined(separator: " ")
@@ -350,7 +350,7 @@ class WrapperSDKProxyTests: XCTestCase {
350350
XCTAssertEqual(testHTTPExecutor.requests.count, expectedRequestCount)
351351

352352
let expectedIdentifier = [
353-
"ably-cocoa/1.2.57",
353+
"ably-cocoa/1.2.58",
354354
ARTDefault.platformAgent(),
355355
"my-wrapper-sdk/1.0.0"
356356
].sorted().joined(separator: " ")

Version.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CURRENT_PROJECT_VERSION = 1.2.57
1+
CURRENT_PROJECT_VERSION = 1.2.58

0 commit comments

Comments
 (0)