Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

CHANGELOG.md

348 lines12.5 KB

@tanstack/react-form

1.33.2

Patch Changes

  • #2240 d756476 - Use fresh FieldApi in current render on name change

  • Updated dependencies []:

    • @tanstack/form-core@1.33.2

1.33.1

Patch Changes

1.33.1

Patch Changes

  • Re-export useSelector from @tanstack/react-store (fixes #2203). useStore remains available but is deprecated; prefer import { useSelector } from '@tanstack/react-form'.

1.33.0

Minor Changes

Patch Changes

  • Updated dependencies [808f158]:
    • @tanstack/form-core@1.33.0

1.32.1

Patch Changes

1.32.0

Patch Changes

1.31.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/form-core@1.31.0

1.30.0

Patch Changes

  • Updated dependencies []:
    • @tanstack/form-core@1.30.0

1.29.3

Patch Changes

  • Updated dependencies []:
    • @tanstack/form-core@1.29.3

1.29.2

Patch Changes

  • Remove errant Field.Field usage and useForm().useField() (94f9841)

  • Updated dependencies []:

    • @tanstack/form-core@1.29.2

1.29.1

Patch Changes

  • Updated dependencies [6b8aa1e]:
    • @tanstack/form-core@1.29.1

1.29.0

Minor Changes

  • Adds extension method to AppForm allowing for teams to extend upstream AppForms (#2106)

Patch Changes

  • Updated dependencies []:
    • @tanstack/form-core@1.29.0

1.28.6

Patch Changes

  • fix(core): field unmount (#2068)

  • Updated dependencies [7a1428d]:

    • @tanstack/form-core@1.28.6

1.28.5

Patch Changes

  • Reimplement fallback selector for Subscribe component (#2071)

  • Use a named function for the withForm HOC return to enable Fast Refresh. (#2067)

  • Updated dependencies [39932c1]:

    • @tanstack/form-core@1.28.5

1.28.4

Patch Changes

  • Refactor internals for substancially faster performance (#2035)

  • Updated dependencies [f88faaf]:

    • @tanstack/form-core@1.28.4

1.28.3

Patch Changes

  • form arrays now work again (#2041)

  • Updated dependencies [0b3952d]:

    • @tanstack/form-core@1.28.3

1.28.2

Patch Changes

  • Updated dependencies [a07862d]:
    • @tanstack/form-core@1.28.2

1.28.1

Patch Changes

  • Fix compile error with webpack when using react v17 (#1982)

  • Fix various issues with SSR. Things should now work as-expected in many many more scenarios than before (#1890)

  • Updated dependencies [72d970a]:

    • @tanstack/form-core@1.28.1

1.28.0

Minor Changes

  • add useTypedAppFormContext (#1826)

Patch Changes

  • fix: flatten errors consistently when validating before field mount (#2003)

    Fixed an issue where field.errors was incorrectly nested as [[error]] instead of [error] when form.validate() was called manually before a field was mounted. The flat(1) operation is now applied by default unless disableErrorFlat is explicitly set to true, ensuring consistent error structure regardless of when validation occurs.

  • Updated dependencies [41faffe, 7f2453b]:

    • @tanstack/form-core@1.28.0

1.27.7

Patch Changes

  • Updated dependencies [3519cce]:
    • @tanstack/form-core@1.27.7

1.27.6

Patch Changes

  • Updated dependencies [c526378]:
    • @tanstack/form-core@1.27.6

1.27.5

Patch Changes

1.27.4

Patch Changes

  • fix(react-form): prevent array field re-render when child property changes (#1930)

    Array fields with mode="array" were incorrectly re-rendering when a property on any array element was mutated. This was a regression introduced in v1.27.0 by the React Compiler compatibility changes.

    The fix ensures that mode="array" fields only re-render when the array length changes (items added/removed), not when individual item properties are modified.

    Fixes #1925

  • Updated dependencies [c753d5e]:

    • @tanstack/form-core@1.27.4

1.27.3

Patch Changes

  • Updated dependencies [c2ecf5d]:
    • @tanstack/form-core@1.27.3

1.27.2

Patch Changes

  • use React 18's useId hook by default for formId generation, only calling Math.random() as a fallback if no formId is provided. (#1913)

  • fix(react-form): ensure FormApi.handleSubmit returns a promise again (#1924)

  • Updated dependencies []:

    • @tanstack/form-core@1.27.2

1.27.1

Patch Changes

  • Fix issues with methods not being present in React adapter (#1903)

  • Updated dependencies [3b080ec]:

    • @tanstack/form-core@1.27.1

1.27.0

Patch Changes

  • Minorly improve performance and fix issues with Start (#1882)

  • Fixed issues with React Compiler (#1893)

  • Remove useId for react 17 user compatibility, replaced with uuid (#1850)

  • Updated dependencies [8afbfc3, 4e92a91]:

    • @tanstack/form-core@1.27.0

1.26.0

Patch Changes

  • Updated dependencies [74f40e7]:
    • @tanstack/form-core@1.26.0

1.25.0

Minor Changes

  • Update Start to Release Candidate version. Extracted start, remix and nextJs adapters to the respective libraries @tanstack/react-form-start, @tanstack/react-form-remix, and @tanstack/react-form-nextjs, (#1771)

Patch Changes

  • Updated dependencies [004835f]:
    • @tanstack/form-core@1.25.0

1.23.9

Patch Changes

  • Updated dependencies [8ede6d0]:
    • @tanstack/form-core@1.24.5

1.23.8

Patch Changes

  • Allow interfaces to be assigned to withFieldGroup's props. (#1816)

  • Allow returning all other ReactNodes not just JSX.Element in the render function of withForm and withFieldGroup. (#1817)

  • form-core: Optimise event client emissions and minor layout tweaks (#1758)

  • Updated dependencies [94631cb]:

    • @tanstack/form-core@1.24.4

1.23.7

Patch Changes

  • Updated dependencies [33cce81]:
    • @tanstack/form-core@1.24.3: respect dontValidate option in formApi array modifiers (#1775)

1.23.6

Patch Changes

  • Updated dependencies [74af33e]:
    • @tanstack/form-core@1.24.2: prevent runtime errors when using deleteField (#1706)

1.23.5

Patch Changes

  • Updated dependencies [2cfe44c]:
    • @tanstack/form-core@1.24.1

1.23.4

Patch Changes

  • Updated dependencies [c978946]:
    • @tanstack/form-core@1.24.0

1.23.3

Patch Changes

  • Updated dependencies [f608267]:
    • @tanstack/form-core@1.23.3

1.23.2

Patch Changes

  • Updated dependencies [7cf3728]:
    • @tanstack/form-core@1.23.2

1.23.1

Patch Changes

  • Updated dependencies [db96886]:
    • @tanstack/form-core@1.23.1

1.23.0

Patch Changes

1.21.1

Patch Changes

  • Updated dependencies [d2b6063]:
    • @tanstack/form-core@1.22.0