fix(deps): update dependency formik to v2.4.6 #544
+85
−48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1.5
->2.4.6
Release Notes
jaredpalmer/formik (formik)
v2.4.6
Compare Source
v2.4.5
Compare Source
Patch Changes
d7db9cd
#3860 Thanks @patik! - Add missing dependency@types/hoist-non-react-statics
, closes #3837fe4ed7e
#3501 Thanks @markspolakovs! - Markformik
as side-effect free inpackage.json
v2.4.4
Compare Source
Patch Changes
41720c2
#3862 Thanks @yazaldefilimonepinto! - ForwardclassName
for custom components used withField
da58b29
#3858 Thanks @alaanescobedo! - Remove use of deprecatedStatelessComponent
type in favor ofFunctionComponent
5c01ee7
#3872 Thanks @rajpatelbot! - FIX: Fixed resetForm function dependency issuev2.4.3
Compare Source
Patch Changes
9e0a661
#3843 Thanks @bonimba! - Fix FormikHelper and FieldHelperProps typesv2.4.2
Compare Source
Patch Changes
96280d3
#3817 Thanks @probablyup! - Updated internal types to support React 18.v2.4.1
Compare 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.0
Compare Source
Minor Changes
2f53b70
#3796 Thanks @probablyup! - Add support for Yup "transforms".v2.3.3
Compare Source
Patch Changes
f075a0c
#3798 Thanks @probablyup! - Fixed the use of generics for theArrayHelpers
type such thatany[]
is the default array type and for each individual method the array item type can be overridden if necessary.v2.3.2
Compare Source
Patch Changes
f086b5a
#3237 Thanks @pieplu! - ChangedgetIn
to 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 forsetFieldValue
to reflect the returnedPromise
and potential returned error(s).v2.3.0
Compare Source
Minor Changes
73de78d
#3788 Thanks @probablyup! - Added typescript generics toArrayHelpers
interface 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
context
which 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.10
Compare Source
Patch Changes
22e236e
#3784 Thanks @probablyup! - Improve performance of theFieldArray
component by adding ashouldComponentUpdate
check; 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 inField
when 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 thevalidateField
API.v2.2.9
Compare Source
Patch Changes
ca60ef9
#3227 Thanks @johnrom! - Bump lodash and lodash-es to latest versions.v2.2.8
Compare Source
Patch Changes
3a9c707
#3203 Thanks @hixus! - Fixes type of setError value as it is same as setFieldError messagev2.2.7
Compare Source
Patch Changes
e50040a
#2881 Thanks @jinmayamashita! - Prevent calling getSelectedValues when the element has not options31405ab
#3201 Thanks @artola! - Fixes regression that resulted in error update race condition from when usingvalidateOnMount
c2d6926
#2995 Thanks @johnrom! - Allow explicitly setting<form action>
to empty string (#2981). Note: previous code which passed an empty string would result in a noop (simply appending # to the url), but this will now result in a form submission to the current page.v2.2.6
Compare Source
Patch Changes
d4314a1
#2955 Thanks @jkbktl! - fix(docs): fix link to docs in console warningv2.2.5
Compare Source
Patch Changes
ebad985
#2891 Thanks @jaredpalmer! - Remove low-priority validation implementation0dfa23b
#2889 Thanks @jaredpalmer! - Fixed botched typescript builds including scheduler typesv2.2.4
Compare Source
Patch Changes
199e77a
#2882 Thanks @umidbekkarimov! - ValidatesetFieldTouched
with high priorityv2.2.3
Compare Source
Patch Changes
e0a28e6
#2867 Thanks @umidbekkarimov! - Fix low priority validation for browser password autofill.958d67c
#2874 Thanks @maddhruv! - fix FastField initial value when input type is radio or checkboxv2.2.2
Compare Source
Patch Changes
00f95ec
#2854 Thanks @umidbekkarimov! - Fix low priority validation race condition.v2.2.1
Compare Source
Patch Changes
e04886d
#2820 Thanks @wellyshen! - Fixed bug with scheduler andvalidateFormWithLowPriority
method not be scheduled correctlyv2.2.0
Compare Source
Minor Changes
4148181
#2794 Thanks @jaredpalmer! -setValue
can now optionally accept a function as a callback, exposingReact.SetStateAction
functionality. Previously, only the entire object wasallowed which caused issues with stale props.
v2.1.7
Compare Source
Patch Changes
bda9f41
#2785 Thanks @jaredpalmer! - Replace all instances of the deprecated React.SFC type with React.FCv2.1.6
Compare Source
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.