RELEASE_ALL
* fix: make sure there is only one package.json after build
* fix: angular release
we cannot publish out of the build directory because pnpm doesn't see it as a workspace, so it won't replace workspace dependencies. To fix this, we:
- make the publish script point to the root directory (config.js)
- make sure our top-level package.json has types and exports and that they point to ./build
- make sure to remove the build/package.json after the build script ran
* chore: use rimraf
* chore: specify files to limit what we include
* chore: fix relative workspace dependencies
* chore: fix ci.json
* fix: package.json path
use isPlaceholderData instead of isPreviousData.
isPreviousData does not exist, and should be replaced with isPlaceholderData.
Also keepPreviousData: true does not also exist and should be replaced as written.
* feat(experimental_createPersister): support async serialization and storage of arbitrary values instead of strings
* fix: allow async serialization in async-storage-persister
useQueries, createQueries and useSuspenseQueries now return the correct data type if using the queryOptions helper with the select option.
fixes#6442
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* feat(codemod): implement codemod that replaces the `isLoading` usages with `isPending`
* fix(codemod): differentiate shorthand property usages in the codemod
* chore(codemod): add the `useMutation` hook as well to the "affected hooks" list
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* fix(codemod): extend codemod logic to transform usages when the second parameter is a function in the scope
* fix(codemod): handle the case when the second argument is a function definition
* chore(codemod): fix the `eslint` issue in the newly added example
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* chore: rename integration test
* test: add vite5 integration test for react
* chore: make test more stable
we don't really care about in-between renders as they might be batched
* Empty-Commit
* chore: add unique names
* chore: touching pr.yml to diagnose dte issues (#6445)
* touching pr.yml to diagnose dte issues
* fixing typo in pr.yml
---------
Co-authored-by: Zachary DeRose <zack.derose@gmail.com>
* fix(core): make sure queries initialize correctly
setQueries sets them, so it needs to be set before setResult, where we already access `this.queries`
* fix: initialize queries and options before calling setResult
* fix(react-query): make sure options are up-to-date when a mounted component re-suspends
* chore: simplify test
there is no need to assert how often we rendered in this test case
* #6344: reproduce query not suspending when offline
* shouldSuspend to return true when isPaused is true and other conditions are met
* change test to load data first on online and then go offline, then come back online
* adapt test to issue with changing query and rely on isPending rather than isPaused
* Adapt shouldSuspend condition & remove isRestoring from it
If window is undefined, we'd skip initialization of the event,
but window.removeEventListener would still be attempted
to be called upon cleanup and fail with error due to undefined
window.