amplify-js

A declarative JavaScript library for application development using cloud services.

APACHE-2.0 License

Downloads
44.4M
Stars
9.4K
Committers
431
amplify-js - 2022-11-14 Amplify JS release - [email protected]

Published by stocaaro almost 2 years ago

New Features:

  • @aws-amplify/api, @aws-amplify/pubsub
  • @aws-amplify/storage
    • Storage.list supports paginated results. You can also set a set page size by using the pageSize attribute.
    • More information about Storage.list on the Storage documentation
  • @aws-amplify/datastore
    • Lazy loading
      • You can now asynchronously fetch related data in one-line of code. For example: if a post has many comments, you can lazy load comments using the async toArray() function:await post.comments.toArray(). You can also lazy load hasOne relationships, for example: await post.author. DataStore also takes advantage of JavaScript’s built-in async iterator support to make it easier for you to author for loops:
          for await (const comment of post.comments) {
           console.log(comment) // iterates over each comment!
          }
      
    • Nested predicates
      • You can now query based on conditions of related models. For example, if you only want to get the comments of posts with a title starting with “Amplify”, you can now do the following:
        await DataStore.query(Comment, c => c.post.title.beginsWith(“Amplify”)
      • More information about DataStore nested predicates on the DataStore documentation
    • PR 10477
  • New Notifications category @aws-amplify/notifications with support for AWS Pinpoint In-App Messaging channel.
    • You can setup contextual UI messages that can you can show your users when users trigger specific events. PR 10430
    • More information about In-App Messaging on In-App Messaging documentation

Breaking changes:

  • Default exports removed from, e.g.import Auth from '@aws-amplify/auth' is no longer supported
    • @aws-amplify/analytics
    • @aws-amplify/api-rest
    • @aws-amplify/api-graphql
    • @aws-amplify/api
    • @aws-amplify/cache
    • @aws-amplify/datastore
    • @aws-amplify/geo
    • @aws-amplify/interactions
    • @aws-amplify/predictions
    • @aws-amplify/pub
    • @aws-amplify/storage
    • @aws-amplify/xr
    • aws-amplify
  • @aws-amplify/api, @aws-amplify/pubsub: Network subscriptions are automatically reconnected and observables stays available (previously observables were closed after network issues)
  • @aws-amplify/analytics: Analytics.record no longer accepts string as its first param
  • aws-amplify
    • Amplify.Auth,Amplify.Cache, Amplify.ServiceWorker static members are no longer available on Amplify singleton #10562
    • Removed CSS modules export
  • @aws-amplify/pubsub: Removed misspelled type export MqttProvidertOptions from MqttOverWSProvider provider
  • @aws-amplify/core: Removed JS export from in favor of individual function exports #10528
  • @aws-amplify/storage: Storage.list now accepts pageSize instead of maxKeys and also the return value is an object that has result and pagination info.
  • Deprecated legacy UI packages (You can migrate to the new UI packages by following this link):
    • @aws-amplify/ui-vue@"< 1.x"
    • @aws-amplify/ui-react@"< 1.x"
    • @aws-amplify/ui-angular@"< 1.x"
    • @aws-amplify/ui-components@"< 1.x"
    • aws-amplify-vue (all versions)
    • aws-amplify-angular (all versions)
    • aws-amplify-react (all versions)

Breaking change upgrade notes

Other changes:

  • Bundle size reduction:
    • Reduced by 10% on average when authentication (tested with create-react-app)
    • Reduced by 35% on average when unauthenticated (guest) users (tested with create-react-app)
    • Replaced dependencies with smaller alternatives
    • Optimize bundle size for unauthenticated use cases, e.g. recording events or loading images for guests users
    • tslib is used across all the packages with importHelpers option enabled
  • Removed unnecessary artifacts from npm packages reducing installation size

All Changes

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@5.0.0

amplify-js - 2022-11-03 Amplify JS release - [email protected]

Published by stocaaro almost 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.43

amplify-js - 2022-10-27 Amplify JS release - [email protected]

Published by Samaritan1011001 about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.42

amplify-js - 2022-10-25 Amplify JS release - [email protected]

Published by Samaritan1011001 about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.41

amplify-js - 2022-10-25 Amplify JS release - [email protected]

Published by iartemiev about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.40

amplify-js - 2022-10-13 Amplify JS release - [email protected]

Published by iartemiev about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.39

amplify-js - 2022-10-13 Amplify JS release - [email protected]

Published by stocaaro about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.38

amplify-js - 2022-09-30 Amplify JS release

Published by stocaaro about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.37

amplify-js - 2022-09-20 Amplify JS release

Published by manueliglesias about 2 years ago

What's Changed

  • 4.3.34 is causing hermes compilation issues #10284

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.36

amplify-js - 2022-09-08 Amplify JS release

Published by Samaritan1011001 about 2 years ago

amplify-js - 2022-09-01 Amplify JS release

Published by elorzafe about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.34

amplify-js - 2022-08-23 Amplify JS release

Published by stocaaro about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.33

amplify-js - 2022-08-18 Amplify JS release

Published by katiegoines about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.32

amplify-js - 2022-08-15 Amplify JS release

Published by elorzafe about 2 years ago

What's Changed

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.31

amplify-js - 2022-08-01 Amplify JS release

Published by elorzafe about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.30

amplify-js - 2022-07-28 Amplify Release

Published by jamesaucode over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.29

amplify-js - 2022-07-21 Amplify Release

Published by elorzafe over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@4.3.28

amplify-js - [email protected]

Published by powerful23 over 6 years ago

  • amazon-cognito-identity-js - 2.0.6
    • Bug Fix: Roll back crypto-browserify to 1.0.9 #857
amplify-js - [email protected]

Published by powerful23 over 6 years ago

  • aws-amplify-react - 0.1.47
    • Bug Fix: jump to confirm user if sign in with unconfirmed user #777
amplify-js - [email protected]

Published by powerful23 over 6 years ago

  • aws-amplify - 0.4.1
    • Enhancement: Storage protected level #780
    • Enhancement: OIDC support for graphql #861
    • Enhancment: Analytics client context configurable #855
    • Bug Fix: fix: setPreferredMFA method throws error when setting totp with no cellphone #859
Package Rankings
Top 0.51% on Npmjs.org
Top 10.5% on Repo1.maven.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README