Major Changes
-
#2556
54794d44cThanks @reesscot! - BREAKING CHANGE:isMultilineprop removed fromTextField. Replace anyTextFieldcomponents
using theisMultilineprop with theTextAreaFieldcomponent.- <TextField - isMultiline + <TextAreaField
-
#2636
d71836994Thanks @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.
AddinginputStylesprop where developers can send style props to the input element (or textarea, select)
ForTextAreaField, destructuring theresizestyle prop because it makes sense to apply that to the textarea element.- <TextField - backgroundColor="red" + <TextField + inputStyles={{backgroundColor: "red"}}
-
#2786
20a3c6103Thanks @reesscot! - BREAKING CHANGE: remove legacy exports@aws-amplify/ui-react/legacyand@aws-amplify/ui-angular/legacy. -
#2703
5ec150f4eThanks @calebpollman! - Remove useAuthenticator internal variables_stateand_send(See #2685) -
#2772
4a22217e0Thanks @zchenwei! - BREAKING CHANGE(react): bump up React minimum support version to 16.14.0 and update JSX transform -
#2828
82903f7bbThanks @calebpollman! - feat(next-release): render Authenticator field labels -
#2558
d90b148c0Thanks @reesscot! - chore: upgrade radix to 1.0Fixes error messages during
npm installrelated to React 18. See Migration guide for more information:
https://ui.docs.amplify.aws/react/getting-started/migration -
#2735
fa3135addThanks @wlee221! - Breaking: We replaced following legacy Authenticator texts:Forgot your password?with the trailing space is replaced byForgot your password.
If you were using
I18nto translate those keys, please update your translations accordingly to match the new strings.
Minor Changes
- #2962
11c7d9c60Thanks @calebpollman! - Release In-App Messaging feature for React and React Native
PR: #2798
Patch Changes
-
#2877
ab8942c54Thanks @ErikCH! - BREAKING: When overridingAuth.signUp, update the override function call to include theautoSignInoption 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
74e01fc7aThanks @wlee221! - deps(react): pin radix dependencies -
Updated dependencies [
ab8942c54,5ec150f4e,4a22217e0,82903f7bb,d90b148c0]:- @aws-amplify/[email protected]
- @aws-amplify/[email protected]