Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).*
> ## v4.13.0
> ## New Features
> - Added beforeSubmit and afterSubmit callbacks to FieldConfig [#216](https://github-redirect.dependabot.com/final-form/final-form/issues/216)
>
> ## Bug Fixes
> - Guard against deleted entry in notify [#214](https://github-redirect.dependabot.com/final-form/final-form/issues/214) [#159](https://github-redirect.dependabot.com/final-form/react-final-form/issues/159)
> - Don't call onSubmit while submitting [#202](https://github-redirect.dependabot.com/final-form/final-form/issues/202) [#433](https://github-redirect.dependabot.com/final-form/react-final-form/pull/433)
> - Improve performance of setIn [#211](https://github-redirect.dependabot.com/final-form/final-form/issues/211) [#193](https://github-redirect.dependabot.com/final-form/final-form/issues/193)
>
> ## Typing Fixes
> - Dynamically generate ConfigKey using keyof [#208](https://github-redirect.dependabot.com/final-form/final-form/issues/208)
> - Improvements to the Typescript types around FormData [#209](https://github-redirect.dependabot.com/final-form/final-form/issues/209)
>
> https://github.com/final-form/final-form/compare/v4.12.0...v4.13.0
>
> ## v4.12.0
> ## 🎉 New Features 🎉
>
> - The argument to `initialize` can now optionally be a function that takes the current values and returns the new initial values. [#199](https://github-redirect.dependabot.com/final-form/final-form/issues/199)
> - Added `defaultValue` and `initialValue` values to `FieldConfig`, thus allowing fields to be initialized at registration time. [#200](https://github-redirect.dependabot.com/final-form/final-form/issues/200) [#387](https://github-redirect.dependabot.com/final-form/react-final-form/issues/387)
> - Added `modified` flag for all fields. A field becomes `modified` the first time its value changes. Previously, with `dirty`, if the user returned the value to the initial value, the form state had no evidence that the value had ever changed. This is what `modified` provides. [#201](https://github-redirect.dependabot.com/final-form/final-form/issues/201)
>
> https://github.com/final-form/final-form/compare/v4.11.1...v4.12.0
>
> ## v4.11.1
> ## Bug Fixes
>
> - Fixed problem where field array removal was broken when `destroyOnUnmount` was `true`. [#197](https://github-redirect.dependabot.com/final-form/final-form/issues/197) [#35](https://github-redirect.dependabot.com/final-form/react-final-form-arrays/issues/35)
> - Fixed fields not being notified about `submitting`. [#196](https://github-redirect.dependabot.com/final-form/final-form/issues/196) [#195](https://github-redirect.dependabot.com/final-form/final-form/issues/195)
Commits
- [`16ff3a4`](https://github.com/final-form/final-form/commit/16ff3a4cac0dbfa0aacdc5f5d6b63493c99b7954) 4.13.0
- [`b1149b5`](https://github.com/final-form/final-form/commit/b1149b515b77677cc1ad4d7ce3b6ba590605da06) Updated version variable
- [`1712b17`](https://github.com/final-form/final-form/commit/1712b176c29cc190e36f6160120a7d84571cf6a1) Added beforeSubmit and afterSubmit to FieldConfig ([#216](https://github-redirect.dependabot.com/final-form/final-form/issues/216))
- [`6618db1`](https://github.com/final-form/final-form/commit/6618db117c48133c22afe52d32bf09cb1327f3ac) guard against deleted entry in notify ([#214](https://github-redirect.dependabot.com/final-form/final-form/issues/214))
- [`0402aaf`](https://github.com/final-form/final-form/commit/0402aafbcb34e162a7103aa0721895d66f63af45) dynamically generate ConfigKey using keyof ([#208](https://github-redirect.dependabot.com/final-form/final-form/issues/208))
- [`57bd8a0`](https://github.com/final-form/final-form/commit/57bd8a0ff1c0e6a6086d98a2a406ded1fadbaa01) Dont call onSubmit while submitting ([#202](https://github-redirect.dependabot.com/final-form/final-form/issues/202))
- [`9f9abe6`](https://github.com/final-form/final-form/commit/9f9abe6e41920aef4f970ce94254fc02c892329f) Improvements to the Typescript types around FormData ([#209](https://github-redirect.dependabot.com/final-form/final-form/issues/209))
- [`ac180a7`](https://github.com/final-form/final-form/commit/ac180a7cdb0a7697b921470f10a19869f2405f6c) improve performance of setIn ([#211](https://github-redirect.dependabot.com/final-form/final-form/issues/211))
- [`f02fd26`](https://github.com/final-form/final-form/commit/f02fd2699e4cb056b9d55882c1ac0d80e77ef9e7) 4.12.0
- [`83191c5`](https://github.com/final-form/final-form/commit/83191c5223aea216854d5eb769b6a5e64973f5a9) rebuilt
- Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.13.0)
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 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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps final-form from 4.11.0 to 4.13.0.
Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).* > ## v4.13.0 > ## New Features > - Added beforeSubmit and afterSubmit callbacks to FieldConfig [#216](https://github-redirect.dependabot.com/final-form/final-form/issues/216) > > ## Bug Fixes > - Guard against deleted entry in notify [#214](https://github-redirect.dependabot.com/final-form/final-form/issues/214) [#159](https://github-redirect.dependabot.com/final-form/react-final-form/issues/159) > - Don't call onSubmit while submitting [#202](https://github-redirect.dependabot.com/final-form/final-form/issues/202) [#433](https://github-redirect.dependabot.com/final-form/react-final-form/pull/433) > - Improve performance of setIn [#211](https://github-redirect.dependabot.com/final-form/final-form/issues/211) [#193](https://github-redirect.dependabot.com/final-form/final-form/issues/193) > > ## Typing Fixes > - Dynamically generate ConfigKey using keyof [#208](https://github-redirect.dependabot.com/final-form/final-form/issues/208) > - Improvements to the Typescript types around FormData [#209](https://github-redirect.dependabot.com/final-form/final-form/issues/209) > > https://github.com/final-form/final-form/compare/v4.12.0...v4.13.0 > > ## v4.12.0 > ## 🎉 New Features 🎉 > > - The argument to `initialize` can now optionally be a function that takes the current values and returns the new initial values. [#199](https://github-redirect.dependabot.com/final-form/final-form/issues/199) > - Added `defaultValue` and `initialValue` values to `FieldConfig`, thus allowing fields to be initialized at registration time. [#200](https://github-redirect.dependabot.com/final-form/final-form/issues/200) [#387](https://github-redirect.dependabot.com/final-form/react-final-form/issues/387) > - Added `modified` flag for all fields. A field becomes `modified` the first time its value changes. Previously, with `dirty`, if the user returned the value to the initial value, the form state had no evidence that the value had ever changed. This is what `modified` provides. [#201](https://github-redirect.dependabot.com/final-form/final-form/issues/201) > > https://github.com/final-form/final-form/compare/v4.11.1...v4.12.0 > > ## v4.11.1 > ## Bug Fixes > > - Fixed problem where field array removal was broken when `destroyOnUnmount` was `true`. [#197](https://github-redirect.dependabot.com/final-form/final-form/issues/197) [#35](https://github-redirect.dependabot.com/final-form/react-final-form-arrays/issues/35) > - Fixed fields not being notified about `submitting`. [#196](https://github-redirect.dependabot.com/final-form/final-form/issues/196) [#195](https://github-redirect.dependabot.com/final-form/final-form/issues/195)Commits
- [`16ff3a4`](https://github.com/final-form/final-form/commit/16ff3a4cac0dbfa0aacdc5f5d6b63493c99b7954) 4.13.0 - [`b1149b5`](https://github.com/final-form/final-form/commit/b1149b515b77677cc1ad4d7ce3b6ba590605da06) Updated version variable - [`1712b17`](https://github.com/final-form/final-form/commit/1712b176c29cc190e36f6160120a7d84571cf6a1) Added beforeSubmit and afterSubmit to FieldConfig ([#216](https://github-redirect.dependabot.com/final-form/final-form/issues/216)) - [`6618db1`](https://github.com/final-form/final-form/commit/6618db117c48133c22afe52d32bf09cb1327f3ac) guard against deleted entry in notify ([#214](https://github-redirect.dependabot.com/final-form/final-form/issues/214)) - [`0402aaf`](https://github.com/final-form/final-form/commit/0402aafbcb34e162a7103aa0721895d66f63af45) dynamically generate ConfigKey using keyof ([#208](https://github-redirect.dependabot.com/final-form/final-form/issues/208)) - [`57bd8a0`](https://github.com/final-form/final-form/commit/57bd8a0ff1c0e6a6086d98a2a406ded1fadbaa01) Dont call onSubmit while submitting ([#202](https://github-redirect.dependabot.com/final-form/final-form/issues/202)) - [`9f9abe6`](https://github.com/final-form/final-form/commit/9f9abe6e41920aef4f970ce94254fc02c892329f) Improvements to the Typescript types around FormData ([#209](https://github-redirect.dependabot.com/final-form/final-form/issues/209)) - [`ac180a7`](https://github.com/final-form/final-form/commit/ac180a7cdb0a7697b921470f10a19869f2405f6c) improve performance of setIn ([#211](https://github-redirect.dependabot.com/final-form/final-form/issues/211)) - [`f02fd26`](https://github.com/final-form/final-form/commit/f02fd2699e4cb056b9d55882c1ac0d80e77ef9e7) 4.12.0 - [`83191c5`](https://github.com/final-form/final-form/commit/83191c5223aea216854d5eb769b6a5e64973f5a9) rebuilt - Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.13.0)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 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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.