Skip to content

[frontend] chore(deps): update dependency final-form to v5#4565

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/final-form-5.x
Open

[frontend] chore(deps): update dependency final-form to v5#4565
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/final-form-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 14, 2025

This PR contains the following updates:

Package Change Age Confidence
final-form 4.20.105.0.1 age confidence

Release Notes

final-form/final-form (final-form)

v5.0.1

Compare Source

v5.0.1

A big batch of bug fixes that have accumulated since the v5.0.0 release. No breaking changes.

New
  • ignoreUnregister config option — Fields that unregister will have their values ignored during validation and submission, without needing destroyOnUnmount. Useful for multi-step forms. (#​500)
Bug Fixes

Validation

  • Fixed async validation race condition — per-field async promises are now tracked individually so stale results from previous runs can't overwrite current ones (#​513, fixes #​509)
  • Fixed infinite loop when an async validation promise rejects — the stale promise is now cleared so it can't retry forever (#​530, fixes #​166)
  • Fixed validation not running correctly when a field has both array-level and item-level validators (#​524, fixes #​482)
  • Fixed crash when a field is unregistered while validation is in-flight (#​531, fixes #​186)
  • Fixed crash when getValidators encounters an undefined field (#​532, fixes #​158)

Submission

  • Fixed beforeSubmit not being called before the sync errors check — it can now prevent submission even when there are no sync errors (#​522)
  • Fixed submitErrors being wiped when sync validation fails after a failed submission (#​521, fixes #​437)

Field State

  • Fixed keepDirtyOnReinitialize not working correctly with array fields (#​538, fixes #​366)
  • Fixed modified flag not being cleared after reset() / initialize() (#​536, fixes #​317)
  • Fixed dirty state not being tracked for unregistered FieldArray fields (#​528, fixes #​487)
  • Fixed crash when unregistering a field that had been renamed (#​533, fixes #​191)
  • Fixed initialValues not updating when a field's initialValue prop changes (#​543, fixes #​988)

Values / setIn

  • Fixed decimal, negative, and zero-padded numbers being treated as array indexes instead of object keys (e.g., values["1.5"] no longer becomes an array) (#​526)
  • Fixed string error values being lost when removing nested field keys in setIn (#​527)
  • Fixed setIn crashing on undefined state (#​535, fixes #​909)
  • Fixed inability to register fields with reserved property names like constructor (#​520)

TypeScript

  • FormState.values is now correctly typed as non-optional (#​502)
  • Fixed return type of submit function in type declarations (#​499)
  • Fixed isEqual initialization TypeScript error (#​517)
  • Added types field to package.json for better tooling compatibility (#​518)
  • blur, change, and focus are now guaranteed to always be functions (#​519, fixes #​472)

v5.0.0

Compare Source

This release has converted the entire library from Flow to TypeScript.

There should be NO BREAKING CHANGES, but because so much code was touched, I'm bumping to a major version out of precaution.

Read more here: Final Form goes to TypeScript


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team labels Dec 14, 2025
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch 2 times, most recently from 894c47f to fe1994b Compare December 17, 2025 21:30
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from fe1994b to d549987 Compare December 31, 2025 21:09
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch 2 times, most recently from 69523f5 to 541a2b1 Compare February 2, 2026 21:34
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch 2 times, most recently from 1534c89 to 43adefb Compare February 17, 2026 21:51
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from 43adefb to 2243c0a Compare March 5, 2026 23:18
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from 2243c0a to 05161e3 Compare March 14, 2026 01:28
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch 2 times, most recently from ff5e17a to 08da65f Compare April 8, 2026 21:15
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from 08da65f to 37a2b5c Compare April 29, 2026 23:02
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from 37a2b5c to 607ee7e Compare May 8, 2026 21:33
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 36.99%. Comparing base (4c20ae2) to head (db71c66).

❌ Your project check has failed because the head coverage (0.47%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #4565   +/-   ##
=========================================
  Coverage     36.99%   36.99%           
  Complexity     4922     4922           
=========================================
  Files          1881     1881           
  Lines         49560    49560           
  Branches       6191     6193    +2     
=========================================
  Hits          18333    18333           
- Misses        30132    30138    +6     
+ Partials       1095     1089    -6     
Flag Coverage Δ
backend 59.02% <ø> (ø)
e2e 24.89% <ø> (ø)
frontend 0.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot force-pushed the renovate/final-form-5.x branch 2 times, most recently from db71c66 to a427f70 Compare May 18, 2026 23:31
@renovate renovate Bot force-pushed the renovate/final-form-5.x branch from a427f70 to b4d7407 Compare May 19, 2026 20:35
@renovate renovate Bot changed the base branch from master to main May 19, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants