Skip to content
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

Update dependency formik to v2.1.1 #611

Merged
merged 1 commit into from
Jan 6, 2020
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2019

This PR contains the following updates:

Package Type Update Change
formik dependencies minor 2.0.8 -> 2.1.1

Release Notes

jaredpalmer/formik

v2.1.1

Compare Source

Patches
  • Update website: d1059c8
  • Small spelling error: #​2161
  • Correctly handle single checkboxes and grouped ones values: #​2159. Fixed a bug when value was not specified on a checkbox as well as when there is just one checkbox.
  • Adds a community article: #​2157
  • Update contributing guidelines start step: #​2158
  • Force FieldArray to use latest values for validation: #​2166
Credits

Huge thanks to @​wallymathieu, @​eliamaino-fp, and @​mrmuhammadali for helping!

v2.1.0

Compare Source

Minor Changes
  • Add FieldHelpers object to the array returned by useField: #​2124. This
    exposes three helper functions to allow you to imperatively change the
    field in question:

    1. setValue(value: any)
    2. setTouched(value: boolean)
    3. setError(value: string)

    Before

    const MyInput = (props) => {
     const formik = useFormikContext() 
     const [field, meta] = useField(props)
     const handleThing = () => {
        formik.setFieldValue(props.name, 'boop') 
     }
     // ...
    }

    After

    const MyInput = (props) => {
     const [field, meta, helpers] = useField(props)
     const handleThing = () => {
        helpers.setValue('boop') 
     }
     // ...
    }
Credits

Huge thanks to @​drivasperez for helping!

v2.0.11

Compare Source

Patches
  • Keep empty array values on FieldArray: #​2144
Credits

Huge thanks to @​viniciusdacal for helping!

v2.0.10

Compare Source

TS Patch

  • Fix useField<T> generic.

v2.0.9

Compare Source

Patches
  • Hotfix: Revert throwing combined errors: #​2103
  • Abort submit if instance of real Error: #​2104
  • Remove inline cDU usage in FieldArray: #​2114
  • Remodel FieldArray validation side effect to cDU: #​2115
  • Allow forced validation to run anywhere #​2116
  • Handle promise rejection in handleSubmit #​2136
  • Fix unhandled promise exception in low priority validation #​2119

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.

@renovate renovate bot force-pushed the renovate/formik-2.x branch from cfd9d0b to aab1123 Compare December 30, 2019 18:30
@renovate renovate bot changed the title Update dependency formik to v2.0.9 Update dependency formik to v2.0.10 Dec 30, 2019
@renovate renovate bot force-pushed the renovate/formik-2.x branch from aab1123 to 0e89812 Compare December 31, 2019 16:34
@renovate renovate bot changed the title Update dependency formik to v2.0.10 Update dependency formik to v2.0.11 Dec 31, 2019
@renovate renovate bot force-pushed the renovate/formik-2.x branch from 0e89812 to 32fd763 Compare December 31, 2019 16:47
@renovate renovate bot changed the title Update dependency formik to v2.0.11 Update dependency formik to v2.1.0 Dec 31, 2019
@renovate renovate bot force-pushed the renovate/formik-2.x branch from 32fd763 to adb3ec5 Compare January 2, 2020 21:51
@renovate renovate bot changed the title Update dependency formik to v2.1.0 Update dependency formik to v2.1.1 Jan 2, 2020
@renovate renovate bot force-pushed the renovate/formik-2.x branch from adb3ec5 to ccba6e7 Compare January 6, 2020 00:39
@squidsoup squidsoup merged commit 4236ed7 into master Jan 6, 2020
@squidsoup squidsoup deleted the renovate/formik-2.x branch January 6, 2020 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants