* test(vue-query): vitest type test correctly
* test(vue-query): add queryOptions.test.ts to resolve codecov error in PR
* test(vue-query): remove queryOptions.test.ts
* feat: allow to dehydrate and restore promises
* fix: retries with initialPromise, but without queryFn
* fix: retries for infinite queries
this could use some reconciliation
* refactor: streamline the way we get the queryFn between Query and InfiniteQuery
* fix: only dehydrate query.promise for pending queries
* feat: allow setting hydration and dehydration defaultOptions on the QueryClient
* test: global defaultOptions for hydrate / dehydrate
* tests: hydration of promises
* feat: next15 integration test
* docs: app directory prefetching example
* docs: global hydrate and dehydrate options
* feat: use streaming
* docs: prefetching
* test: useQuery with initialPromise
* fix: do not leak server errors to the client
* docs: typo
* fix: ignore next in sherif
because we test against multiple versions of next
* test: await promise before clearing client to avoid error
* feat: always respect the `promise` passed to hydrate, even if we already have a cached entry.
* Update docs/framework/react/guides/advanced-ssr.md
Co-authored-by: Fredrik Höglund <fredrik.hoglund@gmail.com>
* Update docs/framework/react/guides/advanced-ssr.md
Co-authored-by: Fredrik Höglund <fredrik.hoglund@gmail.com>
* chore: remove leftover 'use client'
* oops
* docs: better text
* chore: better error messages
* update note
* chore: fix lock file
---------
Co-authored-by: Fredrik Höglund <fredrik.hoglund@gmail.com>
* feat: react19 deps
* fix: useRef usage
* fix: don't use global JSX namespace
* fix: overwrite react globally to v19
* fix test assertion
* fix hydration tests
* console output is weird in 19
* async is hard
* react really wants no side-effects during render
* fix: use react19 everywhere
* Revert "fix: use react19 everywhere"
This reverts commit f927611342.
* just ignore react in sherif as we can have examples with different versions
* feat: add the react-compiler linter
* chore: move examples to react 19, except nextJs ones
* fix(svelte-query): add SkipToken to queryFn union for GetResults type
* fix(svelte-query): also include SkipToken in other branch
* fix(svelte-query): formatting createQueries file
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
* fix: make TVariables default to unknown on Mutation
we only need `void` as the default for MutationOptions so that we can fire mutations with no parameters without passing undefined to them explicitly. For reading mutations and mutationState, unknown is better.
* refactor: remove unnecessary type assertion
* refactor: remove unnecessary type assertion
* refactor: some more remove unnecessary type assertion
* fix(angular-query): missing exports InitialDataInfiniteOptions types
Add missing @public js-doc comments in infinite-query-options.ts to fix type exports
* add infinite query option types to public api
---------
Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>