Skip to content

Commit db1cfa6

Browse files
Merge branch 'main' into fix-improve-exhaustive-dependencies-detection
2 parents f643d72 + 6bcf9bf commit db1cfa6

56 files changed

Lines changed: 1254 additions & 1213 deletions

File tree

Some content is hidden

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

.github/renovate.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@
2525
"react-dom",
2626
"tsup",
2727
"typescript",
28-
"typescript50",
29-
"typescript51",
30-
"typescript52",
31-
"typescript53",
3228
"typescript54",
3329
"typescript55",
3430
"typescript56",
3531
"typescript57",
32+
"typescript58",
33+
"typescript59",
34+
"typescript60",
3635
"vue",
3736
"vue-tsc",
3837
"vue2",

.github/workflows/autofix.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/[email protected]
22-
with:
23-
fetch-depth: 0
21+
uses: actions/[email protected]
2422
- name: Setup Tools
25-
uses: tanstack/config/.github/setup@main
23+
uses: TanStack/config/.github/setup@main
2624
- name: Fix formatting
2725
run: pnpm run format
2826
- name: Apply fixes

.github/workflows/labeler.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name: Labeler
22

33
on:
4-
- pull_request_target
4+
pull_request_target:
55

66
permissions:
77
contents: read
88
pull-requests: write
99

1010
jobs:
1111
labeler:
12+
name: Labeler
1213
runs-on: ubuntu-latest
1314
steps:
14-
- uses: actions/[email protected]
15+
- name: Labeler
16+
uses: actions/[email protected]
1517
with:
1618
repo-token: ${{ secrets.GITHUB_TOKEN }}
1719
configuration-path: labeler-config.yml

.github/workflows/pr.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
23-
uses: actions/[email protected].1
23+
uses: actions/[email protected].2
2424
with:
2525
fetch-depth: 0
2626
- name: Start Nx Agents
2727
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
2828
- name: Setup Tools
29-
uses: tanstack/config/.github/setup@main
29+
uses: TanStack/config/.github/setup@main
3030
- name: Get base and head commits for `nx affected`
3131
uses: nrwl/[email protected]
3232
with:
@@ -41,11 +41,9 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout
44-
uses: actions/[email protected]
45-
with:
46-
fetch-depth: 0
44+
uses: actions/[email protected]
4745
- name: Setup Tools
48-
uses: tanstack/config/.github/setup@main
46+
uses: TanStack/config/.github/setup@main
4947
- name: Build Packages
5048
run: pnpm run build:all
5149
- name: Publish Previews
@@ -65,10 +63,18 @@ jobs:
6563
runs-on: ubuntu-latest
6664
steps:
6765
- name: Checkout
68-
uses: actions/[email protected]
69-
with:
70-
fetch-depth: 0
66+
uses: actions/[email protected]
7167
- name: Check Provenance
7268
uses: danielroe/[email protected]
7369
with:
7470
fail-on-downgrade: true
71+
version-preview:
72+
name: Version Preview
73+
runs-on: ubuntu-latest
74+
steps:
75+
- name: Checkout
76+
uses: actions/[email protected]
77+
- name: Setup Tools
78+
uses: TanStack/config/.github/setup@main
79+
- name: Changeset Preview
80+
uses: TanStack/config/.github/changeset-preview@main

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout
28-
uses: actions/[email protected].1
28+
uses: actions/[email protected].2
2929
with:
3030
fetch-depth: 0
3131
- name: Start Nx Agents
3232
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
3333
- name: Setup Tools
34-
uses: tanstack/config/.github/setup@main
34+
uses: TanStack/config/.github/setup@main
3535
- name: Run Tests
3636
run: pnpm run test:ci
3737
- name: Stop Nx Agents
@@ -50,14 +50,12 @@ jobs:
5050
# done
5151
- name: Run Changesets (version or publish)
5252
id: changesets
53-
uses: changesets/action@v1.5.3
53+
uses: changesets/action@v1.7.0
5454
with:
5555
version: pnpm run changeset:version
5656
publish: pnpm run changeset:publish
5757
commit: 'ci: Version Packages'
5858
title: 'ci: Version Packages'
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6159
# - name: Auto-merge Changesets PR
6260
# if: steps.changesets.outputs.hasChangesets == 'true' && steps.major.outputs.found == 'false'
6361
# run: |
@@ -69,6 +67,6 @@ jobs:
6967
# PR_NUMBER: ${{ steps.changesets.outputs.pullRequestNumber }}
7068
- name: Comment on PRs about release
7169
if: steps.changesets.outputs.published == 'true'
72-
uses: tanstack/config/.github/comment-on-release@main
70+
uses: TanStack/config/.github/comment-on-release@main
7371
with:
7472
published-packages: ${{ steps.changesets.outputs.publishedPackages }}

docs/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@
12491249
},
12501250
{
12511251
"label": "hydration",
1252-
"to": "framework/react/reference/functions/HydrationBoundary"
1252+
"to": "framework/preact/reference/functions/HydrationBoundary"
12531253
}
12541254
]
12551255
}

docs/framework/react/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ React Query is now written in **TypeScript** to make sure the library and your p
77

88
Things to keep in mind:
99

10-
- Types currently require using TypeScript **v4.7** or greater
10+
- TanStack Query follows [DefinitelyTyped's support window](https://github.com/DefinitelyTyped/DefinitelyTyped#support-window) and supports TypeScript versions released within the last 2 years. At the moment, that means TypeScript **5.4** and newer.
1111
- Changes to types in this repository are considered **non-breaking** and are usually released as **patch** semver changes (otherwise every type enhancement would be a major version!).
1212
- It is **highly recommended that you lock your react-query package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release**
1313
- The non-type-related public API of React Query still follows semver very strictly.

docs/framework/solid/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Solid Query is written in **TypeScript** to make sure the library and your proje
77

88
Things to keep in mind:
99

10-
- Types currently require using TypeScript **v4.7** or greater
10+
- TanStack Query follows [DefinitelyTyped's support window](https://github.com/DefinitelyTyped/DefinitelyTyped#support-window) and supports TypeScript versions released within the last 2 years. At the moment, that means TypeScript **5.4** and newer.
1111
- Changes to types in this repository are considered **non-breaking** and are usually released as **patch** semver changes (otherwise every type enhancement would be a major version!).
1212
- It is **highly recommended that you lock your solid-query package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release**
1313
- The non-type-related public API of Solid Query still follows semver very strictly.

examples/solid/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@astrojs/solid-js": "^5.0.7",
1616
"@astrojs/tailwind": "^6.0.2",
1717
"@astrojs/vercel": "^8.1.3",
18-
"@tanstack/solid-query": "^5.90.23",
18+
"@tanstack/solid-query": "^5.90.26",
1919
"@tanstack/solid-query-devtools": "^5.91.3",
2020
"astro": "^5.5.6",
2121
"solid-js": "^1.9.7",

examples/solid/basic-graphql-request/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@tanstack/solid-query": "^5.90.23",
11+
"@tanstack/solid-query": "^5.90.26",
1212
"@tanstack/solid-query-devtools": "^5.91.3",
1313
"graphql": "^16.9.0",
1414
"graphql-request": "^7.1.2",

0 commit comments

Comments
 (0)