Releases: TanStack/form
v0.23.0
Version 0.23.0 - 6/20/24, 3:35 AM
Changes
Feat
- add formOptions API, add new exports from
@tanstack/react-form/nextjs
, remove createFormFactory (a9e3852) by Corbin Crutchley
This version changes a fair bit if you are using the following APIs:
formFactory
(React, Vue, Lit, Solid)onServerValidate
(React)
formFactory
If you are using a formFactory
API, please remove it in favor of the new formOptions
function.
// Old
const formFactory = createFormFactory<Person>({
defaultValues: {
firstName: '',
lastName: '',
hobbies: [],
},
})
formFactory.useForm({})
// New
const formOpts = formOptions<Person>({
defaultValues: {
firstName: '',
lastName: '',
hobbies: [],
},
})
useForm(formOpts)
While not a 1:1 API, we believe that any existing usages of
formFactory
are better suited forformOptions
onServerValidate
Instead of using onServerValidate
on a formFactory
, you'll want to follow our new SSR guidance:
https://tanstack.com/form/latest/docs/framework/react/guides/ssr
You can see the diff of the old SSR guide and the new one here:
a9e3852#diff-7589cfcbf048311003c3cdc2e48d40fe17dbb21a88c1070695758e43f8efe898
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.22.1
v0.22.0
Version 0.22.0 - 6/19/24, 7:11 AM (Manual Release)
Changes
To migrate, call your validators like:
validator: yupValidator()
And no longer like:
validator: yupValidator
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.21.1
Version 0.21.1 - 6/19/24, 6:29 AM
Changes
Fix
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.21.0
Version 0.21.0 - 6/10/2024, 10:27 PM
Changes
Feat
Fix
Docs
- fix typos in SSR warning (#731) (8076d16) by Corbin Crutchley
- add note about backend leak on ssr example (#730) (3cec2a3) by Benjamín Vicente
Other
- feat!: upgrade and migrate Valibot to v0.31.0 (#729) (2c87480) by Fabian Hiller
- feat!: rename insertValue to replaceValue and add new insertValue implementation (#697) (ecae7bb) 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.20.3
Version 0.20.3 - 6/2/2024, 8:10 PM
Changes
Fix
- core: validate array fields properly if their values are changed (0201e65) by Joshua Gawenda
Docs
- add array mode on react guide (#721) (3e827af) by Leonardo Montini
- mention useStore in favor of useField (#722) (a3b92af) by Leonardo Montini
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.20.2
Version 0.20.2 - 5/28/2024, 6:06 PM
Changes
Fix
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.20.1
Version 0.20.1 - 5/28/2024, 5:41 PM
Changes
Fix
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.20.0
Version 0.20.0 - 5/22/2024, 7:00 AM
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.19.5
Version 0.19.5 - 5/13/2024, 8:59 AM (Manual Release)
Changes
Chore
- Update @tanstack/config to v0.7.4 (#703) (5e8ad29) by Lachlan Collins
- Enable link-workspace-packages (#702) (8ea328b) by Lachlan Collins
- migrate to PNPM version 9, fix build on Windows (#694) (ab412c9) by Corbin Crutchley
Docs
- add async initial values examples (#688) (d949c0b) by Corbin Crutchley
- update
react-hook-form
column in comparision table (#673) (c3a2fd2) by @AhmedBaset
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]