-
Notifications
You must be signed in to change notification settings - Fork 5
fix(deps): update dependency formik to v2.4.6 #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
a00be19 to
0c51c70
Compare
0c51c70 to
790c6fe
Compare
|
This PR contains the following updates:
2.2.9->2.4.6Release Notes
jaredpalmer/formik (formik)
v2.4.6Compare Source
Patch Changes
f57ca9b#3949 Thanks @DeveloperRaj! - Changing the state inside formik was changing reference of initialValues provided via props, deep cloning the initialvalues will fix it.v2.4.5Compare Source
Patch Changes
d7db9cd#3860 Thanks @patik! - Add missing dependency@types/hoist-non-react-statics, closes #3837fe4ed7e#3501 Thanks @markspolakovs! - Markformikas side-effect free inpackage.jsonv2.4.4Compare Source
Patch Changes
41720c2#3862 Thanks @yazaldefilimonepinto! - ForwardclassNamefor custom components used withFieldda58b29#3858 Thanks @alaanescobedo! - Remove use of deprecatedStatelessComponenttype in favor ofFunctionComponent5c01ee7#3872 Thanks @rajpatelbot! - FIX: Fixed resetForm function dependency issuev2.4.3Compare Source
Patch Changes
9e0a661#3843 Thanks @bonimba! - Fix FormikHelper and FieldHelperProps typesv2.4.2Compare Source
Patch Changes
96280d3#3817 Thanks @probablyup! - Updated internal types to support React 18.v2.4.1Compare Source
Patch Changes
2b194c2#3808 Thanks @NagaiKoki! - fix type of setFieldValue function708bcb2#3813 Thanks @probablyup! - RevertFieldArray"shouldComponentUpdate" performance optimization. As it turns out, it's a common use case to have JSX controlled via non-Formik state/props inside ofFieldArray, so it's not safe to cancel re-renders here.187e47d#3815 Thanks @probablyup! - Revert Yup transform support for the time being, this may be re-introduced in a future release under an opt-in prop.v2.4.0Compare Source
Minor Changes
2f53b70#3796 Thanks @probablyup! - Add support for Yup "transforms".v2.3.3Compare Source
Patch Changes
f075a0c#3798 Thanks @probablyup! - Fixed the use of generics for theArrayHelperstype such thatany[]is the default array type and for each individual method the array item type can be overridden if necessary.v2.3.2Compare Source
Patch Changes
f086b5a#3237 Thanks @pieplu! - ChangedgetInto return undefined when it can't find a value AND a parent of that value is "falsy" ( "" / 0 / null / false )6d8f018#3792 Thanks @probablyup! - Update the type forsetFieldValueto reflect the returnedPromiseand potential returned error(s).v2.3.0Compare Source
Minor Changes
73de78d#3788 Thanks @probablyup! - Added typescript generics toArrayHelpersinterface and its methods so that users who use TypeScript can set the type for their arrays and have type safety on array utils. I have also gone ahead and made supplying a type for the generic optional for the sake of backwards compatibility so any existing TS code that does not give a type for the FieldArray will continue to work as they always have.39a7bf7#3786 Thanks @probablyup! - Yup by default only allows for cross-field validation within thesame field object. This is not that useful in most scenarios because
a sufficiently-complex form will have several
yup.object()in theschema.
However, Yup offers something called
contextwhich can operate acrossthe entire schema when using a \$ prefix:
With this change, you may now validate against any field in the entire schema,
regardless of position when using the \$ prefix.
v2.2.10Compare Source
Patch Changes
22e236e#3784 Thanks @probablyup! - Improve performance of theFieldArraycomponent by adding ashouldComponentUpdatecheck; this should help avoid unnecessary re-renders which may affect the performance of a form.bc9cb28#3785 Thanks @probablyup! - Fixed field error state for array fields that have an error and become empty through an API likearrayHelpers.remove.The prior behavior resolved the field error to
[undefined], now it is simplyundefined.9cbf150#3787 Thanks @probablyup! - Fix infinite loop issue inFieldwhen field helpers (setTouched, etc) are used as an argument inReact.useEffect.9c75a9f#3780 Thanks @probablyup! - Fixed an issue with array field errors being incorrectly split into an array of individual characters instead of an array of error strings.35fa4cc#3783 Thanks @probablyup! - Fix validation of deep.dot.path field references when using thevalidateFieldAPI.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.