Skip to content

Releases: TanStack/form

v0.39.1

10 Dec 16:52
Compare
Choose a tag to compare

Version 0.39.1 - 12/10/24, 4:51 PM

Changes

Fix

  • export useStore in Solid, React, and Vue forms (#1063) (3971cf3) by Corbin Crutchley

Chore

  • deps: update deps manually (#1057) (12e391e) by Lachlan Collins

Ci

  • set codecov target to auto (#1045) (14347a4) by Leonardo Montini

Docs

  • add balastrong"s video tutorials (#1048) (5c875c3) by Leonardo Montini

Packages

v0.39.0

29 Nov 09:06
Compare
Choose a tag to compare

Version 0.39.0 - 11/29/24, 9:06 AM (Manual Release)

Changes

Breaking Changes

This release introduces two breaking changes for our React adapter:

  • Removing form.useStore in favor of @tanstack/react-store's useStore(form.store) API
  • Removing form.useField in favor of other APIs

No other adapters have any changes in any other way.

We did not want to make either of these changes, but were forced to by the React Compiler not allowing for dynamic hooks. We're deeply sorry about these breaking changes and will do our best to mitigate future breaking changes prior to 1.0.

Migration Guides

To fix form.useStore(selectorFn) you should be able to easily replace it with @tanstack/react-store's useStore(form.store, selectorFn). These will behave identically from one another.

form.useField, on the other hand, is more tricky. We generally discouraged you from using this hook from the very beginning and see its usage as an anti-pattern.

While migrating away from useField entirely is a better solution in the long-run, you can also import useField from @tanstack/react-form and add useField({form, ...otherProps}) as an interim migration strategy.

Packages

v0.38.0

29 Nov 08:08
Compare
Choose a tag to compare

Version 0.38.0 - 11/29/24, 8:07 AM (Manual Release)

Changes

Breaking Changes

  • Drop support for TypeScript 4.9 and 5.0
    • TypeScript 5.1 is now required
  • Drop support for Angular 17.3 and 18.x
    • Angular 19 is now required

I'd (Corbin) like to personally apologize for introducing these breaking changes during our RC phase. While working on fixing various bugs we realized we couldn't easily support these versions without majorly impacting users on these older versions of TypeScript and Angular.

Chore

  • add tests for TypeScript 5.4+ (ea4b760) by Corbin Crutchley
  • fix lint (b8d20bd) by Corbin Crutchley

Ci

  • apply automated fixes and generate docs (987510b) by autofix-ci[bot]
  • apply automated fixes and generate docs (6cee9ec) by autofix-ci[bot]

Docs

  • react: move listeners prop to the form field component (#1039) (477e844) by Damian Stasik

Other

Packages

v0.37.1

25 Nov 21:13
Compare
Choose a tag to compare

Version 0.37.1 - 11/25/24, 9:12 PM

Changes

Fix

  • form-core: handle numeric keys as array index only if parent is an array (#993) (a4e76c8) by Leonardo Montini

Packages

v0.37.0

25 Nov 21:04
Compare
Choose a tag to compare

Version 0.37.0 - 11/25/24, 9:03 PM

Changes

Feat

  • core: add field listeners (#1032) (6968cfd) by Harry Whorlow

Chore

  • deps: update dependency isbot to v5 (#1033) (1db18b2) by renovate[bot]

Packages

v0.36.3

23 Nov 12:58
Compare
Choose a tag to compare

Version 0.36.3 - 11/23/24, 12:57 PM

Changes

Fix

  • simplify useForm return type (#1016) (a85cab8) by Leonardo Montini

Packages

v0.36.2

19 Nov 19:59
Compare
Choose a tag to compare

Version 0.36.2 - 11/19/24, 7:58 PM

Changes

Fix

  • form-core: async form validator runs only if sync field & form passed (#1029) (362ce10) by Leonardo Montini

Packages

v0.36.1

19 Nov 18:27
Compare
Choose a tag to compare

Version 0.36.1 - 11/19/24, 6:27 PM

Changes

Fix

  • core: run form submit validator once on submit (#1028) (72516f1) by Leonardo Montini

Chore

  • deps: update dependency rimraf to v6 (#1013) (72579d1) by renovate[bot]
  • deps: update dependency nx to v20 (#1012) (af8a0be) by renovate[bot]

Docs

  • fix empty return on remix (#1022) (4516554) by Leonardo Montini

Packages

v0.36.0

16 Nov 18:06
Compare
Choose a tag to compare

Version 0.36.0 - 11/16/24, 6:06 PM

Changes

Feat

  • react-form: support Remix SSR (#1017) (56d065a) by Adam Nicholson

Packages

v0.35.0

12 Nov 20:34
Compare
Choose a tag to compare

Version 0.35.0 - 11/12/24, 8:33 PM

Changes

Feat

  • add values parameter to form.reset to reset the form with new values (#791) (576cd83) by Valerii Nosikov

Chore

  • update valibot dependency (#1009) (a7adecb) by Fabian Hiller
  • deps: update all non-major dependencies (#1010) (aed3c86) by renovate[bot]

Packages