All Versions
10
Latest Version
Avg Release Cycle
20 days
Latest Release
73 days ago

Changelog History

  • v2.1.5

    July 14, 2020

    πŸ›  Bugfixes

    • Properly handle nested array data in prepareDataForValidation. (#2265)
    • πŸ›  Fix 2.1.4 regression with initialValues updating (#2318)
    • ⏱ Correct import of LowPriority from scheduler
    • ⚑️ Updated innerRef type signature (#2325)
    • πŸ›  Fix handleChange / handleBlur typings (#2472)
    • πŸ›  Fix peer dependency version (#2451)
    • πŸ›  Fixed @typescript-eslint/unbound-method warning.

    Internal

    • License changed from MIT to Apache 2.0. Formik is 100% still open source. We don't want people using the logo/trademark commercially without our permission.
    • Intellectual Property and Copyright transferred from Jared Palmer to Formik Inc. Happy to answer questions via DM at hello@formik.com

    Commits

    • Properly handle nested array data in prepareDataForValidation. (#2265)
    • πŸ›  Fix 2.1.4 regression with initialValues updating (#2318)
    • βž• Added "shouldValidate" to "setValue" and "setTouched" field hel… (#2371)
    • βž• Add FieldProps change to v2 migration guide (#2356)
    • ⏱ Correct import of LowPriority from scheduler
    • πŸ›  Fix: return onSubmit promise result in submission (#2420)
    • πŸ›  fix: Update innerRef type signature (#2325)
    • πŸ›  Fix handleChange / handleBlur typings (#2472)
    • πŸ›  Fix peer dependency version (#2451)
    • πŸ‘‰ Make validateOnMount rerun validations when initialValues have changed
    • ⚑️ Update LICENSE
    • πŸ”€ Merge pull request #2507 from stefanoverna/fix-validateonmount
    • πŸ”€ Merge pull request #2438 from helious/master
    • πŸ›  Fixes @typescript-eslint/unbound-method.

    v2.1.4...v2.1.5

  • v2.1.5-canary.0

    July 14, 2020
  • v2.1.4

    July 14, 2020
  • v2.1.4-canary.0

    February 06, 2020

    Patches

    • πŸ“„ Docs: mention that ref prop currently doesn't work: #2235
    • πŸ›  Fix typo in 'Field' docs: #2236
    • πŸ›  Fix typo in api docs: #2232
    • βž• Adds the same behavior in the resetForm as a formik v1.: #2205
    • βž• Add Gremlin to users: #2216
    • πŸ›  Fix validateOnMount useEffect issue: #2243
    • ⚑️ [ImgBot] Optimize images: #2252
    • βž• Add basic-typescript codesandbox example folder: 8bd2b54
    • βž• Add array example: 21ca9a6
    • βž• Add checkbox example: 0c803ba
    • βž• Add Radio Group example: f67e217
    • βž• Add async submission example: ce12418
    • βž• Add one-liner readme's to examples: a5210f0
    • πŸ›  Fix combined validations example: fd35d5a
    • βž• Add instant feedback example: 6e963ca
    • Created new page with links to wrapper libs: #2269
    • ⚑️ Updated docusaurus to v1.14.4: #2264
    • ⚑️ Update JS-doc for mapPropsToErrors to reference errors state: #2258
    • βž• Add setError to v2 breaking changes doc: #2272
    • ⬆️ Upgrade to tsdx 12: #2275

    Credits

    Huge thanks to @brunohkbx, @aloeugene, @mstanielewicz, @krailler, @zslabs, @whazap, @jcolbyfisher, @jkimbo, and @lukebrobbs for helping!

  • v2.1.3

    January 28, 2020

    Patches

    • Start examples page: 8f998ae
    • Be nicer around unspecified checkboxes : #2198. Previously, Formik would throw if a checkbox's key wasn't specified in initialValues and a value wasn't specified at /. Now we are nicer about it, and set the next value to true instead of throwing.
    • πŸ›  Fix compat with latest @types/react: #2214
    • Attempt to fix codesandbox: #2218
    • Try using forwardRef (bypassed commit hooks, sorry!): 67ff970
    • βͺ Revert "Try using forwardRef (bypassed commit hooks, sorry!)": 4ff1c5c
    • ⚑️ Update useField docs: #2233
    • ⚑️ Update field.md: #2228
    • ⚑️ Update SECURITY.md to conform to semver: #2227
    • πŸ‘‰ Make num of rows in example equal: #2226
    • πŸ›  Fix grammar and typos: #2225
    • Load Snack code from external source so it stays up to date: #2242

    Credits

    Huge thanks to @mackness, @JanCizmar, @is2ei, @leonvisscher, @stephan281094, and @brentvatne for helping!

    v2.1.2...v2.1.3

  • v2.1.3-canary.1

    January 28, 2020

    Patches

    • Attempt to fix codesandbox: #2218
    • Try using forwardRef (bypassed commit hooks, sorry!): 67ff970
    • βͺ Revert "Try using forwardRef (bypassed commit hooks, sorry!)": 4ff1c5c
    • ⚑️ Update useField docs: #2233
    • ⚑️ Update field.md: #2228
    • ⚑️ Update SECURITY.md to conform to semver: #2227
    • πŸ‘‰ Make num of rows in example equal: #2226
    • πŸ›  Fix grammar and typos: #2225
    • Load Snack code from external source so it stays up to date: #2242

    Credits

    Huge thanks to @mackness, @JanCizmar, @is2ei, @leonvisscher, @stephan281094, and @brentvatne for helping!

  • v2.1.3-canary.0

    January 15, 2020

    Patches

    • Start examples page: 8f998ae
    • Be nicer around unspecified checkboxes: #2198
    • πŸ›  Fix compat with latest @types/react: #2214
  • v2.1.2

    January 13, 2020

    Patches

    • πŸ›  Fix broken formatting on useField docs: 587c5ee
    • πŸ”€ Merge pull request #2175 from zingerj/patch-1: 7173d74
    • πŸ›  Fix hasOwnProperty: #2178
    • πŸ›  Fix for Object-like data without hasOwnProperty: #2177
    • πŸ›  Fix now.sh upstream: 4b23009
    • πŸ›  Fix now docs deploys by specifying node engine: 7f00fd6
    • βž• Add generic to FieldHelperProps typings: #2179
    • βœ… Run tests on node 12: 9c1b0d0
    • πŸ›  Fix typo in Field documentation: #2183
    • Patch to getValueForCheckbox to resolve issues with undefined values: #2188
    • πŸ›  Fix use event callback in handlers: #2187
    • ⚑️ Update type of as and component props in FieldConfig to enable using forwardRef wrapped components with Field and FastField (#2193): #2182
    • Trigger onReset when resetForm is called, not just handleReset: #2201
    • ⬆️ Upgrade deps: #2203
    • Document the v2 breaking change of validate: #2195
    • βž• Add submitForm to FormikHelpers to allow form re-submit: #2185
    • βš™ Run validationSchema for validateField calls: #1784
    • πŸ”¦ Expose formikbag as imperative methods: #1972

    Credits

    Huge thanks to @BjoernRave, @emrosenf, @kristenmills, @dremex, @zachintosh, @deini, @brunohkbx, @Menardi, @gwn, @fabb, and @jamesmosier for helping!

    v2.1.1...v2.1.2

  • v2.1.2-canary.1

    January 13, 2020

    Patches

    • Trigger onReset when resetForm is called, not just handleReset: #2201
    • ⬆️ Upgrade deps: #2203
    • Document the v2 breaking change of validate: #2195
    • βž• Add submitForm to FormikHelpers to allow form re-submit: #2185
    • βš™ Run validationSchema for validateField calls: #1784
    • πŸ”¦ Expose formikbag as imperative methods: #1972

    Credits

    Huge thanks to @brunohkbx, @Menardi, @gwn, @fabb, and @jamesmosier for helping!

  • v2.1.2-canary.0

    January 13, 2020

    Patches

    • πŸ›  Fix broken formatting on useField docs: 587c5ee
    • πŸ”€ Merge pull request #2175 from zingerj/patch-1: 7173d74
    • πŸ›  Fix hasOwnProperty: #2178
    • πŸ›  Fix for Object-like data without hasOwnProperty: #2177
    • πŸ›  Fix now.sh upstream: 4b23009
    • πŸ›  Fix now docs deploys by specifying node engine: 7f00fd6
    • βž• Add generic to FieldHelperProps typings: #2179
    • βœ… Run tests on node 12: 9c1b0d0
    • πŸ›  Fix typo in Field documentation: #2183
    • Patch to getValueForCheckbox to resolve issues with undefined values: #2188
    • πŸ›  Fix use event callback in handlers: #2187
    • ⚑️ Update type of as and component props in FieldConfig to enable using forwardRef wrapped components with Field and FastField (#2193): #2182

    Credits

    Huge thanks to @BjoernRave, @emrosenf, @kristenmills, @dremex, @zachintosh, and @deini for helping!