Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/fix-nested-errors-on-manual-validate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-crews-smash.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/angular/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@tanstack/angular-form": "^1.27.7",
"@tanstack/angular-form": "^1.28.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/angular/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@tanstack/angular-form": "^1.27.7",
"@tanstack/angular-form": "^1.28.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/angular/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@tanstack/angular-form": "^1.27.7",
"@tanstack/angular-form": "^1.28.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/angular/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@tanstack/angular-form": "^1.27.7",
"@tanstack/angular-form": "^1.28.0",
"effect": "^3.17.14",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/lit/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/lit-form": "^1.23.19",
"@tanstack/lit-form": "^1.23.20",
"lit": "^3.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/lit/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/lit-form": "^1.23.19",
"@tanstack/lit-form": "^1.23.20",
"lit": "^3.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/lit/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:types": "tsc"
},
"dependencies": {
"@tanstack/lit-form": "^1.23.19",
"@tanstack/lit-form": "^1.23.20",
"arktype": "^2.1.22",
"effect": "^3.17.14",
"lit": "^3.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/lit/ui-libraries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@material/web": "^2.4.0",
"@tanstack/lit-form": "^1.23.19",
"@tanstack/lit-form": "^1.23.20",
"lit": "^3.3.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/react/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"_test:types": "tsc"
},
"dependencies": {
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form": "^1.28.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/field-errors-from-form-validators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/next-server-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"_test:types": "tsc"
},
"dependencies": {
"@tanstack/react-form-nextjs": "^1.27.7",
"@tanstack/react-form-nextjs": "^1.28.0",
"@tanstack/react-store": "^0.8.0",
"next": "15.5.3",
"react": "^19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/query-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"@tanstack/react-query": "^5.89.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@remix-run/node": "^2.17.1",
"@remix-run/react": "^2.17.1",
"@remix-run/serve": "^2.17.1",
"@tanstack/react-form-remix": "^1.27.7",
"@tanstack/react-form-remix": "^1.28.0",
"@tanstack/react-store": "^0.8.0",
"isbot": "^5.1.30",
"react": "^19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"arktype": "^2.1.22",
"effect": "^3.17.14",
"react": "^19.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form-start": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.13",
"@tanstack/react-form-start": "^1.28.0",
"@tanstack/react-router": "^1.134.9",
"@tanstack/react-start": "^1.134.9",
"@tanstack/react-store": "^0.8.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/ui-libraries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@mantine/hooks": "7.17.8",
"@mui/material": "6.5.0",
"@tanstack/react-devtools": "^0.7.8",
"@tanstack/react-form": "^1.27.7",
"@tanstack/react-form-devtools": "^0.2.12",
"@tanstack/react-form": "^1.28.0",
"@tanstack/react-form-devtools": "^0.2.13",
"@yme/lay-postcss": "0.1.0",
"postcss": "8.5.6",
"postcss-preset-mantine": "1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/solid-form": "^1.27.7",
"@tanstack/solid-form": "^1.28.0",
"solid-js": "^1.9.9"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@tanstack/solid-devtools": "^0.7.7",
"@tanstack/solid-form": "^1.27.7",
"@tanstack/solid-form": "^1.28.0",
"@tanstack/solid-form-devtools": "workspace:*",
"solid-js": "^1.9.9"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/solid-form": "^1.27.7",
"@tanstack/solid-form": "^1.28.0",
"solid-js": "^1.9.9"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/solid-form": "^1.27.7",
"@tanstack/solid-form": "^1.28.0",
"solid-js": "^1.9.9"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/solid-form": "^1.27.7",
"@tanstack/solid-form": "^1.28.0",
"arktype": "^2.1.22",
"effect": "^3.17.14",
"react": "^19.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"serve": "vite preview"
},
"dependencies": {
"@tanstack/vue-form": "^1.27.7",
"@tanstack/vue-form": "^1.28.0",
"vue": "^3.5.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"serve": "vite preview"
},
"dependencies": {
"@tanstack/vue-form": "^1.27.7",
"@tanstack/vue-form": "^1.28.0",
"vue": "^3.5.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"serve": "vite preview"
},
"dependencies": {
"@tanstack/vue-form": "^1.27.7",
"@tanstack/vue-form": "^1.28.0",
"arktype": "^2.1.22",
"effect": "^3.17.14",
"react": "^19.0.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/angular-form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @tanstack/angular-form

## 1.28.0

### Patch Changes

- fix: flatten errors consistently when validating before field mount ([#2003](https://github.com/TanStack/form/pull/2003))

Fixed an issue where `field.errors` was incorrectly nested as `[[error]]` instead of `[error]` when `form.validate()` was called manually before a field was mounted. The `flat(1)` operation is now applied by default unless `disableErrorFlat` is explicitly set to true, ensuring consistent error structure regardless of when validation occurs.

- Updated dependencies [[`41faffe`](https://github.com/TanStack/form/commit/41faffee657e753b37132275c2255d29fdd3f325)]:
- @tanstack/form-core@1.28.0

## 1.27.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/angular-form",
"version": "1.27.7",
"version": "1.28.0",
"description": "Powerful, type-safe forms for Angular.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/form-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/form-core

## 1.28.0

### Patch Changes

- fix: flatten errors consistently when validating before field mount ([#2003](https://github.com/TanStack/form/pull/2003))

Fixed an issue where `field.errors` was incorrectly nested as `[[error]]` instead of `[error]` when `form.validate()` was called manually before a field was mounted. The `flat(1)` operation is now applied by default unless `disableErrorFlat` is explicitly set to true, ensuring consistent error structure regardless of when validation occurs.

## 1.27.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/form-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/form-core",
"version": "1.27.7",
"version": "1.28.0",
"description": "Powerful, type-safe, framework agnostic forms.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/form-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/form-devtools

## 0.2.13

### Patch Changes

- Updated dependencies [[`41faffe`](https://github.com/TanStack/form/commit/41faffee657e753b37132275c2255d29fdd3f325)]:
- @tanstack/form-core@1.28.0

## 0.2.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/form-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/form-devtools",
"version": "0.2.12",
"version": "0.2.13",
"description": "Devtools, for TanStack form.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/lit-form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/lit-form

## 1.23.20

### Patch Changes

- Updated dependencies [[`41faffe`](https://github.com/TanStack/form/commit/41faffee657e753b37132275c2255d29fdd3f325)]:
- @tanstack/form-core@1.28.0

## 1.23.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/lit-form",
"version": "1.23.19",
"version": "1.23.20",
"description": "Powerful, type-safe forms for Lit.",
"author": "tannerlinsley",
"license": "MIT",
Expand Down
Loading