* test(query-devtools/Devtools): add tests for query list rendering, filtering, and status indicators
* test(query-devtools/Devtools): use 'some' to find 'CLEAR_MUTATION_CACHE' event in dispatched calls
* test(query-devtools/Devtools): use 'vi.useFakeTimers' and 'vi.advanceTimersByTimeAsync' for microtask flush
* test(query-devtools/Devtools): assert tooltip visibility on hover/focus instead of badge presence
* test(query-devtools/Devtools): add tests for initial state from 'initialIsOpen' and 'localStore.open'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* test(query-devtools/utils): add test for stale vs fresh rank in 'status' sort of 'sortFns'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat lit-query: add initial lit-query package
* remove internal docs from initial PR
* fix review issues
* align scripts with monorepo Nx targets and use workspace:* for query-core
* feat(lit-query): fix type inference and monorepo integration
- Fix createQueriesController tuple type inference with recursive types
- Add DataTag support to queryOptions
- Fix build config and vitest custom-condition resolution
- Fix example install scripts for standalone bootstrap
* fix(lit-query): polish package validation and examples
* ci: apply automated fixes
* lit-query: preserve provider handshake ordering in BaseController
* Update .changeset/lemon-memes-divide.md
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
* removing prettier config from adapter, so that global config from the monorepo is used
* removed the package local format scripts so formatting stays centralized at the monorepo root
* removing like other adapters keep build and test:build as separate targets
* Compared against the other adapters and removed the lit-query-only aliases/gates, keeping the standard Nx target names so root CI can pick them up consistently
* package:check has been removed. The CJS smoke check is still needed because lit-query publishes custom CJS output/types
* fix(lit-query): align lit examples and integration with monorepo conventions
* chore(lit-query): clean up stale package checks
* fix(lit-query): address review feedback for lit examples and lifecycle tests
* chore: fix lockfile
* fix: add customCondition
* docs(lit-query): add Lit docs and generated reference
* docs(lit-query): fix Lit docs review comment and align examples
---------
Co-authored-by: gauravchugh <gauravchugh@servicenow.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* test(vue-query-devtools): set up vitest environment with production fallback test
* chore(vue-query-devtools): unify 'defineConfig' and 'mergeConfig' import from 'vitest/config'
Follow-up to #10510. That PR removed NoInfer from all three persister
generics to fix TQueryFnData inference when the companion queryFn
declares a parameter (#7842). Keeping NoInfer on TQueryKey preserves
that fix while preventing the persister slot from widening TQueryKey
inference.
Without NoInfer on TQueryKey, the persister slot contributes to
TQueryKey inference. When Register.queryKey is augmented to a narrowed
constraint, TQueryKey widens to that constraint instead of the literal
passed to queryKey. Wrappers that brand their return with
DataTag<TQueryKey, ...> then produce a brand on the wider type, which
a plain literal tuple can no longer satisfy in contravariant positions
(vi.mocked(...).mockReturnValue, typed variable assignments, etc.).
TQueryFnData still participates in inference, so #10510's positive and
negative type tests continue to pass.
Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
* test(react-query-devtools): add tests for missing 'QueryClient', context provider, 'client' prop, and production fallback
* ci: apply automated fixes
* test(react-query-devtools): make production fallback test deterministic with 'vi.stubEnv' and 'vi.resetModules'
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* docs(devtools): replace framework-specific logo with 'TanStack logo' to match the actual rendered component
* docs(vue-query/devtools): replace 'React Query' panel leftover with 'Vue Query'
* docs(devtools): replace framework-specific logo with 'TanStack logo' and use adapter naming for 'devtools panel' in JSDoc
* docs(devtools): add missing 'relative' to JSDoc 'buttonPosition' union
* chore(.changeset): add changeset for devtools logo, panel, and 'buttonPosition' union alignment
* docs(preact-query-devtools): add missing 'position' union to JSDoc