Releases: TanStack/form
v0.40.1
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
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.40.0
Version 0.40.0 - 12/10/24, 9:55 PM
Changes
Feat
Packages
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.39.2
Version 0.39.2 - 12/10/24, 4:58 PM
Changes
Fix
Other
- (504f30d) by turkerdev
Packages
- @tanstack/[email protected]
v0.39.1
Version 0.39.1 - 12/10/24, 4:51 PM
Changes
Fix
Chore
Ci
Docs
Packages
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.39.0
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
'suseStore(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 importuseField
from@tanstack/react-form
and adduseField({form, ...otherProps})
as an interim migration strategy.
Packages
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.38.0
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
Ci
- apply automated fixes and generate docs (987510b) by autofix-ci[bot]
- apply automated fixes and generate docs (6cee9ec) by autofix-ci[bot]
Docs
Other
Packages
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.37.1
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
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.37.0
Version 0.37.0 - 11/25/24, 9:03 PM
Changes
Feat
Chore
Packages
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
v0.36.3
v0.36.2
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
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]
- @tanstack/[email protected]