AWSAppSync
now depends onAWSCore
version2.12.4
instead of2.12.1
.
AWSAppSync
now depends onAWSCore
version2.12.1
instead of2.11.0
.
- Adjusted network connectivity check in mutation processing logic. See issue #108, issue #121
- Fixed
NoSuchElementException
in Subscription Reconnection logic. See issue #114.
- Fixed a memory leak in
subscriptionsById
map. See issue #111. - Prevent a NPE on the
userCallback
when canceling a subscription. See issue #114.
AWSAppSync
now depends onAWSCore
version2.11.0
instead of2.10.1
.- Added support to check if mutation queue is empty and to clear mutation queue. See issue #96, and issue #101
- 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
AWSAppSync
now depends onAWSCore
version2.10.1
instead of2.10.0
.
- Added logic to mutation queue processing to handle canceled mutations.
AWSAppSync
now depends onAWSCore
version2.10.0
instead of2.9.1
.- Added
mutationQueueExecutionTimeout
method to AppSyncClient Builder to specify execution timeout for mutations.
- Added
subscriptionsAutoReconnect
method to AppSyncClient Builder to enable/disable subscription auto reconnect.
- Fixed bug in Complex Objects logic. See issue #11
- Fixed connection tracking bug in unsubscribe logic
- Improved Subscription Connection handling by optimizing MQTT connections
- Moved subscription setup and cancel requests to a separate thread to avoid blocking the calling thread
AWSAppSync
now depends onAWSCore
version2.9.1
instead of2.8.2
.
- 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
- 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.
- Added reconnection logic to subscriptions. Subscriptions will be automatically reconnected if the device loses connectivity temporarily or transitions between networks. See issue #45
- Fixed bug in connection logic to close MQTT connection if all subscriptions are cancelled. See issue #7
AWSAppSync
now depends onAWSCore
version2.8.0
instead of2.7.7
.
- 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
- Allow multiple active subscriptions while using API_KEY auth.
- 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.
- Fixed connection handling bug that was causing unexpected disconnects. See issue #22
- Add support for
AWSConfiguration
throughawsconfiguration.json
inAWSAppSyncClient
.
- Fix a bug where multiple instances of same subscriptions when cancelled cause a
ConcurrentModificationException
. See issue #22
- 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.
- Adds support for AWS AppSync Defined Scalars such as
AWSTimestamp
.
- Fix premature execution of
onCompleted
method ofAppSyncSubscriptionCall.Callback
.
- Call
onCompleted
method ofAppSyncSubscriptionCall.Callback
when a subscription is disconnected. - Remove static references to context. See issue #13
- 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
- Lazy load token in
BasicCognitoUserPoolsAuthProvider
.
- Improve dependency injection for gradle plugin.
Uses
implementation
instead ofcompile
when using higher than gradle version 2. Note: gradle version 0 and 1 are note supported. - Improve
BasicCognitoUserPoolsAuthProvider
retrieval of token.
- Fixed dependency
com.moowork.gradle:gradle-node-plugin:1.0.0
in gradle plugin
- Adds OpenID Connect (OIDC) support as an authorization option.
- 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
- Subscription support.
- Complex objects allow fields to be S3 objects.
- Conflict resolution surfaces mutation conflicts so that they can be resolved through a callback.
- 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.