Skip to content

Commit 63730f0

Browse files
committed
Merge upstream/main into refactor/resolveValueOrFunction
2 parents af723ec + ed8cc23 commit 63730f0

File tree

237 files changed

+3461
-2412
lines changed

Some content is hidden

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

237 files changed

+3461
-2412
lines changed

.github/workflows/autofix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Setup Tools
2323
uses: tanstack/config/.github/setup@main
2424
- name: Fix formatting
25-
run: pnpm prettier:write
25+
run: pnpm run prettier:write
2626
- name: Apply fixes
27-
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
27+
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
2828
with:
2929
commit-message: 'ci: apply automated fixes'

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
main-branch-name: main
3636
- name: Run Checks
3737
run: pnpm run test:pr --parallel=3
38+
- name: Verify Links
39+
run: pnpm run verify-links
3840
- name: Stop Nx Agents
3941
if: ${{ always() }}
4042
run: npx nx-cloud stop-all-agents

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ stats-hydration.json
3030
stats.json
3131
stats.html
3232
.vscode/settings.json
33+
.vscode/mcp.json
34+
.cursor/rules
35+
.github/instructions/nx.instructions.md
3336

3437
*.log
3538
*.tsbuildinfo

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.12.0
1+
24.2.0

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you have been assigned to fix an issue or develop a new feature, please follo
2323
pnpm install
2424
```
2525

26-
- We use [pnpm](https://pnpm.io/) v9 for package management (run in case of pnpm-related issues).
26+
- We use [pnpm](https://pnpm.io/) v10 for package management (run in case of pnpm-related issues).
2727

2828
```bash
2929
corepack enable && corepack prepare
@@ -57,7 +57,7 @@ If you have been assigned to fix an issue or develop a new feature, please follo
5757
The documentations for all the TanStack projects are hosted on [tanstack.com](https://tanstack.com), which is a TanStack Start application (https://github.com/TanStack/tanstack.com). You need to run this app locally to preview your changes in the `TanStack/query` docs.
5858

5959
> [!NOTE]
60-
> The website fetches the doc pages from GitHub in production, and searches for them at `../query/docs` in development. Your local clone of `TanStack/query` needs to be in the same directory as the local clone of `TansStack/tanstack.com`.
60+
> The website fetches the doc pages from GitHub in production, and searches for them at `../query/docs` in development. Your local clone of `TanStack/query` needs to be in the same directory as the local clone of `TanStack/tanstack.com`.
6161

6262
You can follow these steps to set up the docs for local development:
6363

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ Still on **React Query v4**? No problem! Check out the v4 docs here: https://tan
5050
<a href="https://www.speakeasy.com/product/react-query?utm_source=tanstack&utm_campaign=tanstack">
5151
<picture>
5252
<source
53-
srcset="https://tanstack.com/_build/assets/speakeasy-dark-BjP-Hd9M.svg"
53+
srcset="https://tanstack.com/assets/speakeasy-dark-BjP-Hd9M.svg"
5454
media="(prefers-color-scheme: dark)"
5555
/>
5656
<source
57-
srcset="https://tanstack.com/_build/assets/speakeasy-light-UpY7QmwQ.svg"
57+
srcset="https://tanstack.com/assets/speakeasy-light-UpY7QmwQ.svg"
5858
media="(prefers-color-scheme: light)"
5959
/>
6060
<!-- fallback -->
6161
<img
62-
src="https://tanstack.com/_build/assets/speakeasy-light-UpY7QmwQ.svg"
62+
src="https://tanstack.com/assets/speakeasy-light-UpY7QmwQ.svg"
6363
alt="Speakeasy Logo"
6464
/>
6565
</picture>

docs/framework/angular/devtools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ id: devtools
33
title: Devtools
44
---
55

6+
> For Google Chrome users: A third-party Chrome extension is available for debugging TanStack Query directly in Chrome DevTools. This provides the same functionality as the framework-specific devtools packages. Check it out here: [TanStack Query DevTools](https://chromewebstore.google.com/detail/tanstack-query-devtools/annajfchloimdhceglpgglpeepfghfai)
7+
68
## Enable devtools
79

810
The devtools help you debug and inspect your queries and mutations. You can enable the devtools by adding `withDevtools` to `provideTanStackQuery`.

docs/framework/react/community/community-projects.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ A family of libraries for building building browser and gRPC-compatible HTTP API
3131

3232
Link: https://connectrpc.com/docs
3333

34+
## DevTools Chrome Extension
35+
36+
A Chrome browser extension that provides devtools for TanStack Query, allowing you to inspect and debug queries, mutations, and cache state directly in Chrome DevTools.
37+
38+
Link: https://chromewebstore.google.com/detail/tanstack-query-devtools/annajfchloimdhceglpgglpeepfghfai
39+
3440
## GraphQL Code Generator
3541

3642
Generate React Query hooks from your GraphQL schema

docs/framework/react/devtools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Wave your hands in the air and shout hooray because React Query comes with dedic
77

88
When you begin your React Query journey, you'll want these devtools by your side. They help visualize all the inner workings of React Query and will likely save you hours of debugging if you find yourself in a pinch!
99

10+
> For Google Chrome users: A third-party Chrome extension is available for debugging TanStack Query directly in Chrome DevTools. This provides the same functionality as the framework-specific devtools packages. Check it out here: [TanStack Query DevTools](https://chromewebstore.google.com/detail/tanstack-query-devtools/annajfchloimdhceglpgglpeepfghfai)
11+
1012
> For React Native users: A third-party native macOS app is available for debugging React Query in ANY js-based application. Monitor queries across devices in real-time. Check it out here: [rn-better-dev-tools](https://github.com/LovesWorking/rn-better-dev-tools)
1113
1214
> Note that since version 5, the dev tools support observing mutations as well.

docs/framework/react/guides/dependent-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const usersMessages = useQueries({
8080
queryFn: () => getMessagesByUsers(id),
8181
}
8282
})
83-
: [], // if users is undefined, an empty array will be returned
83+
: [], // if userIds is undefined, an empty array will be returned
8484
})
8585
```
8686

0 commit comments

Comments
 (0)