Skip to content

Releases: ably/ably-cocoa

v1.2.14

20 Sep 16:09
2f3b859
Compare
Choose a tag to compare

Changes

Full Changelog

Documentation:

  • Docstring comments added for documentation generation with Jazzy (#1491)

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.4.1 and Carthage 0.38.0.

v1.2.13

22 Aug 13:54
5f61e2a
Compare
Choose a tag to compare

Changes

Full Changelog

Fixed bugs:

  • Warnings of the form Umbrella header for module 'Ably' does not include header 'ARTPushActivationEvent.h' (fixed by #1474)

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.4.1 and Carthage 0.38.0.

v1.2.12

02 Aug 14:00
09a410d
Compare
Choose a tag to compare

Changes

Full Changelog

Fixed bugs:

  • SCNetworkReachabilitySetCallback (Crashed: io.ably.main) #1380, fixed in: Fix of the crash in the ARTOSReachability #1453 (maratal)
  • Channel names are not properly url-encoded #1449, fixed in: Fixed channel name url encoding #1451 (maratal)

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.4.1 and Carthage 0.37.0.

v1.2.11

20 Jul 14:19
a1e3d49
Compare
Choose a tag to compare

Changes

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Mutable ARTDeviceDetails.metadata #1435, fixed in: Added missing strong property attributes #1434 (maratal)
  • According to spec, the SDK should be responsible for calling -[UIApplication registerForRemoteNotifications], not the user #1271, in: Call to the registerForRemoteNotifications #1293 (maratal)

Closed issues:

  • Remove call to registerForRemoteNotifications from Basic APNS example #1359, in: #1360 (maratal)
  • Create simplified ably-cocoa example project for demonstrating push notifications capability #1318, in: Basic APNS example #1319 (maratal)

Merged pull requests:

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.4.1 and Carthage 0.37.0.

v1.2.10

24 Jan 12:13
3b4d306
Compare
Choose a tag to compare

Changes

Full Changelog

Revert Bug Fix:

We made a change, released in version 1.2.8, which we suspect has been causing issues for some customers.
This release reverts that change.

  • Reverting Fix/1177 full reset rsh3g2a only #1272 (maratal)

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.2.1 and Carthage 0.37.0.

v1.2.9

20 Jan 12:22
3788445
Compare
Choose a tag to compare

Changes

Full Changelog

Bug Fix:

This bug affects customers using message content encryption alongisde channel history for a single Ably client instance. History REST requests were incorrectly returning encrypted payloads, despite encryption having been enabled via the Realtime channel setOptions API.

  • Bug: Updating ARTRealtimeChannel’s options doesn’t update the options of its ARTRestChannelInternal #1265
  • Fix: When setting realtime channel options, pass through to REST channel #1266 (lawrence-forooghian)

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.2.1 and Carthage 0.37.0.

v1.2.8

13 Jan 18:22
4344801
Compare
Choose a tag to compare

Changes

Full Changelog

Implemented enhancements:

  • Rename ARTDeviceTokenKey to ARTAPNSDeviceTokenKey #1209
  • Deprecation: Replace usages of deprecated kCCAlgorithmAES128 with kCCAlgorithmAES #1199
  • Add support for remembered REST fallback host #815
  • Ensure request method accepts UPDATE, PATCH & DELETE verbs #780

Fixed bugs:

  • Calling state's machine activation callback upon push device details failure #1236
  • Push device deregistration does not clear/ reset device details #1177

Closed issues:

  • Check ability of using ably-cocoa in SwiftUI projects #1254
  • Improve test file structure and naming #1203
  • Run static analysis for builds in CI #1202
  • Investigate how we might get rid of the Quick testing framework #1201

Merged pull requests:

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 13.2.1.

v1.2.7

09 Nov 13:07
b2db07d
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

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

Fixed bugs:

  • Encrypt messages if a new ARTRealtimeChannelOptions or ARTChannelOptions containing cipher is set #1207
  • Prebuilt Ably.framework from make carthage_package doesn't work in Xcode projects #1168
  • Library version identifier invalid #900
  • Check RTN15c3 implementation #847
  • when using authUrl with authMethod=POST, authParams are sent JSON-encoded, not form-encoded #690

Closed issues:

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

Merged pull requests:

v1.2.6

17 Aug 07:24
98b7af5
Compare
Choose a tag to compare

Changes

Changelog
Full Changelog for this release

Merged pull requests:

  • Update AblyDeltaCodec dependency to 1.3.1 #1165 (ben-xD)

Installation

Swift Package Manager

  • For Xcode projects (e.g. iOS apps): Add https://github.com/ably/ably-cocoa to your project under Swift Packages tab.
  • For Swift Packages (e.g. other libraries):
    • In dependencies: [...], add .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.6"),
    • In target(dependencies: [...]), add .product(name: "Ably", package: "ably-cocoa")

Cocoapods, add the following to your Podfile.

pod 'Ably', '1.2'

Carthage, follow Installing through Carthage

Imports

Objective-C

#import <Ably/Ably.h>

Swift

import Ably

Compatibility

  • Carthage release for Swift is built with Xcode 12.5.1.

v1.2.5

09 Aug 08:26
Compare
Choose a tag to compare

Changes

Full Changelog

Implemented enhancements:

  • Add transportParams to ClientOptions #1112
  • Implement RSC7d (Ably-Agent header) #1111
  • Defaults: Generate environment fallbacks #1066
  • Make stateChange nonnull? #1017
  • Compile SocketRocket with main library #805

Fixed bugs:

  • Memory leaks in the Realtime client #1129
  • Token based authentication always results in 40101 Request mac does not match #1093
  • Potentially insecure usage of the NSURLSession API #1079
  • Incorrect import reference? #1072

Closed issues:

  • Expose device property in ARTRealtime.h #1154
  • Remove ULID dependency (replace usage with NSUUID) #1127
  • Implement ErrorInfo URLs to help debug issues #1125
  • Carthage build for Nimble framework with deprecated linker flag -lswiftXCTest #1123
  • Implement RSC15j (fallback host header) #1116
  • Implement RSC15f (successful fallback host) #1115
  • In last version, connecting to server takes too long time on old devices #1102
  • Fail connection immediately if authorize() called and 403 returned #1078

Merged pull requests:

Installation

Swift Package Manager

  • For Xcode projects (e.g. iOS apps): Add https://github.com/ably/ably-cocoa to your project under Swift Packages tab.
  • For Swift Packages (e.g. other libraries):
    • In dependencies: [...], add .package(url: "https://github.com/ably/ably-cocoa", from: "1.2.5"),
    • In target(dependencies: [...]), add .product(name: "Ably", package: "ably-cocoa")

Cocoapods, add the following to your Podfile.

pod 'Ably', '1.2.5'

Carthage, follow Installing through Carthage

Imports

Objective-C

#import <Ably/Ably.h>

Swift

import Ably

Compatibility

  • Carthage release for Swift is built with Xcode 12.5.1.