Skip to content

Releases: TanStack/form

v0.41.0

29 Dec 16:14
Compare
Choose a tag to compare

Version 0.41.0 - 12/29/24, 4:14 PM

Changes

Feat

  • make accessing field properties faster and more stable (be7f9bf) by Corbin Crutchley

Packages

v0.40.4

17 Dec 09:17
Compare
Choose a tag to compare

Version 0.40.4 - 12/17/24, 9:16 AM

Changes

Fix

  • set fields to isBlurred only after field blur event (#940) (1f043e9) by Pascal Küsgen

Packages

v0.40.3

16 Dec 22:43
Compare
Choose a tag to compare

Version 0.40.3 - 12/16/24, 10:43 PM

Changes

Fix

  • spread field errors on form onMount validator (#1079) (ab9dd76) by Leonardo Montini

Chore

  • allow unusedLocals in standard-schema example (#1068) (91eb9ab) by Misha Kaletsky

Packages

v0.40.2

14 Dec 10:35
Compare
Choose a tag to compare

Version 0.40.2 - 12/14/24, 10:35 AM

Changes

Fix

  • remove dependency from standard schema and internalize it (#1076) (4503caf) by Leonardo Montini

Chore

  • deprecate adapters for zod and valibot (#1065) (af3f6b3) by Leonardo Montini

Docs

  • rename file (#1073) (8042428) by Leonardo Montini
  • re-add zod import in schema library example (#1069) (939f0cc) by Pascal Küsgen

Packages

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