Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
3.32.1
3.39.1
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.32.1
->3.39.1
Release Notes
tannerlinsley/react-query
### [`v3.39.1`](https://togithub.com/TanStack/query/releases/tag/v3.39.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.39.0...v3.39.1) ##### Bug Fixes - **types:** change types for useMutation context in onSuccess ([#3654](https://togithub.com/tannerlinsley/react-query/issues/3654)) ([9f6c992](https://togithub.com/tannerlinsley/react-query/commit/9f6c992feecb4694758f8767063d8ad89d842c3c)) ### [`v3.39.0`](https://togithub.com/TanStack/query/releases/tag/v3.39.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.38.1...v3.39.0) ##### Features - **devtools:** the react query logo can now close the devtools ([#3577](https://togithub.com/tannerlinsley/react-query/issues/3577)) ([5848fab](https://togithub.com/tannerlinsley/react-query/commit/5848fab8a560efcf66ef0062c207c3004bccad83)), closes [#3067](https://togithub.com/tannerlinsley/react-query/issues/3067) ### [`v3.38.1`](https://togithub.com/TanStack/query/releases/tag/v3.38.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.38.0...v3.38.1) ##### Bug Fixes - **queryObserver:** cache select errors ([#3554](https://togithub.com/tannerlinsley/react-query/issues/3554)) ([09a375b](https://togithub.com/tannerlinsley/react-query/commit/09a375badc27f42c1eb4263e1e01570f267fb7c1)) ### [`v3.38.0`](https://togithub.com/TanStack/query/releases/tag/v3.38.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.37.0...v3.38.0) ##### Bug Fixes - **devtools:** Fix expand button styling ([#3544](https://togithub.com/tannerlinsley/react-query/issues/3544)) ([48ec8cf](https://togithub.com/tannerlinsley/react-query/commit/48ec8cfd229307019d9e70cb5ef572bb3bfa5e65)), closes [#3538](https://togithub.com/tannerlinsley/react-query/issues/3538) ##### Features - expose errorUpdateCount on useQuery ([#3532](https://togithub.com/tannerlinsley/react-query/issues/3532)) ([558878c](https://togithub.com/tannerlinsley/react-query/commit/558878c90e90aed66e1cb402751bfe78fcdfa789)) ### [`v3.37.0`](https://togithub.com/TanStack/query/releases/tag/v3.37.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.36.0...v3.37.0) ##### Features - **query:** functions for refetchOn options ([#3518](https://togithub.com/tannerlinsley/react-query/issues/3518)) ([fab76e6](https://togithub.com/tannerlinsley/react-query/commit/fab76e6d0c0a70b32fcc8b459df32426d30aa3c2)) ### [`v3.36.0`](https://togithub.com/TanStack/query/releases/tag/v3.36.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.35.0...v3.36.0) ##### Features - add nonce for devtools style tag ([#3506](https://togithub.com/tannerlinsley/react-query/issues/3506)) ([b7a07c2](https://togithub.com/tannerlinsley/react-query/commit/b7a07c2b6f3c5d0f72c5da17b5140bf9957471b7)) ### [`v3.35.0`](https://togithub.com/TanStack/query/releases/tag/v3.35.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.20...v3.35.0) ##### Features - **react:** add "support" for react18 ([#3520](https://togithub.com/tannerlinsley/react-query/issues/3520)) ([0c66727](https://togithub.com/tannerlinsley/react-query/commit/0c667273125e5307ff148c0ce621b5d24950517f)) This release updates the peer dependencies to accept React 18 as a valid version, only to avoid installation errors caused by NPM's peer dependency installation. For TypeScript users, it also avoids using `React.FC` and the "implicit children" it used to provide. If you are still having troubles, please read [this issue](https://togithub.com/facebook/react/issues/24304#issuecomment-1094565891). **Note**: If you are now using React 18, we strongly recommend using [v4-beta](https://togithub.com/tannerlinsley/react-query/releases/tag/v4.0.0-beta.3). v4 has been re-written to internally use the new [useSyncExternalStore](https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore) hook from React to make the cache work with concurrent features. Please **DO NOT** expect React Query v3 to work with concurrent features like `startTransition`, and **DO NOT** file issues about it. ### [`v3.34.20`](https://togithub.com/TanStack/query/releases/tag/v3.34.20) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.19...v3.34.20) ##### Bug Fixes - **devtools:** adjust QueryKey height ([#3497](https://togithub.com/tannerlinsley/react-query/issues/3497)) ([1ab13dc](https://togithub.com/tannerlinsley/react-query/commit/1ab13dc22efeb9270e38269efaa346e24e3fc0f6)) ### [`v3.34.19`](https://togithub.com/TanStack/query/releases/tag/v3.34.19) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.18...v3.34.19) ##### Bug Fixes - **devtools:** add keys to mapped entries for Explorer ([#3446](https://togithub.com/tannerlinsley/react-query/issues/3446)) ([9f23b64](https://togithub.com/tannerlinsley/react-query/commit/9f23b64396255722d8e874df9b7192d234e64aed)) ### [`v3.34.18`](https://togithub.com/TanStack/query/releases/tag/v3.34.18) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.17...v3.34.18) ##### Bug Fixes - **devtools:** serialize bigint types ([#3440](https://togithub.com/tannerlinsley/react-query/issues/3440)) ([ba81870](https://togithub.com/tannerlinsley/react-query/commit/ba81870efbf0e0d5f900b1daad1b50b1057ed323)) ### [`v3.34.17`](https://togithub.com/TanStack/query/releases/tag/v3.34.17) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.16...v3.34.17) ##### Bug Fixes - **useIsFetching:** account for fetches happening in the same render cycle ([#3438](https://togithub.com/tannerlinsley/react-query/issues/3438)) ([31bcaf1](https://togithub.com/tannerlinsley/react-query/commit/31bcaf1b54b88ea8b583c0fe7918b6493ca68643)) ### [`v3.34.16`](https://togithub.com/TanStack/query/releases/tag/v3.34.16) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.15...v3.34.16) ##### Bug Fixes - **useQuery:** pass query as second parameter to useErrorBoundary function([#2660](https://togithub.com/tannerlinsley/react-query/issues/2660)) ([b44c213](https://togithub.com/tannerlinsley/react-query/commit/b44c213b39a258486aff719ba87a5f7d8c57fab4)) ### [`v3.34.15`](https://togithub.com/TanStack/query/releases/tag/v3.34.15) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.14...v3.34.15) ##### Bug Fixes - **devtools:** add code element's background ([#3287](https://togithub.com/tannerlinsley/react-query/issues/3287)) ([9b5d18c](https://togithub.com/tannerlinsley/react-query/commit/9b5d18cd47a4c1454d6c8dd0f38280641c1dd5dd)) ### [`v3.34.14`](https://togithub.com/TanStack/query/releases/tag/v3.34.14) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.13...v3.34.14) ##### Bug Fixes - **types:** useQueries to also handle array-params with typed QueryKey ([#3267](https://togithub.com/tannerlinsley/react-query/issues/3267)) ([a470f46](https://togithub.com/tannerlinsley/react-query/commit/a470f4601b04e06a4314a8d1c621057bb3273525)) ### [`v3.34.13`](https://togithub.com/TanStack/query/releases/tag/v3.34.13) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.12...v3.34.13) ##### Bug Fixes - **types:** export QueriesOptions and QueriesResults types for useQueries ([#3251](https://togithub.com/tannerlinsley/react-query/issues/3251)) ([a536773](https://togithub.com/tannerlinsley/react-query/commit/a536773b00f9387463a7bac8a436c45fee4eec07)), closes [#3250](https://togithub.com/tannerlinsley/react-query/issues/3250) ### [`v3.34.12`](https://togithub.com/TanStack/query/releases/tag/v3.34.12) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.11...v3.34.12) ##### Bug Fixes - **types:** use MutationKey instead of QueryKey for useIsMutating ([#3222](https://togithub.com/tannerlinsley/react-query/issues/3222)) ([6710bc1](https://togithub.com/tannerlinsley/react-query/commit/6710bc1715fee2810ca3a35b76bca71738f5da7f)) ### [`v3.34.11`](https://togithub.com/TanStack/query/releases/tag/v3.34.11) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.10...v3.34.11) ##### Bug Fixes - **core:** make sure batching finishes if exception is thrown ([#3216](https://togithub.com/tannerlinsley/react-query/issues/3216)) ([c532d81](https://togithub.com/tannerlinsley/react-query/commit/c532d81313a9c036f48eaa8e3e6dd808e9587631)) ### [`v3.34.10`](https://togithub.com/TanStack/query/releases/tag/v3.34.10) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.9...v3.34.10) ##### Bug Fixes - **useQueries:** allow types to work with strongly typed QueryFunction + QueryKey ([#3214](https://togithub.com/tannerlinsley/react-query/issues/3214)) ([11f4ea9](https://togithub.com/tannerlinsley/react-query/commit/11f4ea99c09e0f8e46ee2b5a15150cd8091ea2ae)) ### [`v3.34.9`](https://togithub.com/TanStack/query/releases/tag/v3.34.9) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.8...v3.34.9) ##### Bug Fixes - **types:** export QueryClientConfig interface ([#3203](https://togithub.com/tannerlinsley/react-query/issues/3203)) ([26b3954](https://togithub.com/tannerlinsley/react-query/commit/26b39546cc1f37a3fff1e43515b65e640f532ad6)) ### [`v3.34.8`](https://togithub.com/TanStack/query/releases/tag/v3.34.8) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.7...v3.34.8) ##### Bug Fixes - **queryObserver:** fix data stability ([#3183](https://togithub.com/tannerlinsley/react-query/issues/3183)) ([755702d](https://togithub.com/tannerlinsley/react-query/commit/755702dd78efadb66038fb2535b7c513c128a918)) ### [`v3.34.7`](https://togithub.com/TanStack/query/releases/tag/v3.34.7) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.6...v3.34.7) ##### Bug Fixes - **queryObserver:** memoized select functions should not return outdated values ([#3140](https://togithub.com/tannerlinsley/react-query/issues/3140)) ([d7faf86](https://togithub.com/tannerlinsley/react-query/commit/d7faf86005052654451dd7d5b3665bf6c971b66e)), closes [#3098](https://togithub.com/tannerlinsley/react-query/issues/3098) ### [`v3.34.6`](https://togithub.com/TanStack/query/releases/tag/v3.34.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.5...v3.34.6) ##### Bug Fixes - **devtools:** code color is not inherited from panel color ([#3115](https://togithub.com/tannerlinsley/react-query/issues/3115)) ([ca2a57a](https://togithub.com/tannerlinsley/react-query/commit/ca2a57aa4e89bfc8b8695c4223c5a477f2c8fa7c)) ### [`v3.34.5`](https://togithub.com/TanStack/query/releases/tag/v3.34.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.4...v3.34.5) ##### Bug Fixes - **query:** set error to null when going to loading state ([#3106](https://togithub.com/tannerlinsley/react-query/issues/3106)) ([3981f52](https://togithub.com/tannerlinsley/react-query/commit/3981f5219a1e3d8f48d13108b55673dcaea46319)) ### [`v3.34.4`](https://togithub.com/TanStack/query/releases/tag/v3.34.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.3...v3.34.4) ##### Bug Fixes - **queryObserver:** make sure that memoized select function only runs once per input ([#3098](https://togithub.com/tannerlinsley/react-query/issues/3098)) ([2054f5b](https://togithub.com/tannerlinsley/react-query/commit/2054f5b227d1e6bb4d4efea8e33ec6e0534cb933)) ### [`v3.34.3`](https://togithub.com/TanStack/query/releases/tag/v3.34.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.2...v3.34.3) ##### Bug Fixes - unsubscribe correctly in onlineManager and focusManager ([#3092](https://togithub.com/tannerlinsley/react-query/issues/3092)) ([128e578](https://togithub.com/tannerlinsley/react-query/commit/128e578c08c19f50306db4de34321d6d34016cdb)) - **core:** remove enabled condition in queryObserver for suspense ([#3093](https://togithub.com/tannerlinsley/react-query/issues/3093)) ([0781142](https://togithub.com/tannerlinsley/react-query/commit/078114254d7c22cffa74283bf818914439840884)) ### [`v3.34.2`](https://togithub.com/TanStack/query/releases/tag/v3.34.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.1...v3.34.2) ##### Bug Fixes - **useInfiniteQuery:** fix infinite re-renders when select produced a new result ([#3081](https://togithub.com/tannerlinsley/react-query/issues/3081)) ([ca335de](https://togithub.com/tannerlinsley/react-query/commit/ca335dec7b898592bea49734c4d121d1fd125cdf)) ### [`v3.34.1`](https://togithub.com/TanStack/query/releases/tag/v3.34.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.34.0...v3.34.1) ##### Bug Fixes - **queriesObserver:** fix getOptimisticResult, order of returned observers ([#3052](https://togithub.com/tannerlinsley/react-query/issues/3052)) ([2ec1979](https://togithub.com/tannerlinsley/react-query/commit/2ec1979f9c42572060ee2c9fbebbc6356cf895eb)), closes [#2866](https://togithub.com/tannerlinsley/react-query/issues/2866) ### [`v3.34.0`](https://togithub.com/TanStack/query/releases/tag/v3.34.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.7...v3.34.0) ##### Features - **mutation:** add onMutate to MutationCache ([#3038](https://togithub.com/tannerlinsley/react-query/issues/3038)) ([aec640a](https://togithub.com/tannerlinsley/react-query/commit/aec640a5952f3787fc0efd0f39d7b51431110d43)) ### [`v3.33.7`](https://togithub.com/TanStack/query/releases/tag/v3.33.7) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.6...v3.33.7) ##### Bug Fixes - **useQuery:** continue retries if query unmounts and remounts ([#3032](https://togithub.com/tannerlinsley/react-query/issues/3032)) ([dc2df10](https://togithub.com/tannerlinsley/react-query/commit/dc2df1066fb35593ab9f7b852ee250424f212737)) ### [`v3.33.6`](https://togithub.com/TanStack/query/releases/tag/v3.33.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.5...v3.33.6) ##### Bug Fixes - **useQueries:** search for unused observers if keepPreviousData ([#2680](https://togithub.com/tannerlinsley/react-query/issues/2680)) ([#2866](https://togithub.com/tannerlinsley/react-query/issues/2866)) ([c51498a](https://togithub.com/tannerlinsley/react-query/commit/c51498a93598cf6b308a9e017c9d59ddbb68a776)) ### [`v3.33.5`](https://togithub.com/TanStack/query/releases/tag/v3.33.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.4...v3.33.5) ##### Bug Fixes - **useQueries:** add useMemo to useQueries to keep result stable ([#2992](https://togithub.com/tannerlinsley/react-query/issues/2992)) ([c6906b3](https://togithub.com/tannerlinsley/react-query/commit/c6906b3c4d3fd73900610a0b452a17f2eb63518f)) ### [`v3.33.4`](https://togithub.com/TanStack/query/releases/tag/v3.33.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.3...v3.33.4) ##### Bug Fixes - **query:** make sure prefetched queries can be garbage collected ([#3007](https://togithub.com/tannerlinsley/react-query/issues/3007)) ([0aafb42](https://togithub.com/tannerlinsley/react-query/commit/0aafb42fccc70799de4c387683fb826a5a4fab0a)) ### [`v3.33.3`](https://togithub.com/TanStack/query/releases/tag/v3.33.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.2...v3.33.3) ##### Bug Fixes - **useQuery:** cleanup queries even if they have been fetching ([#2950](https://togithub.com/tannerlinsley/react-query/issues/2950)) ([27e72de](https://togithub.com/tannerlinsley/react-query/commit/27e72de2677031779cad62ae346a5a6a0945603e)) ### [`v3.33.2`](https://togithub.com/TanStack/query/releases/tag/v3.33.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.1...v3.33.2) ##### Bug Fixes - **useQuery:** fix tracked queries and error boundaries ([#2993](https://togithub.com/tannerlinsley/react-query/issues/2993)) ([58dc1ce](https://togithub.com/tannerlinsley/react-query/commit/58dc1ce6264cbfebcdb76f0231867b149a6f083f)) ### [`v3.33.1`](https://togithub.com/TanStack/query/releases/tag/v3.33.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.33.0...v3.33.1) ##### Bug Fixes - **devtools:** improve devtools a11y ([#2947](https://togithub.com/tannerlinsley/react-query/issues/2947)) ([16131c3](https://togithub.com/tannerlinsley/react-query/commit/16131c30f8a2797ffac9b0f2056464ec3e58c685)) ### [`v3.33.0`](https://togithub.com/TanStack/query/releases/tag/v3.33.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.32.3...v3.33.0) ##### Features - **useMutation:** meta for mutations ([#2906](https://togithub.com/tannerlinsley/react-query/issues/2906)) ([5285479](https://togithub.com/tannerlinsley/react-query/commit/52854795b62946b4a4b73e4bddc6954db77e2058)) ### [`v3.32.3`](https://togithub.com/TanStack/query/releases/tag/v3.32.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.32.2...v3.32.3) ##### Bug Fixes - **useQuery:** don't throw error if errorBoundary has just been reset ([#2935](https://togithub.com/tannerlinsley/react-query/issues/2935)) ([2c36b6d](https://togithub.com/tannerlinsley/react-query/commit/2c36b6d9e9cdfcbcacff640e8782274c8e7f6e30)) ### [`v3.32.2`](https://togithub.com/TanStack/query/releases/tag/v3.32.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.32.1...v3.32.2) ##### Bug Fixes - **useQuery:** make sure that disabled queries in error state don't throw ([#2933](https://togithub.com/tannerlinsley/react-query/issues/2933)) ([d3d7fc4](https://togithub.com/tannerlinsley/react-query/commit/d3d7fc4451184b9744ceb1bdb1b351ca706aab61))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.