Skip to content

@aws-amplify/[email protected]

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:55
· 1712 commits to main since this release
2587610

Major Changes

  • #2556 54794d44c Thanks @reesscot! - BREAKING CHANGE: isMultiline prop removed from TextField. Replace any TextField components
    using the isMultiline prop with the TextAreaField component.

    - <TextField
    -  isMultiline
    + <TextAreaField
  • #2636 d71836994 Thanks @dbanksdesign! - BREAKING CHANGE: No longer splitting out Flex and Base style props on Field primitives.
    Instead, removing all style props to be applied to the wrapper element, the rest will be applied to the input element.
    Adding inputStyles prop where developers can send style props to the input element (or textarea, select)
    For TextAreaField, destructuring the resize style prop because it makes sense to apply that to the textarea element.

    - <TextField
    -   backgroundColor="red"
    + <TextField
    +   inputStyles={{backgroundColor: "red"}}
  • #2786 20a3c6103 Thanks @reesscot! - BREAKING CHANGE: remove legacy exports @aws-amplify/ui-react/legacy and @aws-amplify/ui-angular/legacy.

  • #2703 5ec150f4e Thanks @calebpollman! - Remove useAuthenticator internal variables _state and _send (See #2685)

  • #2772 4a22217e0 Thanks @zchenwei! - BREAKING CHANGE(react): bump up React minimum support version to 16.14.0 and update JSX transform

  • #2828 82903f7bb Thanks @calebpollman! - feat(next-release): render Authenticator field labels

  • #2558 d90b148c0 Thanks @reesscot! - chore: upgrade radix to 1.0

    Fixes error messages during npm install related to React 18. See Migration guide for more information:
    https://ui.docs.amplify.aws/react/getting-started/migration

  • #2735 fa3135add Thanks @wlee221! - Breaking: We replaced following legacy Authenticator texts:

    • Forgot your password? with the trailing space is replaced by Forgot your password.

    If you were using I18n to translate those keys, please update your translations accordingly to match the new strings.

Minor Changes

Patch Changes

  • #2877 ab8942c54 Thanks @ErikCH! - BREAKING: When overriding Auth.signUp, update the override function call to include the autoSignIn option set to enabled. This is now required.

     async handleSignUp(formData) {
      let { username, password, attributes } = formData;
      // custom username
      username = username.toLowerCase();
      attributes.email = attributes.email.toLowerCase();
      return Auth.signUp({
        username,
        password,
        attributes,
    +   autoSignIn: {
    +     enabled: true
    +   }
      });
    }
    
  • #2827 74e01fc7a Thanks @wlee221! - deps(react): pin radix dependencies

  • Updated dependencies [ab8942c54, 5ec150f4e, 4a22217e0, 82903f7bb, d90b148c0]: