Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).*
> ## v4.13.1
> ## Bug Fixes
>
> - Safe field iteration. There was an obscure bug where Final Form would fall over if a field got unregistered during the notification process. [#221](https://github-redirect.dependabot.com/final-form/final-form/issues/221) [#26](https://github-redirect.dependabot.com/final-form/final-form/issues/26)
>
> https://github.com/final-form/final-form/compare/v4.13.0...v4.13.1
>
> ## 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
- [`0d3a886`](https://github.com/final-form/final-form/commit/0d3a88600d723976644e3df9073f329b8c513b3d) 4.13.1
- [`86ea50e`](https://github.com/final-form/final-form/commit/86ea50ee10d5563fac05f07954d5413baf9b6023) Safe field iteration ([#221](https://github-redirect.dependabot.com/final-form/final-form/issues/221))
- [`26ed0e5`](https://github.com/final-form/final-form/commit/26ed0e52c404ea1e7b4f4f76c2305cf7494b5c2c) Added link to Frontier Forms
- [`00ec7e5`](https://github.com/final-form/final-form/commit/00ec7e55886c7aac7d7750332ba9519f262dd378) Added link to Final Form Submit Listener decorator
- [`6a6d514`](https://github.com/final-form/final-form/commit/6a6d514c4150a9b2a74289d8cd513b636b24eeac) Added Vanilla JS Example
- [`e074895`](https://github.com/final-form/final-form/commit/e074895f41715068de39f6e8ce880a7964c2165c) Added test for beforeSubmit
- [`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))
- Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.13.1)
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.1.
Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).* > ## v4.13.1 > ## Bug Fixes > > - Safe field iteration. There was an obscure bug where Final Form would fall over if a field got unregistered during the notification process. [#221](https://github-redirect.dependabot.com/final-form/final-form/issues/221) [#26](https://github-redirect.dependabot.com/final-form/final-form/issues/26) > > https://github.com/final-form/final-form/compare/v4.13.0...v4.13.1 > > ## 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
- [`0d3a886`](https://github.com/final-form/final-form/commit/0d3a88600d723976644e3df9073f329b8c513b3d) 4.13.1 - [`86ea50e`](https://github.com/final-form/final-form/commit/86ea50ee10d5563fac05f07954d5413baf9b6023) Safe field iteration ([#221](https://github-redirect.dependabot.com/final-form/final-form/issues/221)) - [`26ed0e5`](https://github.com/final-form/final-form/commit/26ed0e52c404ea1e7b4f4f76c2305cf7494b5c2c) Added link to Frontier Forms - [`00ec7e5`](https://github.com/final-form/final-form/commit/00ec7e55886c7aac7d7750332ba9519f262dd378) Added link to Final Form Submit Listener decorator - [`6a6d514`](https://github.com/final-form/final-form/commit/6a6d514c4150a9b2a74289d8cd513b636b24eeac) Added Vanilla JS Example - [`e074895`](https://github.com/final-form/final-form/commit/e074895f41715068de39f6e8ce880a7964c2165c) Added test for beforeSubmit - [`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)) - Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.13.1)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.