Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).*
> ## 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) 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) 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
- [`f02fd26`](https://github.com/final-form/final-form/commit/f02fd2699e4cb056b9d55882c1ac0d80e77ef9e7) 4.12.0
- [`83191c5`](https://github.com/final-form/final-form/commit/83191c5223aea216854d5eb769b6a5e64973f5a9) rebuilt
- [`d072aa1`](https://github.com/final-form/final-form/commit/d072aa1054efc0255abed5b00d8827b720df53e3) Upgraded deps
- [`999dbcb`](https://github.com/final-form/final-form/commit/999dbcba184dbe5ff7d048a778998c7732d63ef7) Added modified flag for fields ([#201](https://github-redirect.dependabot.com/final-form/final-form/issues/201))
- [`0aec473`](https://github.com/final-form/final-form/commit/0aec473a9dbbc56b58493fa6804e050859931a5a) Added defaultValue and initialValue options to FieldConfig ([#200](https://github-redirect.dependabot.com/final-form/final-form/issues/200))
- [`13a0305`](https://github.com/final-form/final-form/commit/13a030559021b050a94762b2d79355a76349315d) accept function as argument in initialize() ([#199](https://github-redirect.dependabot.com/final-form/final-form/issues/199))
- [`b2aa455`](https://github.com/final-form/final-form/commit/b2aa45545a517fb29e0bf5040030a5dc5c9b64da) Linked to CorpusculeJS in README
- [`d424535`](https://github.com/final-form/final-form/commit/d424535c43e6d06d0c0a6b5ce337c7c90b9408c3) 4.11.1
- [`4590d77`](https://github.com/final-form/final-form/commit/4590d7716833d248a7c96397b7321033d66de7c5) Downgraded event-stream
- [`f00b034`](https://github.com/final-form/final-form/commit/f00b03444cc569abf2fd2ca3490ad8489f4913d2) Update README.md ([#189](https://github-redirect.dependabot.com/final-form/final-form/issues/189))
- Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.12.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.12.0.
Release notes
*Sourced from [final-form's releases](https://github.com/final-form/final-form/releases).* > ## 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) 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) 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
- [`f02fd26`](https://github.com/final-form/final-form/commit/f02fd2699e4cb056b9d55882c1ac0d80e77ef9e7) 4.12.0 - [`83191c5`](https://github.com/final-form/final-form/commit/83191c5223aea216854d5eb769b6a5e64973f5a9) rebuilt - [`d072aa1`](https://github.com/final-form/final-form/commit/d072aa1054efc0255abed5b00d8827b720df53e3) Upgraded deps - [`999dbcb`](https://github.com/final-form/final-form/commit/999dbcba184dbe5ff7d048a778998c7732d63ef7) Added modified flag for fields ([#201](https://github-redirect.dependabot.com/final-form/final-form/issues/201)) - [`0aec473`](https://github.com/final-form/final-form/commit/0aec473a9dbbc56b58493fa6804e050859931a5a) Added defaultValue and initialValue options to FieldConfig ([#200](https://github-redirect.dependabot.com/final-form/final-form/issues/200)) - [`13a0305`](https://github.com/final-form/final-form/commit/13a030559021b050a94762b2d79355a76349315d) accept function as argument in initialize() ([#199](https://github-redirect.dependabot.com/final-form/final-form/issues/199)) - [`b2aa455`](https://github.com/final-form/final-form/commit/b2aa45545a517fb29e0bf5040030a5dc5c9b64da) Linked to CorpusculeJS in README - [`d424535`](https://github.com/final-form/final-form/commit/d424535c43e6d06d0c0a6b5ce337c7c90b9408c3) 4.11.1 - [`4590d77`](https://github.com/final-form/final-form/commit/4590d7716833d248a7c96397b7321033d66de7c5) Downgraded event-stream - [`f00b034`](https://github.com/final-form/final-form/commit/f00b03444cc569abf2fd2ca3490ad8489f4913d2) Update README.md ([#189](https://github-redirect.dependabot.com/final-form/final-form/issues/189)) - Additional commits viewable in [compare view](https://github.com/final-form/final-form/compare/v4.11.0...v4.12.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.