Releases: awslabs/aws-mobile-appsync-sdk-ios
3.1.3
3.1.2
General SDK improvements
- Upgrade to AppSyncRealTimeClient 1.1.6
Misc. Updates
- Fix SwiftLint violation (PR #379) Thanks @RafaelPlantard!
- Update AWS dependencies to 2.13.1
- Add SwiftLint as a Pod dependency
3.1.1
Deprecated release
This release is deprecated due to errors. Please use 3.1.2 or greater.
3.1.0
General SDK improvements
- 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
3.0.2
Bug Fixes
- 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!
Misc. Updates
- 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.
3.0.1
Deprecated release
This release is deprecated due to errors. Please use 3.0.2 or greater.
3.0.0
General SDK improvements
-
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
Misc. Updates
- Updated Reachability dependency to 5.0.0
2.15.0
Misc. Updates
- 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
2.14.3
2.14.2 (Deprecated)
Deprecated release
This release has invalid dependency declaration in the AWSAppSync.podspec. Please use release 2.14.3 instead.