Skip to content

Releases: awslabs/aws-mobile-appsync-sdk-ios

3.1.3

11 Jul 00:27
Compare
Choose a tag to compare

General SDK improvements

  • Upgrade to 2.14.0 SDK and 1.2.0 realtime client. See PR #400

Misc. Updates

  • Changed the repo's default branch to 'main'
  • Build Carthage binaries using Xcode 11.5

3.1.2

16 Apr 18:38
Compare
Choose a tag to compare

General SDK improvements

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

16 Apr 18:07
Compare
Choose a tag to compare

Deprecated release

This release is deprecated due to errors. Please use 3.1.2 or greater.

3.1.0

16 Mar 22:54
Compare
Choose a tag to compare

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

29 Feb 03:25
Compare
Choose a tag to compare

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

27 Feb 23:37
Compare
Choose a tag to compare

Deprecated release

This release is deprecated due to errors. Please use 3.0.2 or greater.

3.0.0

15 Nov 19:08
Compare
Choose a tag to compare

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 mutation addPost(...){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 a null 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.

  • Breaking Build Changes

    • Adopted Semantic versioning

Misc. Updates

  • Updated Reachability dependency to 5.0.0

2.15.0

16 Oct 13:11
78ac455
Compare
Choose a tag to compare

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
  • 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

16 Sep 23:05
Compare
Choose a tag to compare

Bug Fixes

  • 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! 🎉

Misc. Updates

  • Updated AWS SDK dependencies to 2.11.0

2.14.2 (Deprecated)

16 Sep 20:54
Compare
Choose a tag to compare

Deprecated release

This release has invalid dependency declaration in the AWSAppSync.podspec. Please use release 2.14.3 instead.