Skip to content

Latest commit

 

History

History
195 lines (119 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

195 lines (119 loc) · 10.6 KB

Change Log - AWS AppSync SDK for Android

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.12.4 instead of 2.12.1.

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.12.1 instead of 2.11.0.

Bug Fixes

  • Adjusted network connectivity check in mutation processing logic. See issue #108, issue #121
  • Fixed NoSuchElementException in Subscription Reconnection logic. See issue #114.

Bug Fixes

  • Fixed a memory leak in subscriptionsById map. See issue #111.
  • Prevent a NPE on the userCallback when canceling a subscription. See issue #114.

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.11.0 instead of 2.10.1.
  • Added support to check if mutation queue is empty and to clear mutation queue. See issue #96, and issue #101

Bug Fixes

  • Fixed bug in mutationQueueExecutionTimeout method. See issue #105
  • Fixed bug in mutation processing logic to handle case where cancel is called in the mutation callback. See issue #102

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.10.1 instead of 2.10.0.

Bug Fixes

Enhancements

  • Added logic to mutation queue processing to handle canceled mutations.

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.10.0 instead of 2.9.1.
  • Added mutationQueueExecutionTimeout method to AppSyncClient Builder to specify execution timeout for mutations.

Enhancements

  • Added subscriptionsAutoReconnect method to AppSyncClient Builder to enable/disable subscription auto reconnect.

Bug Fixes

  • Fixed bug in Complex Objects logic. See issue #11
  • Fixed connection tracking bug in unsubscribe logic

Enhancements

  • Improved Subscription Connection handling by optimizing MQTT connections
  • Moved subscription setup and cancel requests to a separate thread to avoid blocking the calling thread

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.9.1 instead of 2.8.2.

Bug Fixes

  • Adjusted mutation processing logic to remove mutations from the queue only after they have been processed by the server and maintain sequential execution semantics. See issue #40, issue #33, issue #72, and issue #82

New Features

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

Enhancements

  • Added reconnection logic to subscriptions. Subscriptions will be automatically reconnected if the device loses connectivity temporarily or transitions between networks. See issue #45

Bug Fixes

  • Fixed bug in connection logic to close MQTT connection if all subscriptions are cancelled. See issue #7

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.8.0 instead of 2.7.7.

Bug Fixes

  • Fixed bug in subscribe call that was setting the QoS to be 0. It is now correctly set to QoS 1. See issue #54
  • Fixed bug that was causing a ConcurrentModificationException in the logic to handle connection loss. See PR #41 and issue #53
  • Fixed null pointer exception in the AppSyncOfflineMutationInterceptor. See issue #51

New Features

  • Allow multiple active subscriptions while using API_KEY auth.

Enhancements

  • Adjusted logic for service call retries. Retries will have adjusted Jitter logic and calls will be retried until max exponential backoff time has been reached.

Bug Fixes

  • Fixed connection handling bug that was causing unexpected disconnects. See issue #22

New Features

  • Add support for AWSConfiguration through awsconfiguration.json in AWSAppSyncClient.

Bug Fixes

  • Fix a bug where multiple instances of same subscriptions when cancelled cause a ConcurrentModificationException. See issue #22

Enhancements

  • Add retries for service calls with error code 5XX and 429. GraphQL calls for mutation, query, and subscription will be retried. This does not include retrying the connection for subscription messages.

New Features

  • Adds support for AWS AppSync Defined Scalars such as AWSTimestamp.

Bug Fixes

  • Fix premature execution of onCompleted method of AppSyncSubscriptionCall.Callback.

Enhancements

  • Call onCompleted method of AppSyncSubscriptionCall.Callback when a subscription is disconnected.
  • Remove static references to context. See issue #13

Bug Fixes

  • Prevent crashing when retrieving credentials to sign AppSync requests. Errors will now be routed to the onError callback. See issue #16
  • Remove references to subscription callback when subscription is cancelled. See issue #13

Enhancements

  • Lazy load token in BasicCognitoUserPoolsAuthProvider.

Enhancements

  • Improve dependency injection for gradle plugin. Uses implementation instead of compile when using higher than gradle version 2. Note: gradle version 0 and 1 are note supported.
  • Improve BasicCognitoUserPoolsAuthProvider retrieval of token.

Bug Fixes

  • Fixed dependency com.moowork.gradle:gradle-node-plugin:1.0.0 in gradle plugin

New Features

  • Adds OpenID Connect (OIDC) support as an authorization option.

Enhancements

  • Improve synchronization of shared data structures in multiple subscriptions.
  • Fixed bug that caused sigv4 signing not to be attached when okhttp client was specified in builder. See PR #4

New Features

  • Subscription support.
  • Complex objects allow fields to be S3 objects.
  • Conflict resolution surfaces mutation conflicts so that they can be resolved through a callback.

New Features

  • Initial release with support for Cognito UserPools, Cognito Identity, and API key based authentication.
  • Optimistic updates allow the cache to be updated before a server response is received (i.e. slow network or offline)
  • Offline mutation allows mutations to be queued while client is offline until online again.