-
Notifications
You must be signed in to change notification settings - Fork 1
fix(deps): update dependency formik to v2.2.9 #121
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/formik-2.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author
Branch automerge failureThis PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.
|
ad6f51a to
af9d8c3
Compare
979467d to
8f01701
Compare
24b9843 to
d4d62ce
Compare
646eea6 to
87eccde
Compare
536a84b to
ee85ba9
Compare
ee85ba9 to
829a07a
Compare
829a07a to
e7c5cde
Compare
e7c5cde to
3fbca70
Compare
3fbca70 to
01c1f80
Compare
01c1f80 to
a170acf
Compare
a170acf to
069ec97
Compare
069ec97 to
6f54588
Compare
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0.4->2.2.9Release Notes
formium/formik
v2.2.9Compare Source
Patch Changes
ca60ef9#3227 Thanks @johnrom! - Bump lodash and lodash-es to latest versions.v2.2.8Compare Source
Patch Changes
3a9c707#3203 Thanks @hixus! - Fixes type of setError value as it is same as setFieldError messagev2.2.7Compare 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 usingvalidateOnMountc2d6926#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.6Compare Source
Patch Changes
d4314a1#2955 Thanks @jkbktl! - fix(docs): fix link to docs in console warningv2.2.5Compare Source
Patch Changes
ebad985#2891 Thanks @jaredpalmer! - Remove low-priority validation implementation0dfa23b#2889 Thanks @jaredpalmer! - Fixed botched typescript builds including scheduler typesv2.2.4Compare Source
Patch Changes
199e77a#2882 Thanks @umidbekkarimov! - ValidatesetFieldTouchedwith high priorityv2.2.3Compare 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.2Compare Source
Patch Changes
00f95ec#2854 Thanks @umidbekkarimov! - Fix low priority validation race condition.v2.2.1Compare Source
Patch Changes
e04886d#2820 Thanks @wellyshen! - Fixed bug with scheduler andvalidateFormWithLowPrioritymethod not be scheduled correctlyv2.2.0Compare Source
Minor Changes
4148181#2794 Thanks @jaredpalmer! -setValuecan now optionally accept a function as a callback, exposingReact.SetStateActionfunctionality. Previously, only the entire object wasallowed which caused issues with stale props.
v2.1.7Compare Source
Patch Changes
bda9f41#2785 Thanks @jaredpalmer! - Replace all instances of the deprecated React.SFC type with React.FCv2.1.6Compare Source
v2.1.5Compare Source
v2.1.4Compare Source
v2.1.3Compare Source
v2.1.2Compare Source
v2.1.1Compare Source
Patches
d1059c8valuewas not specified on a checkbox as well as when there is just one checkbox.FieldArrayto use latest values for validation: #2166Credits
Huge thanks to @wallymathieu, @eliamaino-fp, and @mrmuhammadali for helping!
v2.1.0Compare Source
Minor Changes
Add
FieldHelpersobject to the array returned byuseField: #2124. Thisexposes three helper functions to allow you to imperatively change the
field in question:
setValue(value: any)setTouched(value: boolean)setError(value: string)Before
After
Credits
Huge thanks to @drivasperez for helping!
v2.0.11Compare Source
Patches
Credits
Huge thanks to @viniciusdacal for helping!
v2.0.10Compare Source
TS Patch
useField<T>generic.v2.0.9Compare Source
Patches
v2.0.8Compare Source
Patches
v2.0.7Compare Source
Improvements
shouldComponentUpdateby refactoring the component away from usingstatic contextTypeand back to using theconnect()higher order component.Bug fixes
Fixed regression where
dirtyis wasn't re-evaluated afterresetForm()Fixed regression where handleChange would explode when event.target didn't exist (e.g. event.currentTarget
If there are validation errors while calling
submitForm(), the promise will now rejects with errors (and of course abort the submit). Previously, it would abort the submit and resolve. The nuance is hard to describe so here is the difference.Before (2.0.6)
After (2.0.7)
2.0.6: https://codesandbox.io/s/gracious-noether-bu8u6
2.0.7: https://codesandbox.io/s/objective-perlman-jxhuq
Commits
17d82bcec1d679c5ec7092b6f71e39bfbfb5c59dbef4ff0289da328837870bf4ac6186v2.0.6Compare Source
Bugfix
Promise<any>. This allows folks to return a promise that returns something (which is pretty common). Sorry about that folks.Commits
e933b9c67e90712738bbcv2.0.5Compare Source
Bugfixes
onSubmitbehavior to mimic v1 if the function is synchronous. This means fixes a bug whereisSubmittingwas never toggled. To summarize: IfonSubmitis async, then Formik will automatically setisSubmittingtofalseon your behalf once the submission is completed. This means you do NOT need to callformikBag.setSubmitting(false)manually in v2. HOWEVER, if youronSubmitfunction is synchronous (e.g. v1), then you need to still callsetSubmitting(false)on your own. (#1987)validateFormWithLowPrioritywith to use fresh values (#2025)Commits
a78bbff430f6ccaf0c7d0d0d7602b04a7628dbaabaisSubmittingbehaviour to mimic v1 (#1987)3ce6551c0fe1b9e386371eb2029dd78266f0f54fb8aa7fbdbd0b5b0702c303f5916ac055cbfd38c08a6328c92424b52d26189256d11a4bee7940feeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.