* fix: update react and nextJs
and add a nextJs16 integration test
* ci: apply automated fixes
* oops
* Update patch versions for React and TanStack packages
Updated the patch versions for various React and TanStack packages.
* fix: streamline dependencies
* bundle size
* fix lock file
* fix: update react in example
* skip test for now
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore: ts 5.8
* chore: there are no errors anymore from eslint-plugin-react-hooks
* ci: apply automated fixes
* chore: lock file
* ci: apply automated fixes
* revert: there are no errors anymore from eslint-plugin-react-hooks
* chore: revert angular examples back to ts 5.7.2
as angular doesn't support 5.8 yet
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* add failing repro test
* update assertinos
* add logg
* ehm - maybe fix?
* rm -only
* make example
* upd
* ad debug logs
* more debugging
* push
* maybe???
* rm log
* revert
* fix: ?
* fix: check for pending status again
otherwise, we risk including promises that happen because of background updates (think persistQueryClient)
* fix: clear serverQueryClient between "requests"
otherwise, we are re-using the cache and the query won't be in "pending" state the second time around
* chore: remove logs
* rethrow next build error
* kick off ci again
* add `shouldRedactError` option
* pluralize
* docs
* chore: more memory
* chore: revert more memory
* don't compare statuses if they don't exist
* ci: apply automated fixes
* lint
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore: examples to react19
* test: seems like pre-warming adds another render, which is fine
* test: more pre-warming renders (this is fine)
* test: use react-render-stream
* chore: move tests to renderStream
* chore: fix act
* test: fix remaining tests
* test: move away from fireEvent.click
because it uses `act` under the hood, which isn't supported / wanted with renderStreams
* test: useInfiniteQuery to renderStream
* chore: stabilize test
* chore: typescript 5.7
and run tests against ts 5.0 - 5.7
* chore: make eslint happy
* chore: type import issue
* chore: the type assertion is necessary for ts 5.4 and lower
* fix: write code so that it narrows in all ts versions
* fix: import assertion
* fix: angular examples stay at typescript 5.4
* Add JSON import attribute, update vue-tsc
* angular fixes
* Fix vue-tsc compatibility
---------
Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
* 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>