Release notes
*Sourced from [formik's releases](https://github.com/jaredpalmer/formik/releases).*
> ## v2.0.8
> ### Patches
>
> - Hotfix: Revert throwing combined errors: [#2103](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2103)
> - Abort submit if instance of real Error: [#2104](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2104)
> - Remove inline cDU usage in FieldArray: [#2114](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2114)
> - Remodel FieldArray validation side effect to cDU: [#2115](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2115)
>
>
> https://github.com/jaredpalmer/formik/compare/v2.0.7...v2.0.8
>
> ## v2.0.8-canary.3
> Still testing automated releases.
>
> ## v2.0.8-canary.1
> Testing out automated releases
>
> ## v2.0.8-canary.0
> ### Patches
>
> - Hotfix: Revert throwing combined errors: [#2103](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2103)
> - Abort submit if instance of real Error: [#2104](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2104)
> - Remove inline cDU usage in FieldArray: [#2114](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2114)
> - Remodel FieldArray validation side effect to cDU: [#2115](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2115)
>
> ## v2.0.7
> ## Improvements
>
> - Massive perf boost over 2.0.6! We now save renders by comparing errors more efficiently in useFormik/Formik.
> - FastField is now even faster. We fixed up our implementation of `shouldComponentUpdate` by refactoring the component away from using `static contextType` and back to using the `connect()` higher order component.
>
> ## Bug fixes
>
> - Fixed regression where `dirty` is wasn't re-evaluated after `resetForm()`
> - 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)**
> ```js
> submitForm() // imagine there are some Yup validation errors
> .then(() => console.log("abort submit, did not call onSubmit, and end up here"))
> .catch(() => console.log("abort submit, did not call onSubmit, but only because of a runtime error"));
> ```
>
> **After (2.0.7)**
> ```js
> submitForm() // imagine there are some Yup validation errors
> .then(() => console.log("executed onSubmit"))
> .catch((err) => console.log("aborted submit attempt"));
> ```
> ... (truncated)
Commits
- [`8092921`](https://github.com/jaredpalmer/formik/commit/8092921e24d25edfc0d29cf378175f747e8be449) v2.0.8
- [`a4eaa38`](https://github.com/jaredpalmer/formik/commit/a4eaa3854bea646565ce6feea7bd60bf6b0d57cd) Don't bother with canary, just use master
- [`708bedc`](https://github.com/jaredpalmer/formik/commit/708bedc5134c0f8664b99b057b1d36f15420e27e) Automatic releases, canary channel ([#2118](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2118))
- [`d45c2da`](https://github.com/jaredpalmer/formik/commit/d45c2daa6e48a5c67a0651652b0171f55b30cafc) Merge branch 'master' into canary
- [`6eba226`](https://github.com/jaredpalmer/formik/commit/6eba226712d0a99747435680f76585859b43248c) v2.0.8-canary.3
- [`351ab23`](https://github.com/jaredpalmer/formik/commit/351ab23cdc5d71b5f2aea1918d7873c82c2e2f63) v2.0.8-canary.2
- [`b8156f0`](https://github.com/jaredpalmer/formik/commit/b8156f0c49549a42e794316a998b9016d4cfb7a7) Change link to tsdx
- [`cd16505`](https://github.com/jaredpalmer/formik/commit/cd165058e8ae85b91e6b4a522e3704f86afa1191) Save npm token to .npmrc
- [`f621070`](https://github.com/jaredpalmer/formik/commit/f621070a2bbe6a1e74ab060fad3784236f14c3bd) v2.0.8-canary.1
- [`921b500`](https://github.com/jaredpalmer/formik/commit/921b5000e469e20c22b5ec6e54bd43950668d293) Change case
- Additional commits viewable in [compare view](https://github.com/jaredpalmer/formik/compare/v1.5.8...v2.0.8)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps formik from 1.5.8 to 2.0.8.
Release notes
*Sourced from [formik's releases](https://github.com/jaredpalmer/formik/releases).* > ## v2.0.8 > ### Patches > > - Hotfix: Revert throwing combined errors: [#2103](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2103) > - Abort submit if instance of real Error: [#2104](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2104) > - Remove inline cDU usage in FieldArray: [#2114](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2114) > - Remodel FieldArray validation side effect to cDU: [#2115](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2115) > > > https://github.com/jaredpalmer/formik/compare/v2.0.7...v2.0.8 > > ## v2.0.8-canary.3 > Still testing automated releases. > > ## v2.0.8-canary.1 > Testing out automated releases > > ## v2.0.8-canary.0 > ### Patches > > - Hotfix: Revert throwing combined errors: [#2103](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2103) > - Abort submit if instance of real Error: [#2104](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2104) > - Remove inline cDU usage in FieldArray: [#2114](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2114) > - Remodel FieldArray validation side effect to cDU: [#2115](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2115) > > ## v2.0.7 > ## Improvements > > - Massive perf boost over 2.0.6! We now save renders by comparing errors more efficiently in useFormik/Formik. > - FastField is now even faster. We fixed up our implementation of `shouldComponentUpdate` by refactoring the component away from using `static contextType` and back to using the `connect()` higher order component. > > ## Bug fixes > > - Fixed regression where `dirty` is wasn't re-evaluated after `resetForm()` > - 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)** > ```js > submitForm() // imagine there are some Yup validation errors > .then(() => console.log("abort submit, did not call onSubmit, and end up here")) > .catch(() => console.log("abort submit, did not call onSubmit, but only because of a runtime error")); > ``` > > **After (2.0.7)** > ```js > submitForm() // imagine there are some Yup validation errors > .then(() => console.log("executed onSubmit")) > .catch((err) => console.log("aborted submit attempt")); > ``` > ... (truncated)Commits
- [`8092921`](https://github.com/jaredpalmer/formik/commit/8092921e24d25edfc0d29cf378175f747e8be449) v2.0.8 - [`a4eaa38`](https://github.com/jaredpalmer/formik/commit/a4eaa3854bea646565ce6feea7bd60bf6b0d57cd) Don't bother with canary, just use master - [`708bedc`](https://github.com/jaredpalmer/formik/commit/708bedc5134c0f8664b99b057b1d36f15420e27e) Automatic releases, canary channel ([#2118](https://github-redirect.dependabot.com/jaredpalmer/formik/issues/2118)) - [`d45c2da`](https://github.com/jaredpalmer/formik/commit/d45c2daa6e48a5c67a0651652b0171f55b30cafc) Merge branch 'master' into canary - [`6eba226`](https://github.com/jaredpalmer/formik/commit/6eba226712d0a99747435680f76585859b43248c) v2.0.8-canary.3 - [`351ab23`](https://github.com/jaredpalmer/formik/commit/351ab23cdc5d71b5f2aea1918d7873c82c2e2f63) v2.0.8-canary.2 - [`b8156f0`](https://github.com/jaredpalmer/formik/commit/b8156f0c49549a42e794316a998b9016d4cfb7a7) Change link to tsdx - [`cd16505`](https://github.com/jaredpalmer/formik/commit/cd165058e8ae85b91e6b4a522e3704f86afa1191) Save npm token to .npmrc - [`f621070`](https://github.com/jaredpalmer/formik/commit/f621070a2bbe6a1e74ab060fad3784236f14c3bd) v2.0.8-canary.1 - [`921b500`](https://github.com/jaredpalmer/formik/commit/921b5000e469e20c22b5ec6e54bd43950668d293) Change case - Additional commits viewable in [compare view](https://github.com/jaredpalmer/formik/compare/v1.5.8...v2.0.8)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)