Skip to content

Commit 35805d0

Browse files
authored
Merge pull request #2016 from ably/release/1.2.37
v1.2.37 Release
2 parents bd1a494 + 42cacfa commit 35805d0

9 files changed

+19
-11
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.37](https://github.com/ably/ably-cocoa/tree/1.2.37)
4+
5+
**Full Changelog**: https://github.com/ably/ably-cocoa/compare/1.2.36...1.2.37
6+
7+
## What's Changed
8+
9+
* Reverts a breaking change by moving `presence` back to `ARTRealtime` https://github.com/ably/ably-cocoa/pull/2015
10+
311
## [1.2.36](https://github.com/ably/ably-cocoa/tree/1.2.36)
412

513
**Full Changelog**: https://github.com/ably/ably-cocoa/compare/1.2.35...1.2.36

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can install Ably for iOS and macOS through Package Manager, CocoaPods, Carth
6161
- [This apple guide](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app) explains the steps in more detail.
6262
- To install the `ably-cocoa` package in another **Swift Package**, then add the following to your `Package.Swift`:
6363
```swift
64-
.package(url: "https://github.com/ably/ably-cocoa", from: "1.2.36"),
64+
.package(url: "https://github.com/ably/ably-cocoa", from: "1.2.37"),
6565
```
6666
### Installing through [CocoaPods](https://cocoapods.org/)
6767

@@ -101,7 +101,7 @@ If you see, for example, a `dyld: Library not loaded: @rpath/AblyDeltaCodec.fram
101101

102102
### Manual installation
103103

104-
1. Get the code from GitHub [from the release page](https://github.com/ably/ably-cocoa/releases/tag/1.2.36), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-cocoa.git`
104+
1. Get the code from GitHub [from the release page](https://github.com/ably/ably-cocoa/releases/tag/1.2.37), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-cocoa.git`
105105
2. Drag the directory `ably-cocoa/ably-cocoa` into your project as a group.
106106
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.
107107

Scripts/jazzy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jazzy \
77
--objc \
88
--clean \
99
--author Ably \
10-
--module-version 1.2.36 \
10+
--module-version 1.2.37 \
1111
--umbrella-header Source/include/Ably/Ably.h \
1212
--framework-root Source \
1313
--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.36";
9+
NSString *const ARTClientInformation_libraryVersion = @"1.2.37";
1010
static NSString *const _libraryName = @"ably-cocoa";
1111

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

Test/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(), "2")
9-
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.36")
9+
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.37")
1010
}
1111
}

Test/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.36")
12+
XCTAssertEqual(agents["ably-cocoa"], "1.2.37")
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.36",
30+
"ably-cocoa/1.2.37",
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.36",
45+
"ably-cocoa/1.2.37",
4646
"demolib/0.0.1",
4747
"morelib",
4848
ARTDefault.platformAgent()

Test/Tests/RealtimeClientConnectionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class RealtimeClientConnectionTests: XCTestCase {
384384
done()
385385
case .connected:
386386
if let transport = client.internal.transport as? TestProxyTransport, let query = transport.lastUrl?.query {
387-
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.36"))
387+
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.37"))
388388
} else {
389389
XCTFail("MockTransport isn't working")
390390
}

Test/Tests/RestClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ class RestClientTests: XCTestCase {
17361736
let headerAgent = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["Ably-Agent"]
17371737
let ablyAgent = ARTClientInformation.agentIdentifier(withAdditionalAgents: options.agents)
17381738
XCTAssertEqual(headerAgent, ablyAgent)
1739-
XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.36"))
1739+
XCTAssertTrue(headerAgent!.hasPrefix("ably-cocoa/1.2.37"))
17401740
done()
17411741
}
17421742
}

Version.xcconfig

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

0 commit comments

Comments
 (0)