unstale

npm / react-final-form

react-final-form

What changed in react-final-form 5 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

15 breaking2 new APIs and options1 performance12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-final-form 711 changes

Fixes and other changes 11

  • Initial values are no longer lost when destroyOnUnregister is used in StrictMode.

    7.0.1release notes

  • The input prop override is no longer ignored in the Field component.

    7.0.1release notes

  • A select with multiple defaults to an empty array.

    7.0.1release notes

  • Lazy state is spread correctly in FormSpy render props.

    7.0.1release notes

  • onChange is called with the initial state when FormSpy mounts.

    7.0.1release notes

  • Removing the HTMLElement constraint fixes React Native compatibility.

    7.0.1release notes

  • The field name prop no longer shadows DOM properties.

    7.0.1release notes

  • Field name and value stay in sync when the name prop changes dynamically.

    7.0.1release notes

  • Checkbox and radio checked logic now uses parse instead of format.

    7.0.1release notes

  • Spreading props no longer overwrites getter-only properties.

    7.0.1release notes

  • useField now returns the field's initial value, rather than the form's initialValues, on first render.

    7.0.1release notes

react-final-form 64 changes

Breaking changes 3

  • Passing null is no longer allowed; pass an identity function to disable the existing format functionality.

    6.0.0release notes

  • Passing null is no longer allowed; pass an identity function to disable the existing parse functionality.

    6.0.0release notes

  • Changes to the subscription prop are ignored; change the key prop to destroy and remount the component with a new subscription.

    6.0.0release notes

Fixes and other changes 1

  • Fixed form component rerendering so it responds properly to changes in form state.

    6.0.0release notes

react-final-form 515 changes

Breaking changes 12

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • A changed validate prop no longer causes Field to rerender, though the latest validation function still runs; change Field's key when swapping validators with different behavior.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Render props now provide the FormApi as form instead of spreading its methods into the props.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Requires React ^16.8.0 to use hooks.

    5.0.0release notes

  • Removed from FormRenderProps and FormSpyRenderProps; use the form instance instead.

    5.0.0release notes

  • Use this hook to get the Final Form instance out of context, including as a replacement for the removed HOC.

    5.0.0release notes

  • The exported HOC was removed; use useForm() to access the Final Form instance from context.

    5.0.0release notes

New APIs and options 2

  • Exported hook for using field functionality directly, including subscriptions such as touched and error.

    5.0.0release notes

  • Exported hook used internally in FormSpy, enabling direct use of form state.

    5.0.0release notes

Performance 1

  • Hooks enable optimizations to minimize superfluous additional renders.

    5.0.0release notes