Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [1.2.58](https://github.com/ably/ably-cocoa/tree/1.2.58)

### What's Changed

* Decode and encode extras on presence messages (TP3i) by @AndyTWF in https://github.com/ably/ably-cocoa/pull/2186

**Full Changelog**: https://github.com/ably/ably-cocoa/compare/1.2.57...1.2.58

## [1.2.57](https://github.com/ably/ably-cocoa/tree/1.2.57)

### What's Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.57"),
.package(url: "https://github.com/ably/ably-cocoa", from: "1.2.58"),
```

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.
Expand Down
2 changes: 1 addition & 1 deletion Scripts/jazzy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bundle exec jazzy \
--objc \
--clean \
--author Ably \
--module-version 1.2.57 \
--module-version 1.2.58 \
--umbrella-header Source/include/Ably/AblyPublic.h \
--framework-root Source \
--module Ably \
Expand Down
2 changes: 1 addition & 1 deletion Source/ARTClientInformation.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#import <sys/utsname.h>

NSString *const ARTClientInformationAgentNotVersioned = @"ARTClientInformationAgentNotVersioned";
NSString *const ARTClientInformation_libraryVersion = @"1.2.57";
NSString *const ARTClientInformation_libraryVersion = @"1.2.58";
static NSString *const _libraryName = @"ably-cocoa";

// NSOperatingSystemVersion has NSInteger as version components for some reason, so mitigate it here.
Expand Down
2 changes: 1 addition & 1 deletion Test/AblyTests/Tests/ARTDefaultTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class ARTDefaultTests: XCTestCase {

func testVersions() {
XCTAssertEqual(ARTDefault.apiVersion(), "5")
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.57")
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.58")
}
}
6 changes: 3 additions & 3 deletions Test/AblyTests/Tests/ClientInformationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ final class ClientInformationTests: XCTestCase {

XCTAssertEqual(agents.keys.count, 2)

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

#if os(iOS)
XCTAssertTrue(agents.keys.contains("iOS"))
Expand All @@ -27,7 +27,7 @@ final class ClientInformationTests: XCTestCase {
// CR3, CR3b
func testAgentIdentifierWithAdditionalAgents_withNilAdditionalAgents() {
let expectedIdentifier = [
"ably-cocoa/1.2.57",
"ably-cocoa/1.2.58",
ARTDefault.platformAgent()
].sorted().joined(separator: " ")

Expand All @@ -42,7 +42,7 @@ final class ClientInformationTests: XCTestCase {
]

let expectedIdentifier = [
"ably-cocoa/1.2.57",
"ably-cocoa/1.2.58",
"demolib/0.0.1",
"morelib",
ARTDefault.platformAgent()
Expand Down
2 changes: 1 addition & 1 deletion Test/AblyTests/Tests/RealtimeClientConnectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.57"))
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.58"))
} else {
XCTFail("MockTransport isn't working")
}
Expand Down
2 changes: 1 addition & 1 deletion Test/AblyTests/Tests/RestClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.57"))
XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.58"))
done()
}
}
Expand Down
6 changes: 3 additions & 3 deletions Test/AblyTests/Tests/WrapperSDKProxyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class WrapperSDKProxyTests: XCTestCase {
let request = try XCTUnwrap(testHTTPExecutor.requests.first)

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

let expectedIdentifier = [
"ably-cocoa/1.2.57",
"ably-cocoa/1.2.58",
ARTDefault.platformAgent(),
"my-wrapper-sdk/1.0.0"
].sorted().joined(separator: " ")
Expand Down Expand Up @@ -350,7 +350,7 @@ class WrapperSDKProxyTests: XCTestCase {
XCTAssertEqual(testHTTPExecutor.requests.count, expectedRequestCount)

let expectedIdentifier = [
"ably-cocoa/1.2.57",
"ably-cocoa/1.2.58",
ARTDefault.platformAgent(),
"my-wrapper-sdk/1.0.0"
].sorted().joined(separator: " ")
Expand Down
2 changes: 1 addition & 1 deletion Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1.2.57
CURRENT_PROJECT_VERSION = 1.2.58
Loading