Skip to content

Commit 3c369df

Browse files
committed
Merge branch 'main' into fix-ssr-issue
# Conflicts: # examples/react/next-server-actions/package.json
2 parents b91b88d + 6a5e1c1 commit 3c369df

File tree

232 files changed

+2825
-1122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+2825
-1122
lines changed

.changeset/metal-times-remain.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@tanstack/react-form': patch
3+
'@tanstack/react-form-nextjs': patch
4+
---
5+
6+
use React 18's useId hook by default for formId generation, only calling Math.random() as a fallback if no formId is provided.

.changeset/metal-views-accept.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/form-devtools': patch
3+
---
4+
5+
Update @tanstack/devtools-utils to 0.0.9, fixes react 17 conflict

.changeset/witty-chefs-greet.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/autofix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v5.0.0
29+
uses: actions/checkout@v6.0.1
3030
- name: Setup Tools
3131
uses: tanstack/config/.github/setup@main
3232
- name: Fix formatting
33-
run: pnpm prettier:write
33+
run: pnpm format
3434
- name: Generate Docs
3535
if: ${{ github.event_name == 'push' || github.event.inputs.generate-docs == true }}
3636
run: pnpm generate-docs

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5.0.0
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Start Nx Agents
3030
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
3131
- name: Setup Tools
3232
uses: tanstack/config/.github/setup@main
3333
- name: Get base and head commits for `nx affected`
34-
uses: nrwl/nx-set-shas@v4.3.3
34+
uses: nrwl/nx-set-shas@v4.4.0
3535
with:
3636
main-branch-name: main
3737
- name: Run Checks
@@ -50,7 +50,7 @@ jobs:
5050
runs-on: ubuntu-latest
5151
steps:
5252
- name: Checkout
53-
uses: actions/checkout@v5.0.0
53+
uses: actions/checkout@v6.0.1
5454
with:
5555
fetch-depth: 0
5656
- name: Setup Tools
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v5.0.0
67+
uses: actions/checkout@v6.0.1
6868
with:
6969
fetch-depth: 0
7070
- name: Check Provenance

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5.0.0
26+
uses: actions/checkout@v6.0.1
2727
with:
2828
fetch-depth: 0
2929
- name: Setup Tools
@@ -39,4 +39,3 @@ jobs:
3939
title: 'ci: Version Packages'
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/framework/angular/guides/basic-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ onCountryChange: FieldListenerFn<any, any, any, any, string> = ({
259259
}
260260
```
261261

262-
More information can be found at [Listeners](../listeners.md)
262+
More information can be found at [Listeners](./listeners.md)
263263

264264
## Array Fields
265265

docs/framework/angular/guides/submission-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class AppComponent {
6565

6666
## Transforming data with Standard Schemas
6767

68-
While Tanstack Form provides [Standard Schema support](../validation.md) for validation, it does not preserve the Schema's output data.
68+
While Tanstack Form provides [Standard Schema support](./validation.md) for validation, it does not preserve the Schema's output data.
6969

7070
The value passed to the `onSubmit` function will always be the input data. To receive the output data of a Standard Schema, parse it in the `onSubmit` function:
7171

docs/framework/angular/guides/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ TanStack Form natively supports all libraries following the [Standard Schema spe
554554

555555
_Note:_ make sure to use the latest version of the schema libraries as older versions might not support Standard Schema yet.
556556

557-
> Validation will not provide you with transformed values. See [submission handling](../submission-handling.md) for more information.
557+
> Validation will not provide you with transformed values. See [submission handling](./submission-handling.md) for more information.
558558
559559
To use schemas from these libraries you can pass them to the `validators` props as you would do with a custom function:
560560

0 commit comments

Comments
 (0)