The AWS AppSync SDK for iOS enables you to access your AWS AppSync backend and perform operations like Queries
, Mutations
and Subscriptions
. The SDK
also includes support for offline operations.
- Making APIKeyBasedConnectionPool thread-safe to prevent crashes (#596)
- update missing sdk dependencies to 2.36.2 (#597)
- bump rexml from 3.2.5 to 3.2.8 (#598)
- update minimum ios deployment target to v12(PR #586)
- update dependency AppSyncRealTimeClient to 3.2.0
- update dependencies of AWSSDK to 2.36.0
- fix AppSyncRealTimClient dependency version defined in podspec and podfile(PR #591)
- updating AWS SDK dependency to 2.36.0(PR #590)
- fix: Perform optimistic updates without awaiting (PR #548)
- Updating SDK dependency to 2.34.0 (PR #583)
- subscribe function is not thread safe and causes crashes (PR #569)
- Update Podspec
- Update SDK dependency to 2.30.1 and AppSyncRealTimeClient dependency to 3.0.0 (#561)
- chore: skip build xcframework when build for cocoapods #524
- chore: Update the gemfile to pin to version #530
- feat: Upgrade AppSyncRTClient 1.8.0 and enable logs (PR #519)
- fix: Thread safe subscription watcher cancel (PR #523)
- feat: Upgrade AppSyncRealTimeClient 1.7.0 for Starscream 4 (PR #518)
- AppSync SDK is now also released as an XCFramework (PR #521)
- AppSync is now built with Xcode 13.2 in the CI/CD pipeline
- Upgrade to 2.27.0 SDK. PR #514
- AppSync is now built with Xcode 13.1 and Swift 5.5 in the CI/CD pipeline
- Fixed race condition on activeTimer access in AWSAppSyncHTTPNetworkTransport
- Update to 2.26.0 SDK dependencies (PR #492)
- Updated
LambdaAuthInterceptor
to support async auth provider (PR #488)
- Update to 2.25.0 SDK dependencies (PR #484)
- Added support for AWS Lambda auth mode (PR #478)
- Update to 2.24.0 SDK dependencies (PR #472)
- Swift Package Manager
- The AWS AppSync SDK for iOS can now be installed via Swift Package Manager. See the README for full details.
- Update dependencies (PR #467)
- Update dependencies (PR #462)
- chore: Pinned Reachability library version to 5.0.0 (PR #455)
- Update dependencies to consume AppSyncRealTimeClient fix for race condition on disconnect (PR #454)
- Update dependencies (PR #451)
- Update dependencies. (PR #445)
- Add a parameter for the api key expiration for integ test setup CFN template (PR #439)
- Update dependencies. (PR #441)
- Refactored
AWSAppSyncHTTPNetworkTransport
to simplify internal auth handling, and to support providing your ownURLSession
in the new initializer. (PR #422). Thanks for the initial PR, @lesmuc! π - Update dependencies. (PR #436)
- Update dependencies. (PR #432)
This release is deprecated due to errors. Please use 3.1.9 or greater.
This release is deprecated due to errors. Please use 3.1.8 or greater.
- Upgrade to 2.16.0 SDK. PR #410
- Fix bug in subscription where data is not translated correctly to a format valid for JSONSerialization (See Issue #401, PR #402). Thanks @LachlanMcCulloch! π
- Updated to latest dependencies
- AppSync is now built with Xcode 11.6 in the CI/CD pipeline
- Updated AppSync RealTime Client, which fixes stale connection handling upon resume from background:
- Updated to latest dependencies
- Upgrade to 2.14.0 SDK and 1.2.0 realtime client. See PR #400
- Changed the repo's default branch to 'main'
- Build Carthage binaries using Xcode 11.5
- Upgrade to AppSyncRealTimeClient 1.1.6
- Fix SwiftLint violation (PR #379) Thanks @RafaelPlantard!
- Update AWS dependencies to 2.13.1
- Add SwiftLint as a Pod dependency
This release is deprecated due to errors. Please use 3.1.2 or greater.
- Add Codable and Hashable to AWSAppSyncAuthType. See PR #352 Thanks @LachlanMcCulloch!
- Improved AppSyncSubscriptionWithSync with fixing retain cycle and adding
isCancelled
state. See Issue #342 and PR #355. Thanks, @LachlanMcCulloch! - Use AppSyncRealTimeClient 1.1.0 containing consolidated interceptors. See PR #353 for more details
- Update to use AppSyncRealTimeClient ~> 1.1, with Cartfile fix. See PR #367
- Default to
exponential
AWSAppSyncRetryStrategy when scheduling a delta sync when the appSyncClient reference is unavailable (#325). - Remove force-unwrap in derivation of retry strategy during delta sync. See issue #325 PR #327.
- Fix strong reference cycle in delta sync. See issue #342 PR #343. Thanks, @LachlanMcCulloch!
- Moved Realtime subscription connection logic to a separate package. See PR #338
- Made internal subscription connection to receive null as data in variables.
- Updated podspec file to use the right source file.
This release is deprecated due to errors. Please use 3.0.2 or greater.
-
Breaking API Changes
- Added support for connecting to AWS AppSync using pure WebSockets for GraphQL subscriptions.
-
Selection set filtering will be done per client as each client can define their own selection set. In this case the subscription selection set must be a subset of the mutation selection set. For example, a subscription
addedPost{author title}
linked to the mutationaddPost(...){id author title url version}
would receive only the author and the title of the post and none of the other fields. However, if the mutation didn't have the author in its selection set the subscriber would get anull
value for the author field (or an error in case the author field is defined as required/not-null in the schema). -
In the earlier SDK version, if you didnβt configure the associated subscription selection set with the required fields and relied on the mutation fields to push data to subscribed client, the behavior will change when you move to this version that use pure WebSockets. In the example above, a subscription without the "author" field defined in its selection set would still return the author name with MQTT over WebSockets as the field is defined in the mutation, the same behavior wonβt apply for pure WebSockets. The subscription selection set is essential when using pure WebSockets: if a field is not explicitly defined in the subscription it won't be returned by AWS AppSync.
-
- Added support for connecting to AWS AppSync using pure WebSockets for GraphQL subscriptions.
-
Breaking Build Changes
- Adopted Semantic versioning
- Starting with version 3.0.0 AppSync AWS iOS SDK will follow semantic versioning.
- Adopted Semantic versioning
- Updated Reachability dependency to 5.0.0
- General SDK improvements
- Breaking Build Change Removed deprecated APIs for
AWSAppSyncSubscriptionError
AWSAppSyncClientError
AWSSQLLiteNormalizedCacheError
MutationCache
AWSAppSyncClientConfiguration
AWSAppSyncCacheConfiguration
- Breaking Build Change The AWS AppSync SDK for iOS now requires Xcode 11 or above to build
- AppSync is now built targeting Swift 5.1
- Breaking Build Change Removed deprecated APIs for
- Updated AWS SDK dependencies to 2.12.0
- Updated Reachability dependency to 4.3.1
- Updated SQLite.Swift dependency to 0.12.2
- Fixed a bug where data less than 128 bytes would cause a crash if logging were enabled. See issues #258 and #216, and PR #259. Thanks @johnmurphy01! π
- Updated AWS SDK dependencies to 2.11.0
This release has invalid dependency declaration in the AWSAppSync.podspec. Please use release 2.14.3 instead.
- Updated AWS SDK dependencies to 2.10.2
- Fix a bug where delta sync was not correctly storing/ retrieving the
lastSyncTime
. See issue #232 - Breaking API Change To fix the delta sync logic, there was a change in the hashing function used internally. This change can cause the existing app to ignore the cache for the first sync and fetch data using base query. Subsequent sync operation should work as normal.
- Fixed a bug where calling multiple subscriptions in a burst could result in a crash.
-
Support multiple authorization modes for a single AWS AppSync GraphQL endpoint.
-
Breaking API Change Introduced
clientDatabasePrefix
in theAWSAppSyncServiceConfigProvider
that accepts a prefix that will be used in the construction of database name for caching query responses, offline mutations and subscriptions metadata. The usage of the prefix can be enabled by the flaguseClientDatabasePrefix: true
as part of theAWSAppSyncCacheConfiguration
. When the prefix is used, the name of the database would look as follows:Purpose of cache No prefix Valid prefix Query responses queries.db
<ClientDatabasePrefix>_queries.db
Offline Mutations offlineMutations.db
<ClientDatabasePrefix>_offlineMutations.db
Subscriptions metadata for Delta Sync subscriptionMetadataCache.db
<ClientDatabasePrefix>_subscriptionMetadataCache.db
-
The
ClientDatabasePrefix
can be passed viaawsconfiguration.json
that is generated from the AWS AppSync Console and Amplify CLI."AppSync": { "Default": { "ApiUrl": "https://xyz.appsync-api.us-east-2.amazonaws.com/graphql", "Region": "us-east-2", "AuthMode": "API_KEY", "ApiKey": "da2-xyz", "ClientDatabasePrefix": "MyAppSyncAPIName_API_KEY" } }
The
AWSAppSyncClient
object can be constructed as follows:let serviceConfigAPIKey = try AWSAppSyncServiceConfig() let cacheConfigAPIKey = try AWSAppSyncCacheConfiguration(useClientDatabasePrefix: true, appSyncServiceConfig: serviceConfigAPIKey!) let clientConfigAPIKey = try AWSAppSyncClientConfiguration(appSyncServiceConfig: serviceConfigAPIKey!, cacheConfiguration: cacheConfigAPIKey!) let clientAPIKey = try AWSAppSyncClient(appSyncConfig: clientConfigAPIKey!)
-
-
Deprecated
clearCache()
please useclearCaches(options:)
instead. This new method will clear the query responses, offline mutations and subscriptions metadata by default and the options parameter can be used to fine-tune the operation.
- Fix a bug where subscriptions would be blocked from starting again after being cancelled. See issue #249
- Make network reachability provider mockable See PR #245. Thanks @gleue! π
- Improved internal handling of subscription cancellation and disconnect.
- With this update, the cancellation behavior for subscription is more robust in both cases - when developer issues
cancel
and when SDK notifiesconnectionError
in thestatusChangeHandler
andresultHandler
- As a best practice, we recommend that if you do not want to receive any more callbacks on the
statusChangeHandler
andresultHandler
for the subscription, issue acancel
which would immediately stop all communication to the watcher. - Once
cancel
is issued, no notifications or error callbacks will be given to the watcher. If the watcher object is not reference from application code, it will internally issue acancel
and ensure that no callbacks are given.
- With this update, the cancellation behavior for subscription is more robust in both cases - when developer issues
- Upgraded SQLite.swift to 0.11.6 to fix a bug in persistent cache handling. See issue #211. Apps that declare direct dependencies on SQLite.swift must update the pods to avoid a conflict and get the fixed version. This new requires that AppSync be built using Xcode 10.2 or later.
-
Breaking Build Environment Changes
- AppSync SDK for iOS now requires Xcode 10.2 or later to build.
-
Other changes
- Updated AWS SDK dependencies to 2.9.6
- Updated SQLite.swift to 0.11.6
- Fixed a bug where cancelled mutations would not be cleared from the persistent store and would be sent to service on app restart. See issue #187
- Updated AWS SDK dependencies to 2.9.5
Behavior Change for Mutation Queue
- With this update, the internal operation logic of how mutations are processed is updated
- The mutation queue in the previous SDKs, depended on notification from reachability to determine if the mutations could be sent to the service; in the new behavior we are more aligned to Apple's Designing for Real-World Networks guidance
- The AppSync client will now
always
attempt to make a mutation request regardless of the network state - One the network response comes back, the SDK will inspect the error from
NSURLSession
and determine if the error was due to network not available, host not found or DNS lookup failed. If it was, the SDK will schedule a retry timer responsible to retry the request which will grow exponentially with every attempt - The retry handler will also watch for notification from reachability to determine if network is available again; in cases where SDK does get the notification, it will preempt the timer and make the request right away
- If the notification is not received, the timer will continue to retry the request. The polling interval is capped at 5 minutes to ensure that attempts are made at frequent attempts while respecting resources on device
- The mutations will retried at these intervals repeatedly until they are successful or cancelled
- AppSync client will ensure that it works with auth clients who return the correct errors. The AWS credential providers are validated to check if they return the correct
NSURLSession
errors so that retry can be scheduled - If using a custom auth client, while invoking the error callback for auth provider, it is recommended to include
NSURLErrorDomain
in thedomain
field and the indicated error code incode
field. - There are no API changes required to update to this behavior
- The AppSyncClient now supports specifying retry strategy using the
retryStrategy
parameter inAWSAppSyncClientConfiguration
. You can choose betweenaggressive
andexponential
(default selection).
- Mark
uniqueIdentifier
field inAWSSubscriptionWatcher
as public which was incorrectly marked private in previous version.
- The AppSyncClient's
subscribe
method now accepts an optionalstatusChangeHandler
. If provided, then theAWSAppSyncSubscriptionWatcher
returned by thesubscribe
method will invoke that method when it is notified of changes to the state of the underlying MQTT client.AWSAppSyncSubscriptionWatcherStatus
for a description of the statuses and their progression. Thanks @fans3210, @shannon-hager-skookum, and @achager for contributing your thoughts to the original request (Issue #42) and to @MarioBajr for contributing the original implementation on PR #75. - Added a
queuedMutationCount
property to AppSyncClient (Issue #192)
- Fixed incorrect AWSCore dependency version in podspec (Issue #190)
- Fixed data races in AppSyncMQTTClient that were causing crashes (Issue #184)
-
Added
AWSAppSyncClientLogFormatter
utility class. Developers who want to use it can add it to the appropriate logger. For example, a configuration like:AWSDDLog.sharedInstance.logLevel = .verbose AWSDDTTYLogger.sharedInstance.logFormatter = AWSAppSyncClientLogFormatter() AWSDDLog.sharedInstance.add(AWSDDTTYLogger.sharedInstance)
would output log messages like:
2019-03-04 07:21:32.131-0800 [I AWSAppSyncClient.init(appSyncConfig:reachabilityFactory:), L75] Initializing AppSyncClient 2019-03-04 07:21:32.135-0800 [V AWSPerformMutationQueue.init(appSyncClient:networkClient:reachabiltyChangeNotifier:cacheFileURL:), L24] Initializing AWSPerformMutationQueue 2019-03-04 07:21:32.135-0800 [V AWSPerformMutationQueue.resume(), L95] Resuming OperationQueue
Please note that
verbose
logging is quite verbose, and there is a significant difference betweenverbose
anddebug
. We will be makingdebug
more useful as we go. (See Issue #145)As always, we recommend turning off logging when deploying to production.
-
Added some verbose logging around mutation queue handling and subscription connections; minor log additions elsewhere
-
Minor dead code removal & miscellaneous cleanup
- Fixed a bug where queries with dots (
"."
) in the arguments were not being properly cached (Issue #110, #165) AWSAppSyncClient.perform(mutation:queue:optimisticUpdate:conflictResolutionBlock:resultHandler:)
now properly invokes its result handler callbacks on the suppliedqueue
instead of always usingDispatchQueue.main
-
Prepopulate the queries cache with an empty
QUERY_ROOT
record, to allow optimistic updates of the cache where no queries have been previously performed. (Issue #92, #101) -
Fix how "cache hits" are determined in queries, to match Apollo behavior. A "cache hit" is defined as all members of the selection set having a non-nil value. For a simple query, (e.g., the
HeroNameQuery
of the StarWars API), that is an easy mental map:Cache hit
{ "QUERY_ROOT": { "hero": "#hero" }, "#hero": { "hero": {"name": "R2-D2", "__typename": "Droid"} } }
Cache misses
{} { "QUERY_ROOT": null } { "QUERY_ROOT": {} } { "QUERY_ROOT": { "hero": "#hero" }, "#hero": { "hero": null } } // Misses because type data is incomplete { "QUERY_ROOT": { "hero": "#hero" }, "#hero": { "hero": {"name": "R2-D2"} } }
For more complex queries (like the
TwoHeroesQuery
), only all values being non-nil will result in a cache hit: Cache Hit{ "QUERY_ROOT": { "hero": "#hero", "hero(episode:EMPIRE)": "#hero(episode:EMPIRE)" }, "#hero": {"name": "R2-D2", "__typename": "Droid"}, "#hero(episode:EMPIRE)": {"name": "Luke Skywalker", "__typename": "Human"} }
Cache Misses
{} { "QUERY_ROOT": null } { "QUERY_ROOT": {} } { "QUERY_ROOT": { "hero": "#hero" }, "#hero": { "hero": null } } { "QUERY_ROOT": { "hero": "#hero" }, "#hero": {"name": "R2-D2", "__typename": "Droid"} }
These definitions match the existing Apollo behavior, as verified in additional tests against the unmodified Apollo codebase.
- Updated CloudFormation template to include S3 buckets and associated configuration to support complex object integration tests, and added integration tests for S3 uploads and downloads.
- Merged Apollo iOS PR #427 to fix incompatibility with EnumeratedIterator in latest Xcode 10.2 beta.
- Fixed an issue where performing a mutation with no parameters would crash clients using a backing database. Issue #33
- Reduced database contention to fix crash resuming from background (See Issue #160). Thanks @larryonoff for contributing to this fix! π
AWSAppSyncCacheConfiguration
AppSync persistent caches for queries (used by the Apollo store), mutations,
and subscription metadata are now stored in separate files. A new
AWSAppSyncCacheConfiguration
API has been added that allows clients to
specify persistent caches for all, some, or none of these caches:
// Specify persistent caches that live in the app's Cache directory
let cacheConfiguration = try AWSAppSyncCacheConfiguration()
// ... or specify persistent caches that live in `rootDirectory`
let cacheConfiguration = try AWSAppSyncCacheConfiguration(withRootDirectory: rootDirectory)
// ... or specify a database path for the query cache and the subscriptionMetadata cache, but an in-memory cache for mutation queue
let cacheConfiguration = AWSAppSyncCacheConfiguration(offlineMutations: nil,
queries: queriesDatabasePath,
subscriptionMetadataCache: subscriptionMetadataDatabasePath)
// ... or specify all caches to be in-memory
let cacheConfiguration = AWSAppSyncCacheConfiguration.inMemory
// ... then use the cache config in the AWSAppSyncClientConfiguration constructor
let appSyncConfig = try AWSAppSyncClientConfiguration(appSyncServiceConfig: serviceConfig, cacheConfiguration: cacheConfiguration)
let appSyncClient = AWSAppSyncClient(appSyncConfig: appSyncConfig)
// Alternately, specify all in-memory caches by passing no `cacheConfiguration`
let appSyncConfig = try AWSAppSyncClientConfiguration(appSyncServiceConfig: serviceConfig)
let appSyncClient = AWSAppSyncClient(appSyncConfig: appSyncConfig)
Migration
Clients can migrate to the new AWSAppSyncCacheConfiguration with a utility method that performs a one-time move of data from the previous databaseURL to the new cache configuration directory:
// Specify persistent caches that live in the app's Cache directory
let cacheConfiguration = try AWSAppSyncCacheConfiguration()
let databaseURL = // whatever your old databaseURL was
// Upon successful completion, this method sets a flag in UserDefaults, making it safe
// to call at startup for as long as this method exists.
AWSAppSyncCacheConfigurationMigration.migrate(from: databaseURL, to: cacheConfiguration)
-
Breaking API Changes
AWSSQLLiteNormalizedCacheError
has been renamed toAWSAppSyncQueriesCacheError
. Error conditions during manipulations of the Apollo store will now throw this type.
-
Deprecations
AWSSQLLiteNormalizedCache
is deprecated and will be removed in an upcoming minor version of AWSAppSync, as that implementation is an internal detail. Clients that wish to do cleanup of database files can useAWSAppSyncCacheConfiguration
to get the path of the appropriate database file.- The
databaseURL
option toAWSAppSyncClientConfiguration
is deprecated. Please use thecacheConfiguration
option (See above) - The
MutationCache
protocol is deprecated because it is unused.
- Added an
AWSAppSyncClient.clearCache()
method to clear the local Apollo cache. See Issue #36, PR #141 Thanks @larryonoff! π
- AppSyncClient.sync() now properly invokes its subscription callbacks on the supplied
handlerQueue
instead of always usingDispatchQueue.main
- AWSAppSync now uses Xcode 10.1 to build its Carthage binaries. This will make the binaries compatible with Swift 4.2.1. Projects that have not yet upgraded to use Swift 4.2.1 will fall back to building from source.
- The AWSAppSync target no longer specifies values for
VALID_ARCH
in its build settings but instead uses defaults. See PR#156 Thanks @larryonoff! π
- Updated the Cartfile to depend on the correct version of the AWS iOS SDK. (Note, this is advisory only; we do not retrieve dependencies via Carthage.)
- Added Pods to source control so Carthage users (or anyone else who builds from source) will no longer need to issue a
pod update
before building (#150)
- Mutation queue handling is rewritten to use
OperationQueue
, to fix cases where mutations would either deadlock (#81), or not execute (#106). Thanks @larryonoff! π - S3Objects now correctly upload whether they are included as part of a mutation's parameters or an input type (#122)
-
Breaking API Changes
AWSPerformMutationOperation
waspublic
, now it'sinternal
AWSAppSyncClient.perform
now returnsCancellable
instead ofAWSPerformMutationOperation
-
Refactored internal network change notifications (#139)
-
Refactored structure & tests to make future maintenance easier. As part of this, we deprecated the
AWSAppSyncClientInfo
class in favor of theAWSAppSyncServiceConfigProvider
protocol. We provide a default implementationAWSAppSyncServiceConfig
.AWSAppSyncClientInfo
will be removed in a future minor version.- Thanks to @larryonoff for contributing code and PR feedback to this refactor! π
-
Refactored tests into Unit and Integration tests. Currently, any test that requires network activity is placed in Integration tests, even if the test hits localhost and not a valid service.
- Updated the README to include new instructions for setting up your integration test environment.
- The project now includes an AWS CloudFormation template to bootstrap your test setups. This will be updated in the future to include S3 buckets and associated configuration to support complex object integration tests.
- Use Swift 4.2's
Float.random(in:)
instead ofarc4random()
to generate request retry jitter. See PR #108. Thanks @larryonoff! π - Added SwiftLint to project. See PR #121 and issue #107. Thanks @larryonoff! π
- Increase stability of the integration tests; removed subscription integration test since its functionality is now covered by sync operation test.
- Upgraded SQLite.swift to 0.11.5, which fixes compiler warnings when compiling AWSAppSync in Xcode. Thanks @larryonoff! π
- Breaking API Changes
SyncConfiguration
:- The type changed from a
class
to astruct
- The initializer parameter is now optional, and the previous
defaultSyncConfiguration
method has been removed. Create a default configuration by invoking the initializer with no arguments,SyncConfiguration()
- The type changed from a
- Added support for Delta Sync Feature Delta Sync allows you to perform automatic synchronization with an AWS AppSync GraphQL server. The client will perform reconnection, exponential backoff, and retries when network errors take place for simplified data replication to devices. For more details, please refer documentation.
- Fixed issue where if a timeout error occurred due to lack of network availability, the callback would not be given back to the developer. See issue #91
- Officially convert project to Swift 4.2. Previously, the project used some Swift 4.2 idioms even though the
SWIFT_VERSION
was officially set to 3. This change makes the support explicit in the project files and README. - Updated SwiftReachability dependency to 4.3.0. (See PR #84)[#84] Thanks @larryonoff! π
- Replaced generic struct based AWSAppSyncClientError by a typed enum. (See PR #35)[#35] Thanks @MarioBajr! π
AWSAppSync
now depends onAWSCore
version2.7.x
instead of2.6.x
.
- Resolved retain cycles in AWSAppSyncClient which allow the instance to be deallocated. See PR#88 Thanks @ifabijanovic π
- Resolved retain cycle in underlying MQTT client. Source
- Allow multiple active subscriptions while using
API_KEY
auth. - Add retry logic for the HTTP service calls.
- Allow responses to have missing fields if they are optional.
- Fix issue with optimistic writes which would incorrectly throw
JSONDecodingError.missingValue
error. See issues #51 #8 - Fix warnings imposed by iOS 12. See PR#71
- Improve subscriptions logic to use a single shared queue and avoid delay between multiple subscriptions. See PR#28 Thanks @MarioBajr! π
- Allow asynchronous fetching of User Pools / OIDC auth token. See PR#62 Thanks @JohnRbk π
- Integrate logging with
AWSDDLog
. To print logs from the SDK, follow instructions mentioned here.
- Fixed a bug in loading configuration from
awsconfiguration.json
- Fixed a bug where receiving a non String or JSON object would cause SDK to crash. The SDK would now instead log an error message.
- Add support for AWS AppSync configuration through
awsconfiguration.json
inAWSAppSyncClient
.
- Improve connection handling of underlying MQTTClient.
- Improve performance of AWSAppSyncMQTTClient. See PR#34
- AWSNetworkTransport modifications to enable the ability to mock server. See PR#40
- Fixed typo in AWSGraphQLSubscriptionResponse initializer and variable. See PR#29
- Preventing IAM signature requests from blocking the main thread. See PR#32
- Call the AWSAppSyncClientConfiguration connectionStateChangeHandler which was previously un-used. See PR#30
- Add OpenID Connect (OIDC) support as an authorization option.
- Fix SQLite lock issue. See PR#20
- Renamed private AWSSRWebSocket classes in order to avoid duplicated symbols. See PR#21
- Respect the requested callback queue when invoking subscription callbacks. See PR#22
- Fixed a crash in
cancel
method ofSubscriptionWatcher
by adding a safer workflow. See PR #11
- Expose whether a result was served from service or cache. Source
- Watchers are now triggered while writing to cache from a transaction. Source
- Fixed a bug in
cancel
method ofSubscriptionWatcher
where callingcancel
and then restarting a subscription in the same view controller would cause a crash.