Skip to content

Releases: TanStack/form

v0.40.1

11 Dec 20:33
Compare
Choose a tag to compare

Version 0.40.1 - 12/11/24, 8:32 PM

Changes

Fix

  • allow standard schema validator on field validators without explicit adapter (#1064) (8e7ca78) by Leonardo Montini

Packages

v0.40.0

10 Dec 21:55
Compare
Choose a tag to compare

Version 0.40.0 - 12/10/24, 9:55 PM

Changes

Feat

  • native support for standard schema libraries (#1020) (6a82b7f) by Leonardo Montini

Packages

v0.39.2

10 Dec 16:58
Compare
Choose a tag to compare

Version 0.39.2 - 12/10/24, 4:58 PM

Changes

Fix

  • remove errant TypeScript types (#1062) (52b9572) by Corbin Crutchley

Other

Packages

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