ably-cocoa

iOS, tvOS and macOS Objective-C and Swift client library SDK for Ably realtime messaging service

APACHE-2.0 License

Stars
41
Committers
26

Bot releases are hidden (Show)

ably-cocoa - v1.2.23 Latest Release

Published by maratal 11 months ago

Changes

Full Changelog

Fixed issues:

  • Push device deregistration does not clear device details. #1177
  • App build fails due to missing dependencies. #1755 and #1824

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 14.2 and Carthage 0.39.1.

ably-cocoa - v1.2.22

Published by lawrence-forooghian 12 months ago

Changes

Full Changelog

Fixed issues:

  • Fixes an issue where certain errors will cause a Realtime connection to transition to FAILED when it should be transitioning to DISCONNECTED and retrying the connection attempt. #1817

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 14.2 and Carthage 0.39.1.

ably-cocoa - v1.2.21

Published by maratal about 1 year ago

Changes

Full Changelog

Implemented features:

  • Location pushes #1771
  • Incremental backoff and jitter #1431
  • Handle os connectivity event while CONNECTING #1626

Closed issues:

  • Compiler warning "Non-portable path to file..." #1757
  • App crash and dyld error message "AblyDeltaCodec cannot be loaded, image not found" #1183
  • Compatibility with Xcode 15 #1803

Installation and Compatibility

For SPM, CocoaPods and Carthage see Installation Guide.

Ably.framework.zip, attached to this release, was built with Xcode 14.2 and Carthage 0.39.0.

ably-cocoa - v1.2.21, Beta 1

Published by maratal about 1 year ago

Changes

Full Changelog

Implemented features:

  • A preview of an implementation of the location pushes #1771
  • Incremental backoff and jitter #1431
  • Handle os connectivity event while CONNECTING #1626

Closed issues:

  • Compiler warning "Non-portable path to file..." #1757
  • App crash and dyld error message "AblyDeltaCodec cannot be loaded, image not found" #1183

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

ably-cocoa - v1.2.20

Published by lawrence-forooghian over 1 year ago

Changes

Full Changelog

Public API changes:

  • This release hides some private types that had been unintentionally exposed in the public API of the ably-cocoa library.

Internal changes:

  • The ably-cocoa library no longer calls any of the ARTLog methods in the ARTLog (Shorthand) category, nor the -logWithError: method. Be aware that if you have created a custom subclass of ARTLog which overrides any of these methods, they will no longer be called. ARTLog now performs all of its logging using only the -log:withLevel: method.

Fixed bugs:

  • Fallback host is being discarded before fallbackRetryTimeout elapses #1683
  • Compilation error in SocketRocket in Xcode 14.3 #1591
  • Call to _connect in ARTRealtimeInternal constructor #1566
  • SCNetworkReachabilitySetCallback (Crashed: io.ably.main) #1380
  • Crash in ARTOSReachability #593

Closed issues:

  • Run tests in Ably-iOS and Ably-macOS using Xcode 14.3 #1653
  • Emit file name and line number with every logged message #1643
  • Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions #1569
  • App Store publication issues when using Carthage #1559
  • Remove extra callback with setSuspended #1550
  • Make sure we can build the library and run the tests using Xcode 14 #1523

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

ably-cocoa - v1.2.19

Published by lawrence-forooghian almost 2 years ago

Changes

Full Changelog

Closed issues:

  • Replace all calls to NSLog with calls to the ARTLog instance #1554

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.

ably-cocoa - v1.2.18

Published by maratal almost 2 years ago

Changes

Full Changelog

Fixed bugs:

  • Xcode 14 Thread Performance Checker warns of a priority inversion from SocketRocket code #1516

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.

ably-cocoa - v1.2.17

Published by lawrence-forooghian almost 2 years ago

Changes

Full Changelog

Fixed bugs:

  • Ably agents client option is implemented incorrectly #1525

Closed issues:

  • Implement API for fetching Agent identifier #1530
  • Fix error on trying to override HTTPURLResponse._allHeaderFields with Xcode 14 #1522
  • Replace usage of SecKeychainItemDelete to fix deprecation error in Xcode 14 #1521

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.

ably-cocoa - v1.2.16

Published by lawrence-forooghian almost 2 years ago

Changes

Full Changelog

Closed issues:

  • SDK tests are not running on MacBook Pro M1 #1506
  • Create Feature Compliance Manifest for ably-cocoa #1443

Implemented features:

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.

ably-cocoa - v1.2.15

Published by maratal about 2 years ago

Changes

Full Changelog

Closed issues:

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.

ably-cocoa - v1.2.14

Published by maratal about 2 years ago

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.

ably-cocoa - v1.2.13

Published by lawrence-forooghian about 2 years ago

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.

ably-cocoa - v1.2.12

Published by maratal about 2 years ago

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.

ably-cocoa - v1.2.11

Published by QuintinWillison about 2 years ago

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.

ably-cocoa - v1.2.10

Published by QuintinWillison over 2 years ago

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.

ably-cocoa - v1.2.9

Published by QuintinWillison over 2 years ago

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.

ably-cocoa - v1.2.8

Published by QuintinWillison almost 3 years ago

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.

ably-cocoa - v1.2.7

Published by ben-xD almost 3 years ago

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:

ably-cocoa - v1.2.6

Published by ben-xD about 3 years ago

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.
ably-cocoa - v1.2.5

Published by ben-xD about 3 years ago

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.
Package Rankings
Top 16.47% on Swiftpackageindex.com
Top 6.04% on Cocoapods.org
Top 28.7% on Carthage
Badges
Extracted from project README
Check Pod Integration Test: iOS 14.4 Integration Test: macOS 10.15 Integration Test: tvOS 14.3 Features CocoaPods SPM Swift Compatibility SPM Platform Compatibility