Skip to content

Commit

Permalink
Merge pull request #1216 from ably/release/1.2.7
Browse files Browse the repository at this point in the history
Release/1.2.7
  • Loading branch information
ben-xD authored Nov 9, 2021
2 parents a7886c7 + 323b230 commit b2db07d
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 8 deletions.
56 changes: 55 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,60 @@
# Change Log

## [v1.2.6](https://github.com/ably/ably-cocoa/tree/1.2.6)
## [1.2.7](https://github.com/ably/ably-cocoa/tree/1.2.7)

[Full Changelog](https://github.com/ably/ably-cocoa/compare/1.2.6...1.2.7)

**Implemented enhancements:**

- Stop base64-encoding authorization headers unnecessarily [\#1185](https://github.com/ably/ably-cocoa/issues/1185)
- Conflict with XAspect with `HAVE_CONFIG_H` macro [\#1161](https://github.com/ably/ably-cocoa/issues/1161)
- Blocks supplied as properties or method arguments should have typedef [\#1032](https://github.com/ably/ably-cocoa/issues/1032)
- Unused function warnings in xdelta3.x when Ably added via CocoaPods - Unused Entity Issue [\#1031](https://github.com/ably/ably-cocoa/issues/1031)
- Reduce library dependencies [\#949](https://github.com/ably/ably-cocoa/issues/949)
- Improve error message for invalid state operations [\#843](https://github.com/ably/ably-cocoa/issues/843)
- Finish implementing TI3 [\#760](https://github.com/ably/ably-cocoa/issues/760)
- Update Stats fields with latest MessageTraffic types [\#732](https://github.com/ably/ably-cocoa/issues/732)
- Address issues raised by Xcode’s static analyzer [\#694](https://github.com/ably/ably-cocoa/issues/694)
- Quick Documentation: add headerdoc comments [\#298](https://github.com/ably/ably-cocoa/issues/298)

**Fixed bugs:**

- Encrypt messages if a new ARTRealtimeChannelOptions or ARTChannelOptions containing cipher is set [\#1207](https://github.com/ably/ably-cocoa/issues/1207)
- Prebuilt `Ably.framework` from `make carthage_package` doesn't work in Xcode projects [\#1168](https://github.com/ably/ably-cocoa/issues/1168)
- Library version identifier invalid [\#900](https://github.com/ably/ably-cocoa/issues/900)
- Check RTN15c3 implementation [\#847](https://github.com/ably/ably-cocoa/issues/847)
- when using authUrl with authMethod=POST, authParams are sent JSON-encoded, not form-encoded [\#690](https://github.com/ably/ably-cocoa/issues/690)

**Closed issues:**

- Add Swift Package Manager badges to README.md [\#1204](https://github.com/ably/ably-cocoa/issues/1204)
- NSSecureCoding NSObject bypasses security [\#1188](https://github.com/ably/ably-cocoa/issues/1188)
- Add Ably-cocoa swift package to Swift Package Index [\#1141](https://github.com/ably/ably-cocoa/issues/1141)
- App Store upload problem - non-public API use [\#1104](https://github.com/ably/ably-cocoa/issues/1104)
- Memory leak\(s\) when using event emitters [\#1099](https://github.com/ably/ably-cocoa/issues/1099)
- build warning - treating a forced downcast to 'ARTClientOptions' as optional will never produce 'nil' [\#1035](https://github.com/ably/ably-cocoa/issues/1035)
- Warnings about deprecations when used in a Mac Catalyst app [\#1003](https://github.com/ably/ably-cocoa/issues/1003)
- Possible race conditions in Test Suite [\#912](https://github.com/ably/ably-cocoa/issues/912)

**Merged pull requests:**

- Fix `ARTChannel.setOptions` and `ARTRealtimeChannel.setOptions`: Recreate ARTDataEncoder on ARTChannel options update [\#1208](https://github.com/ably/ably-cocoa/pull/1208) ([lukasz-szyszkowski](https://github.com/lukasz-szyszkowski))
- Add Swift Package Index badges [\#1205](https://github.com/ably/ably-cocoa/pull/1205) ([lukasz-szyszkowski](https://github.com/lukasz-szyszkowski))
- Fix/694 static analyser issues [\#1198](https://github.com/ably/ably-cocoa/pull/1198) ([maratal](https://github.com/maratal))
- Log message text fixed. [\#1197](https://github.com/ably/ably-cocoa/pull/1197) ([maratal](https://github.com/maratal))
- Removed optional base64 auth header [\#1195](https://github.com/ably/ably-cocoa/pull/1195) ([maratal](https://github.com/maratal))
- Fix/1188 Added allowed class for NSKeyedUnarchiver [\#1194](https://github.com/ably/ably-cocoa/pull/1194) ([maratal](https://github.com/maratal))
- Added Xcodebuild Logs uploading step [\#1192](https://github.com/ably/ably-cocoa/pull/1192) ([maratal](https://github.com/maratal))
- Make sure we all use the same version of Fastlane [\#1189](https://github.com/ably/ably-cocoa/pull/1189) ([lawrence-forooghian](https://github.com/lawrence-forooghian))
- Assure new secret to be created only together with the deviceId [\#1187](https://github.com/ably/ably-cocoa/pull/1187) ([maratal](https://github.com/maratal))
- Copied descriptions from ably.com/documentation/realtime/types [\#1176](https://github.com/ably/ably-cocoa/pull/1176) ([maratal](https://github.com/maratal))
- New stats fields [\#1175](https://github.com/ably/ably-cocoa/pull/1175) ([maratal](https://github.com/maratal))
- Reattaching channels in compliance with RTN15c3 [\#1172](https://github.com/ably/ably-cocoa/pull/1172) ([maratal](https://github.com/maratal))
- 1003 mac catalyst warnings [\#1171](https://github.com/ably/ably-cocoa/pull/1171) ([maratal](https://github.com/maratal))
- Documentation: Add link to example app, and clarify `ARTPushRegistererDelegate` usage [\#1170](https://github.com/ably/ably-cocoa/pull/1170) ([ben-xD](https://github.com/ben-xD))
- Blocks typedef [\#1166](https://github.com/ably/ably-cocoa/pull/1166) ([maratal](https://github.com/maratal))

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

[Full Changelog](https://github.com/ably/ably-cocoa/compare/1.2.5...1.2.6)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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.6), or clone it to get the latest, unstable and possibly underdocumented version: `git clone [email protected]:ably/ably-cocoa.git`
1. Get the code from GitHub [from the release page](https://github.com/ably/ably-cocoa/releases/tag/1.2.7), or clone it to get the latest, unstable and possibly underdocumented version: `git clone [email protected]: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.

Expand Down Expand Up @@ -753,7 +753,7 @@ For each release, the following needs to be done:
* Create a new branch `release/x.x.x` (where `x.x.x` is the new version number) from the `main` branch
* Run `make bump_[major|minor|patch]` to bump the new version number (creates a Git commit)
* Run [`github_changelog_generator`](https://github.com/github-changelog-generator/github-changelog-generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). This may require some manual intervention, both in terms of how the command is run and how the change log file is modified. Your mileage may vary:
* The command you will need to run will look something like this: `github_changelog_generator -u ably -p ably-cocoa --since-tag 1.2.6 --output delta.md`
* The command you will need to run will look something like this: `github_changelog_generator -u ably -p ably-cocoa --since-tag 1.2.7 --output delta.md`
* Using the command above, `--output delta.md` writes changes made after `--since-tag` to a new file
* The contents of that new file (`delta.md`) then need to be manually inserted at the top of the `CHANGELOG.md`, changing the "Unreleased" heading and linking with the current version numbers
* Also ensure that the "Full Changelog" link points to the new version tag instead of the `HEAD`
Expand Down
2 changes: 1 addition & 1 deletion Source/ARTDefault.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static inline UInt32 conformVersionComponent(const NSInteger component) {
}

NSString *const ARTDefault_apiVersion = @"1.2";
NSString *const ARTDefault_libraryVersion = @"1.2.6";
NSString *const ARTDefault_libraryVersion = @"1.2.7";

NSString *const ARTDefaultProduction = @"production";

Expand Down
2 changes: 1 addition & 1 deletion Spec/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(), "1.2")
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.6")
XCTAssertEqual(ARTDefault.libraryVersion(), "1.2.7")
}
}
2 changes: 1 addition & 1 deletion Spec/RealtimeClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class RealtimeClientConnection: QuickSpec {
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.6"))
expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.7"))
}
else {
XCTFail("MockTransport isn't working")
Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ class RestClient: QuickSpec {
let headerAgent = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["Ably-Agent"]
let ablyAgent = options.agents()
expect(headerAgent).to(equal(ablyAgent))
expect(headerAgent!.hasPrefix("ably-cocoa/1.2.6")).to(beTrue())
expect(headerAgent!.hasPrefix("ably-cocoa/1.2.7")).to(beTrue())
done()
}
}
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.6
CURRENT_PROJECT_VERSION = 1.2.7

0 comments on commit b2db07d

Please sign in to comment.