Skip to content

Release 0.10.0-beta0

Pre-release
Pre-release
Compare
Choose a tag to compare
@paulcwatts paulcwatts released this 10 Jun 21:04

This release replaces the user of AWS Cognito directly with the AWS Amplify library.

Additions

  • Please see the updated README for many of the new changes.
  • The dummy application has been greatly expanded to exercise nearly all of this addon's features.

Breaking Changes

  • The CognitoStorage object, which was used to put Cognito's tokens in ember-simple-auth's storage, is no longer used. We automatically persist the access token in ember-simple-auth's authenticated hash as before, but nothing else from Cognito storage. This actually enables one to potentially use a different ember-simple-auth storage such as cookie storage, since it's much less likely that the authenticated data will be greater than 4096 bytes.

Deprecations

  • Many methods in CognitoUser have been deprecated and replaced with similar functions on the Cognito service. These have been renamed to their Amplify equivalents.
  • You no longer need to include the amazon-cognito-identity-js directly in your app, this is included (as well as the amplify packages) by default in the addon.
  • The testing helpers for ember-qunit < 4.2 have been deprecated. Please upgrade your tests to ember-qunit >= 4.2.

These deprecations will be removed by 1.0.