AWS AppSync SDK for iOS - CHANGELOG

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.

3.6.0

Features

Bug Fixes

3.5.0

Misc. Updates

3.4.3

3.4.2

3.4.1

Misc. Updates

3.4.0

Misc. Updates

3.3.1

Misc. Updates

3.3.0

New Features

3.2.1

Misc. Updates

3.2.0

New Features

Misc. Updates

3.1.17

Misc. Updates

3.1.16

Misc. Updates

3.1.15

Misc. Updates

3.1.14

Misc. Updates

3.1.13

Misc. Updates

3.1.12

Misc. Updates

3.1.11

Misc. Updates

3.1.10

Misc. Updates

3.1.9

Misc. Updates

3.1.8

Deprecated release

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

3.1.7

Deprecated release

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

3.1.6

Misc. Updates

3.1.5

Bug Fixes

Misc. Updates

3.1.4

Bug Fixes

Misc. Updates

3.1.3

General SDK improvements

Misc. Updates

3.1.2

General SDK improvements

Misc. Updates

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

3.0.2

Bug Fixes

Misc. Updates

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

Misc. Updates

2.15.0

Misc. Updates

2.14.3

Bug Fixes

Misc. Updates

2.14.2

Deprecated Release

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

2.14.1

Misc. Updates

2.14.0

Bug Fixes

2.13.1

Bug Fixes

2.13.0

New Features

2.12.2

Bug Fixes

2.12.1

Misc. Updates

Bug Fixes

2.12.0

Bug Fixes

Misc. Updates

2.11.1

Bug Fixes

Misc. Updates

2.11.0

Misc. Updates

Behavior Change for Mutation Queue

2.10.4

New Features

Bug Fixes

2.10.3

New Features

Bug fixes

Misc. Updates

2.10.2

Bug fixes

2.10.1

Bug fixes

Misc. Updates

2.10.0

Bug fixes

Misc. Updates

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)

2.9.2

New Features

Bug fixes

Misc. Updates

2.9.1

Bug Fixes

2.9.0

Bug Fixes

Misc. Updates

2.8.0

Misc. Updates

2.7.0

New Features

Bug Fixes

Misc. Updates

2.6.24

Misc. Updates

2.6.23

Bug Fixes

2.6.22

Enhancements

2.6.21

Enhancements

2.6.20

Enhancements

Bug Fixes

2.6.19

New Features

2.6.18

Enhancements

2.6.17

Enhancements

Bug Fixes

2.6.16

New Feature

Bug Fixes

2.6.15

Bug Fix

2.6.14

New Features

Bug Fixes