Repository navigation
Conversation
…ers' option to 'persistFilters' internally to avoid shadowing (TanStack#12290)
…bserver' in 'trackResult' to 'resultObserver' to avoid shadowing (TanStack#12291)
…eates keys for both queries and mutations (TanStack#12293) * test(*): rename the 'queryKey' test helper to 'createKey' since it creates keys for both queries and mutations * test(query-test-utils/createKey): change the key prefix from 'query_' to 'key-' since it is also used for mutation keys
…ation' to avoid shadowing the 'select' parameter (TanStack#12294)
…r' to avoid shadowing the returned 'error' (TanStack#12295)
…teQueries' comment (TanStack#12296)
…' in the 'vue-demi' mock (TanStack#12297)
…switch test titles (TanStack#12298)
…ith notes explaining why the state counts differ from react (TanStack#12300)
…ryState' from a tagged query key (TanStack#11921) * fix(vue-query/queryClient): infer the data and error types of 'getQueryState' from a tagged query key * docs(vue-query): regenerate reference docs for 'getQueryState' overloads
…advances to the 'queryFn' sleep of 10ms (TanStack#12305)
… removed in the Vite 8 update (TanStack#12307)
…anges to the devtools instance after mount (TanStack#12308)
…' with 'enabled: false' and 'skipToken', and undefined 'initialData' (TanStack#12309)
…em' so the theme chosen in the devtools settings applies when the prop is omitted (TanStack#12313)
… so the theme chosen in the devtools settings applies when the prop is omitted (TanStack#12312)
…m' so the theme chosen in the devtools settings applies when the prop is omitted (TanStack#12310)
…eme selected in the devtools Settings menu (TanStack#12314)
…' to the devtools so removing it falls back to the theme selected in the devtools Settings menu (TanStack#12315)
Bump vitest and @vitest/coverage-istanbul to 5.0.5 (root and query-test-utils) and @vitest/eslint-plugin to 1.6.28. Vitest 5's typecheck collector treats any name ending in Test as a test function, so notifyManagerTest in query-core/src/__tests__/notifyManager.test-d.tsx was renamed to localNotifyManager. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… and 'hideDisabledQueries' options (TanStack#12316)
…tate' rule in the bare 'oxlint-disable-next-line' comment (TanStack#12323)
…ssary 'QueryObserverOptions' assertion and its 'oxlint-disable' comment (TanStack#12324)
…cript/no-unnecessary-type-assertion' is disabled for the 'refetch' wrapper (TanStack#12329)
…ypescript/no-unnecessary-condition' is disabled for the 'client' checks (TanStack#12328)
…ypescript/no-unnecessary-condition' is disabled for the 'importKind' check (TanStack#12327)
…Unicode lowercasing fixtures to clear 'cspell' warnings (TanStack#12549)
…lue' to 'material' to match the signal type (TanStack#12550)
…arch, and panel 'style' default for every adapter (TanStack#12546) * docs(framework/*/devtools): describe the filter scope toggle and data search for every adapter * docs({react,preact,solid,vue}-query-devtools): describe that the panel fills its container height by default * docs(framework/*/devtools): describe that the 'Key' filter scope matches the query hash, or the mutation key and submission time
…t matches instead of the row text (TanStack#12551)
…'s, and readonly 'state' in every '@returns' (TanStack#12548) * docs(vue-query/useQuery): describe 'state' in the '@returns' of the 'Defined' and fallback overloads * docs(vue-query/useQuery): describe 'state' as readonly in every '@returns' * docs(vue-query/useQuery): describe the result 'status' and the derived boolean 'ref's in every '@returns'
…lain boolean, and the '(query) => boolean' callback (TanStack#12547) * docs(vue-query): describe that 'enabled' passes the '(query) => boolean' callback through untracked * docs(vue-query): describe that a plain boolean 'enabled' isn't tracked and that 'enabled' callbacks need a required 'query' parameter * docs(vue-query): align the 'VueQueryEnabledOption' and 'UseInfiniteQueryOptions' JSDoc with the 'enabled' behavior * docs(vue-query): rewrap the 'enabled' paragraphs and describe 'UseInfiniteQueryOptions' with its type parameters * docs(vue-query): describe the 'TData' default in the 'QueryOptions' and 'UseQueryOptions' type parameters
…dd the missing 'vite.config.ts' so '@vitejs/plugin-react' is loaded (TanStack#12579)
…e> Example' and remove scaffold leftovers (TanStack#12580)
…includeResolutionSettings' and exclusion pruning (TanStack#12582) * chore(*): update pnpm to v12.18.0 and enable 'autoDedupe' * chore(pnpm-workspace.yaml): enable 'lockfile.includeResolutionSettings' so installs reuse the deduplicated lockfile * chore(pnpm-workspace.yaml): enable 'minimumReleaseAgeExcludePrune' and 'trustPolicyExcludePrune' to drop stale exclusions
…act Router in the scroll restoration examples (TanStack#12584)
…xample titles, and rename examples to '<feature>-<framework>' (TanStack#12583) * docs(examples): describe each example in its README with a summary, the framework it is built with, how it works and the npm commands * docs(examples): add the framework or router to the README heading and page title of examples that have variants * docs(examples/react): rename the Next.js examples to '<feature>-nextjs-<pages|app>-router' * docs(examples/react): update package names, docs links and labels, and the lockfile for the renamed Next.js examples * docs(examples): rename 'svelte/sveltekit', 'solid/solid-start-streaming' and 'angular/router' to '<feature>-<framework>' * docs(examples): correct README details on staleness, hydration, 'hasMore', streaming and dependent queries, and prefetch on 'focusin' in 'vue/prefetching-nuxt4'
* refactor: make query exports explicit * chore: exclude private package from changeset * refactor: preserve persistence core star re-exports * chore: require explicit exports with lint
…text', 'FallbackProps' and 'ErrorBoundaryProps' re-exports reported by knip (TanStack#12590)
…s/tailwind' with Tailwind CSS v4 via '@tailwindcss/vite', and align it with the current Astro template (TanStack#12585)
… and 'test:types' so 'vue-demi-switch' does not race with vue example tasks (TanStack#12596)
…h', mock interceptors and 'tsconfig' across the examples (TanStack#12593)
…tatus' is 'error', 'success' or 'pending', and that 'data' is 'undefined' when 'select' throws with 'initialData' (TanStack#12601) * docs({react,preact,vue,solid,svelte,angular}-query): describe when 'status' is 'error', 'success' or 'pending' in the 'useQuery' '@returns' * docs({react,preact,vue,solid,svelte,angular}-query): describe 'status' by the query's current error, and note that 'data' is 'undefined' when 'select' throws on its first call with 'initialData'
Brings main (56d98b0) into solid-query-v6-pre (6bab31b). The three Solid packages keep the v6 implementation and tests. From main they take the tsdown build (with a rolldown plugin that runs the Solid 2.0 compiler in place of unplugin-solid), oxlint and oxfmt configs, the TS 5.7 to 7.1 type-test matrix, the explicit index exports, the initialData overload fixes, the fetchStatus/status filter omissions, the useMutationState select generics, and the devtools './production' entry, theme passthrough and panel height. The devtools keep the v6 clientOnly wrapper and lazy imports instead of main's NODE_ENV gate: Solid 2 DOM templates throw when the module is imported on the server, so a static import breaks SSR. The './production' entry uses the same wrapper. Not carried over from main because v6 rewrote the code they touch: useQueryClientResolver (TanStack#10571), the observer resubscribe order (TanStack#11920) and the useBaseQuery SSR cleanup (TanStack#11628). Solid examples and the new Astro and SolidStart integrations stay on main's v5 code. Examples resolve @tanstack/solid-query 5.x from the registry; the two integrations skip build and type checks until those frameworks support Solid 2. integrations/solid/vite is ported to Solid 2. main's pending tidy-query-exports changeset is limited to the Solid packages, because this branch is in changesets pre mode and would otherwise version the other packages as rc prereleases. The lockfile holds Solid at 2.0.0-rc.13 and @solidjs/vite-plugin at 3.0.0-next.46, the versions solid-query-v6-pre already resolved.
…tests Applies the test-style rules main introduced (typed mocks, strict equality, query() instead of prefetchQuery, describe wrappers) to the v6 tests and adds the JSDoc tags the jsdoc rules require on the v6 source. Three assertions on store-proxy data keep toEqual with a lint exemption, because toStrictEqual throws on the proxy.
🦋 Changeset detectedLatest commit: e938b42 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
View your CI Pipeline Execution ↗ for commit e938b42
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/angular-query-experimental
@tanstack/eslint-plugin-query
@tanstack/lit-query
@tanstack/preact-query
@tanstack/preact-query-devtools
@tanstack/preact-query-persist-client
@tanstack/query-async-storage-persister
@tanstack/query-broadcast-client-experimental
@tanstack/query-core
@tanstack/query-devtools
@tanstack/query-persist-client-core
@tanstack/query-sync-storage-persister
@tanstack/react-query
@tanstack/react-query-devtools
@tanstack/react-query-next-experimental
@tanstack/react-query-persist-client
@tanstack/solid-query
@tanstack/solid-query-devtools
@tanstack/solid-query-persist-client
@tanstack/svelte-query
@tanstack/svelte-query-devtools
@tanstack/svelte-query-persist-client
@tanstack/vue-query
@tanstack/vue-query-devtools
commit: |
🎯 Changes
Merges
main(56d98b0) intosolid-query-v6-pre. This needs a merge commit, not a squash, so the history frommainis kept.The three Solid packages keep the v6 implementation and tests. From
mainthey take:@solidjs/babel-plugin) in place ofunplugin-solidinitialDataoverload fixes, thefetchStatus/statusfilter omissions and theuseMutationStateselect generics./productionentry, theme passthrough and panel heightResolution choices worth a look:
clientOnlywrapper and lazy imports instead of theNODE_ENVgate from fix(solid-query-devtools): replace 'clientOnly' with a 'process.env.NODE_ENV' gate to fix hydration mismatch #12524. Solid 2 DOM templates throw when the module is imported on the server, so a static import breaks SSR.useQueryClientResolver(fix(solid-query): resolve query client outside memos #10571), fix(solid-query): subscribe to the new observer when the queryClient changes #11920 and fix(solid-query): useBaseQuery SSR cleanup #11628 are not carried over, because v6 rewrote the code they change. The v6 aggregate hooks do not resubscribe when a customqueryClientaccessor changes; the test from fix(solid-query): resolve query client outside memos #10571 is skipped with a note.mutateaccepts no argument whenTVariablesincludesundefined, following feat(query-core): makeMutateFunctionoptional undefinable-variables #8737.@solidjs/webis declared as a peer of the devtools and persist-client packages, which knip's strict pass requires. This overlaps fix(solid-query-devtools): declare the Web peer and public JSX return type #12160.tidy-query-exportschangeset is limited to the Solid packages, because this branch is in changesets pre mode.mainand resolve@tanstack/solid-query5.x from npm.integrations/solid/viteis ported to Solid 2; theastro-7andsolid-start-2integrations skip build and type checks until those frameworks support Solid 2.@solidjs/vite-plugin3.0.0-next.46.A second commit applies the lint rules from
mainto the v6 tests and adds the JSDoc tags those rules require on the v6 source.Verified locally for
@tanstack/solid-query,@tanstack/solid-query-devtools,@tanstack/solid-query-persist-clientand@tanstack/query-integration-solid-vite:pnpm run test:prfor the whole repository was not run locally.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
🤖 Generated with Claude Code