muizogundiran / pickmegallery

A gallery app
3 stars 0 forks source link

Update dependency react-query to v3 #18

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-query 2.23.1 -> 3.28.0 age adoption passing confidence

Release Notes

tannerlinsley/react-query ### [`v3.28.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.28.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.27.0...v3.28.0) ##### Bug Fixes - **useBaseQuery:** set cacheTime to 1 in Suspense mode when cacheTime is set to 0 ([#​2821](https://togithub.com/tannerlinsley/react-query/issues/2821)) ([2771a15](https://togithub.com/tannerlinsley/react-query/commit/2771a15403cb2e7c70022b850e8c54c6d2b3d8a0)) ##### Features - **useQueries:** enable types in useQueries ([#​2634](https://togithub.com/tannerlinsley/react-query/issues/2634)) ([2c1d74b](https://togithub.com/tannerlinsley/react-query/commit/2c1d74baf79ac2faf413eae3263e8c3348aca1a8)) ### [`v3.27.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.27.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.26.0...v3.27.0) ##### Features - **queryClient:** respect cancelRefetch flag ([#​2798](https://togithub.com/tannerlinsley/react-query/issues/2798)) ([255f7c6](https://togithub.com/tannerlinsley/react-query/commit/255f7c66a8d4a5c33a3b167304f787c7c4acf6f5)) ### [`v3.26.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.26.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.25.1...v3.26.0) ##### Features - **useInfiniteQuery:** respect cancelRefetch flag for infinite queries (fetchNextPage, fetchPreviousPage) ([#​2731](https://togithub.com/tannerlinsley/react-query/issues/2731)) ([115895f](https://togithub.com/tannerlinsley/react-query/commit/115895fc926db32b1731a01b446f2761ef533b84)) ### [`v3.25.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.25.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.25.0...v3.25.1) ##### Bug Fixes - **devtools:** replace all instances of rem with em. ([#​2760](https://togithub.com/tannerlinsley/react-query/issues/2760)) ([a85d822](https://togithub.com/tannerlinsley/react-query/commit/a85d822e24e64713d16b412a05cb2b26efcc7744)) ### [`v3.25.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.25.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.6...v3.25.0) ##### Features - **useQuery:** make refetchInterval accept a function ([#​2622](https://togithub.com/tannerlinsley/react-query/issues/2622)) ([9e414e8](https://togithub.com/tannerlinsley/react-query/commit/9e414e8b4f3118b571cf83121881804c0b58a814)) ### [`v3.24.6`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.5...v3.24.6) ##### Bug Fixes - **broadcastQueryClient:** Change broadcastChannel type to optional ([#​2752](https://togithub.com/tannerlinsley/react-query/issues/2752)) ([36c02b6](https://togithub.com/tannerlinsley/react-query/commit/36c02b6f3d5842c050ca6872bcb084eb216c8090)) ### [`v3.24.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.4...v3.24.5) ##### Bug Fixes - **devtools:** Default ReactQueryDevtoolsPanel isOpen to true ([#​2746](https://togithub.com/tannerlinsley/react-query/issues/2746)) ([0547e62](https://togithub.com/tannerlinsley/react-query/commit/0547e629520f72819edc655b7274d3949b3b80ab)), closes [#​2745](https://togithub.com/tannerlinsley/react-query/issues/2745) ### [`v3.24.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.3...v3.24.4) ##### Bug Fixes - **core:** add index.js files to sideEffects ([#​2703](https://togithub.com/tannerlinsley/react-query/issues/2703)) ([4115417](https://togithub.com/tannerlinsley/react-query/commit/4115417e3e3f3cc8683cd9a52d7a8afa9d9e8ed2)) ### [`v3.24.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.2...v3.24.3) ##### Bug Fixes - **persistQueryClient:** import hydration utils from core in persistQueryClient ([#​2684](https://togithub.com/tannerlinsley/react-query/issues/2684)) ([2544f07](https://togithub.com/tannerlinsley/react-query/commit/2544f079675f9b43598447c77f81ecb5397eaafc)) ### [`v3.24.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.1...v3.24.2) ##### Bug Fixes - **core:** make sure erroneous queries refetch when query keys change ([#​2686](https://togithub.com/tannerlinsley/react-query/issues/2686)) ([1beedf9](https://togithub.com/tannerlinsley/react-query/commit/1beedf9516c64bbcdd38afcc241276733fb2cd1d)) ### [`v3.24.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.24.0...v3.24.1) ##### Bug Fixes - **types:** exclude queryKey / queryFn from options if they have been provided as a separate argument ([#​2689](https://togithub.com/tannerlinsley/react-query/issues/2689)) ([7aadd68](https://togithub.com/tannerlinsley/react-query/commit/7aadd6896dd8a36e3f4ff8e7153a080528807d03)) ### [`v3.24.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.24.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.23.2...v3.24.0) ##### Bug Fixes - **devtools:** do not show disabled label for inactive queries and make statusColor match statusLabel ([#​2687](https://togithub.com/tannerlinsley/react-query/issues/2687)) ([16e70e1](https://togithub.com/tannerlinsley/react-query/commit/16e70e1fb9f67de5924d53cb56faa1e95bd6d7d2)) - **types:** fix generics for refetchPage function ([#​2638](https://togithub.com/tannerlinsley/react-query/issues/2638)) ([873647e](https://togithub.com/tannerlinsley/react-query/commit/873647e1246bd03ce168a73300bceb8047e964ef)) ##### Features - add isRefetching flag ([#​2469](https://togithub.com/tannerlinsley/react-query/issues/2469)) ([1896ca2](https://togithub.com/tannerlinsley/react-query/commit/1896ca27abf46d14df7c6f463d98eb285b8d9492)) ### [`v3.23.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.23.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.23.1...v3.23.2) ##### Bug Fixes - **UseMutationResult:** MutationState type allows type narrowing to match useQuery ([#​2620](https://togithub.com/tannerlinsley/react-query/issues/2620)) ([c956f1a](https://togithub.com/tannerlinsley/react-query/commit/c956f1af937f5f5186c7426dee1b07541264646b)) ### [`v3.23.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.23.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.23.0...v3.23.1) ##### Bug Fixes - **devtools:** Remove `id` attributes from SVGs ([#​2653](https://togithub.com/tannerlinsley/react-query/issues/2653)) ([eeecd1c](https://togithub.com/tannerlinsley/react-query/commit/eeecd1c3fda94ca597c021cb01dabb8526c8d9a7)) ### [`v3.23.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.23.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.22.0...v3.23.0) ##### Features - Allow handling some errors locally while using error boundaries ([#​2619](https://togithub.com/tannerlinsley/react-query/issues/2619)) ([ee7ca0b](https://togithub.com/tannerlinsley/react-query/commit/ee7ca0bf1e813fd727f25abeb67755f43b636b3f)) Please note that prior to this release, if you've set `useErrorBoundary: false` *and* `suspense: true`, you would still get all errors in an ErrorBoundary, because `suspense` would *always* throw errors to ErrorBoundaries. This was fixed with [#​2619](https://togithub.com/tannerlinsley/react-query/issues/2619), and the `useErrorBoundary` flag is now also respected if `suspense` is enabled. ### [`v3.22.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.22.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.21.1...v3.22.0) ##### Features - **hydration:** move hydration utilities to core, keeping old exports ([#​2497](https://togithub.com/tannerlinsley/react-query/issues/2497)) ([1986127](https://togithub.com/tannerlinsley/react-query/commit/19861272f57da5e587bce5bff449d0c3020243e0)) ### [`v3.21.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.21.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.21.0...v3.21.1) ##### Bug Fixes - **devtools:** do not render DevTools during SSR ([#​2615](https://togithub.com/tannerlinsley/react-query/issues/2615)) ([b46c646](https://togithub.com/tannerlinsley/react-query/commit/b46c6467389538ccf0fe9e20bb772a2ac5b42458)) ### [`v3.21.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.21.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.20.0...v3.21.0) ##### Features - **devtools:** show disabled badge for a query if all observers are disabled ([#​2592](https://togithub.com/tannerlinsley/react-query/issues/2592)) ([afcba60](https://togithub.com/tannerlinsley/react-query/commit/afcba6066d238b9ef34386e6da4f372b3e6f7ca0)) ### [`v3.20.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.20.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.6...v3.20.0) ##### Features - **infiniteQuery:** add possibility to decide which pages should be refetched ([#​2557](https://togithub.com/tannerlinsley/react-query/issues/2557)) ([f9b23fc](https://togithub.com/tannerlinsley/react-query/commit/f9b23fcae9c5d45e3985df4519dd8f78a9fa364e)) ### [`v3.19.6`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.5...v3.19.6) ##### Bug Fixes - **core:** change `shouldFetchOptionally` function to account for query key changes ([#​2565](https://togithub.com/tannerlinsley/react-query/issues/2565)) ([bac853f](https://togithub.com/tannerlinsley/react-query/commit/bac853fb3c5f4f2c1fb1fa15bc3be9368494ef3d)) ### [`v3.19.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.4...v3.19.5) ##### Bug Fixes - **core:** change `shouldFetchOptionally` condition ([#​2556](https://togithub.com/tannerlinsley/react-query/issues/2556)) ([69f1eaf](https://togithub.com/tannerlinsley/react-query/commit/69f1eafca0804875f39a1ef1801013979b6c9bbd)) ### [`v3.19.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.3...v3.19.4) ##### Bug Fixes - **useQueries:** make sure keepPreviousData is respected ([#​2340](https://togithub.com/tannerlinsley/react-query/issues/2340)) ([6bbb371](https://togithub.com/tannerlinsley/react-query/commit/6bbb3710e5fae3bd8c425048be3a2b7f14c29100)) ### [`v3.19.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.2...v3.19.3) ##### Bug Fixes - **useQuery:** apply placeholderData also to disabled queries ([#​2541](https://togithub.com/tannerlinsley/react-query/issues/2541)) ([418c48f](https://togithub.com/tannerlinsley/react-query/commit/418c48f611817caf323c2b127f9e51f522109dad)) ### [`v3.19.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.1...v3.19.2) ##### Bug Fixes - add overloads to useIsMutating ([#​2451](https://togithub.com/tannerlinsley/react-query/issues/2451)) ([9ab60ac](https://togithub.com/tannerlinsley/react-query/commit/9ab60ace215ee942952f49cf56d627eac8930111)) ##### Features - **QueryClient:** getQueriesData for matching multiple queries ([#​2513](https://togithub.com/tannerlinsley/react-query/issues/2513)) ([76e314d](https://togithub.com/tannerlinsley/react-query/commit/76e314d0887edbd702369e8554cc840508561b94)) ### [`v3.19.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.19.0...v3.19.1) ##### Bug Fixes - **MutationOptions:** improve the type of onMutate ([#​2494](https://togithub.com/tannerlinsley/react-query/issues/2494)) ([b95b865](https://togithub.com/tannerlinsley/react-query/commit/b95b86567dc5f448112d6be6ce5c08b4bf9e8769)) ### [`v3.19.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.19.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.18.1...v3.19.0) ##### Bug Fixes - rename asyncStoragePersistor to createAsyncStoragePersistor ([#​2421](https://togithub.com/tannerlinsley/react-query/issues/2421)) ([475eb41](https://togithub.com/tannerlinsley/react-query/commit/475eb4123abdadebd76354ce3d4d72abe24d2bd3)) ##### Features - **queryCache:** add global onSuccess callback ([#​2404](https://togithub.com/tannerlinsley/react-query/issues/2404)) ([e6da990](https://togithub.com/tannerlinsley/react-query/commit/e6da990703482cff8ea99f5a254975cb57463ed5)) ### [`v3.18.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.18.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.18.0...v3.18.1) ##### Bug Fixes - update matchQuery logic to cater for all permutations ([#​2275](https://togithub.com/tannerlinsley/react-query/issues/2275)) ([e5ba8bb](https://togithub.com/tannerlinsley/react-query/commit/e5ba8bb77ee5df8acf98768430c9a4d506c73b60)) ### [`v3.18.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.18.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.17.3...v3.18.0) ##### Features - asyncStoragePersistor for React Native ([#​2360](https://togithub.com/tannerlinsley/react-query/issues/2360)) ([7a628d6](https://togithub.com/tannerlinsley/react-query/commit/7a628d6497e6f71242f9af84de46997083f12549)) ### [`v3.17.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.17.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.17.2...v3.17.3) ##### Bug Fixes - **useQuery:** don't inform observers about CancelledErrors ([#​2409](https://togithub.com/tannerlinsley/react-query/issues/2409)) ([a778044](https://togithub.com/tannerlinsley/react-query/commit/a7780444bb0bdd0e7a768c6ebc57e04aea5f7c51)) ### [`v3.17.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.17.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.17.1...v3.17.2) ##### Bug Fixes - **devtools:** Hide devtools when closed, prevent focus ([#​2376](https://togithub.com/tannerlinsley/react-query/issues/2376)) ([9aed040](https://togithub.com/tannerlinsley/react-query/commit/9aed040364796cdd5cab0f53123e02a6c6f769de)) ### [`v3.17.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.17.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.17.0...v3.17.1) ##### Bug Fixes - display devtools only in production ([#​2382](https://togithub.com/tannerlinsley/react-query/issues/2382)) ([772c6c4](https://togithub.com/tannerlinsley/react-query/commit/772c6c4e121c97b54dfe58165d04ce82e6703a30)) ### [`v3.17.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.17.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.16.1...v3.17.0) ##### Features - session storage persistor ([#​2282](https://togithub.com/tannerlinsley/react-query/issues/2282)) ([be6bfbb](https://togithub.com/tannerlinsley/react-query/commit/be6bfbb1bcd0ef5521413e92e9746eef07486276)) **Breaking experimental change**: This release removed the experimental `LocalStoragePersistor` in favor of a more generic [WebStoragePeristor](https://react-query.tanstack.com/plugins/createWebStoragePersistor), which works with any [WebStorage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API) like `localStorage` and `sessionStorage` ### [`v3.16.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.16.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.16.0...v3.16.1) ##### Bug Fixes - **devtools:** fix devtools crash on rejected promises on refetch ([#​2344](https://togithub.com/tannerlinsley/react-query/issues/2344)) ([ff830db](https://togithub.com/tannerlinsley/react-query/commit/ff830db831f89ba7cebe66cf8c23ca218bdb3643)), closes [#​2014](https://togithub.com/tannerlinsley/react-query/issues/2014) ### [`v3.16.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.16.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.15.3...v3.16.0) ##### Features - **queryClient:** add setQueriesData utility ([#​2204](https://togithub.com/tannerlinsley/react-query/issues/2204)) ([09116e5](https://togithub.com/tannerlinsley/react-query/commit/09116e54b98f5f15fd6777fb26a3d735573a2e4a)) ### [`v3.15.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.15.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.15.2...v3.15.3) ##### Bug Fixes - do not throw errors while a query is retrying ([#​2147](https://togithub.com/tannerlinsley/react-query/issues/2147)) ([c8b3ff2](https://togithub.com/tannerlinsley/react-query/commit/c8b3ff2153e57d1464f9e1fc9dc44f8294bd3a61)) ### [`v3.15.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.15.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.15.1...v3.15.2) ##### Bug Fixes - **useQuery:** make sure queryKeys are always an array at runtime when passed to the queryFn ([#​2200](https://togithub.com/tannerlinsley/react-query/issues/2200)) ([4083c1e](https://togithub.com/tannerlinsley/react-query/commit/4083c1ef8a8734d2680a4e5f031c7958c18ee176)) ### [`v3.15.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.15.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.15.0...v3.15.1) ##### Bug Fixes - **types:** allow returning of any promise in the mutation callbacks ([#​2189](https://togithub.com/tannerlinsley/react-query/issues/2189)) ([2e03a61](https://togithub.com/tannerlinsley/react-query/commit/2e03a615f84dc297bb00004ae0f7cfe99dd5fef0)) ### [`v3.15.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.15.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.14.0...v3.15.0) ##### Features - **persist:** Added hydrate and dehydrate options to the persistQueryClient function ([#​2131](https://togithub.com/tannerlinsley/react-query/issues/2131)) ([9626c1b](https://togithub.com/tannerlinsley/react-query/commit/9626c1b732b657fa7feeffb2f4c019f203461708)) ### [`v3.14.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.14.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.12...v3.14.0) ##### Features - **query:** add 'getObserversCount' util ([#​2130](https://togithub.com/tannerlinsley/react-query/issues/2130)) ([79ad5a9](https://togithub.com/tannerlinsley/react-query/commit/79ad5a9ccbce1486c10e7e364d8fc28bef3fa19f)) ### [`v3.13.12`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.12) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.11...v3.13.12) ##### Bug Fixes - **types:** add mutationFn to UseMutationOptions ([#​2182](https://togithub.com/tannerlinsley/react-query/issues/2182)) ([92435c7](https://togithub.com/tannerlinsley/react-query/commit/92435c77b8b62351724375ae3d10ab01154e0034)) - focus handler typings ([#​2152](https://togithub.com/tannerlinsley/react-query/issues/2152)) ([07ce2a5](https://togithub.com/tannerlinsley/react-query/commit/07ce2a5732d144a830346cc9f0affe3bc6c29458)), closes [#​2053](https://togithub.com/tannerlinsley/react-query/issues/2053) ### [`v3.13.11`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.11) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.10...v3.13.11) ##### Bug Fixes - **types:** use MutationKey in UseMutationOptions ([#​2164](https://togithub.com/tannerlinsley/react-query/issues/2164)) ([5f73635](https://togithub.com/tannerlinsley/react-query/commit/5f7363518a8e0549bc7f9707cb257f09384c7b09)) ### [`v3.13.10`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.10) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.9...v3.13.10) ##### Bug Fixes - Add TQueryKey to QueryFunction generic type in QueryOptions, remove ensureArray from Query ([#​2074](https://togithub.com/tannerlinsley/react-query/issues/2074)) ([c343457](https://togithub.com/tannerlinsley/react-query/commit/c3434575a1221a33ed9684f87ef961f7df5adeb4)) ### [`v3.13.9`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.9) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.8...v3.13.9) ##### Bug Fixes - useInfiniteQuery suspense bug ([#​2119](https://togithub.com/tannerlinsley/react-query/issues/2119)) ([de28254](https://togithub.com/tannerlinsley/react-query/commit/de282541591a7c350035a2fb5c27f5404c5daffa)) ### [`v3.13.8`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.8) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.7...v3.13.8) ##### Bug Fixes - **hydration:** import useQueryClient directly from react-query ([#​2121](https://togithub.com/tannerlinsley/react-query/issues/2121)) ([2050773](https://togithub.com/tannerlinsley/react-query/commit/20507737119e7d785c42c36f32f4d774addd892b)) ### [`v3.13.7`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.7) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.6...v3.13.7) ##### Bug Fixes - **devtools:** import useQueryClient directly from react-query ([#​2113](https://togithub.com/tannerlinsley/react-query/issues/2113)) ([eac52f6](https://togithub.com/tannerlinsley/react-query/commit/eac52f66d3b932cd17b1215eb95d2467f629d150)) ### [`v3.13.6`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.5...v3.13.6) ##### Bug Fixes - **types:** Add `undefined` return type in onMutate ([#​2089](https://togithub.com/tannerlinsley/react-query/issues/2089)) ([a88d80f](https://togithub.com/tannerlinsley/react-query/commit/a88d80f6f7b2d96ab605ac08f4fbaed9a3bcd4b7)) ### [`v3.13.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.4...v3.13.5) ##### Bug Fixes - **types:** adds queryKey generic to queryClient functions ([#​2100](https://togithub.com/tannerlinsley/react-query/issues/2100)) ([356627a](https://togithub.com/tannerlinsley/react-query/commit/356627a33616c360bccc3a1ccd9521ecc3485f1a)) ### [`v3.13.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.3...v3.13.4) ##### Bug Fixes - **useQuery:** type of initialData now corresponds to the type returned by the query-fn ([#​2069](https://togithub.com/tannerlinsley/react-query/issues/2069)) ([7b14ef5](https://togithub.com/tannerlinsley/react-query/commit/7b14ef519a544d725f2cff99574f0a01f92b8c94)) ### [`v3.13.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.2...v3.13.3) ##### Bug Fixes - **useQuery:** let type of queryKey for the QueryContext be inferred from the key passed to useQuery ([#​2047](https://togithub.com/tannerlinsley/react-query/issues/2047)) ([e42cbc3](https://togithub.com/tannerlinsley/react-query/commit/e42cbc32dfcd9add24cadd06135e42af1dbbc8ad)) ### [`v3.13.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.1...v3.13.2) ##### Bug Fixes - **types:** onlineManager: setup function needs to accept the online boolean, and the cleanup function shouldn't ([#​2053](https://togithub.com/tannerlinsley/react-query/issues/2053)) ([9428bfd](https://togithub.com/tannerlinsley/react-query/commit/9428bfdb7f7a6a6ffc2ef39fbd743e0b7c34e1b7)) ### [`v3.13.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.13.0...v3.13.1) ##### Bug Fixes - **devtools:** only subscribe to the queryCache while the devtools are open ([#​2045](https://togithub.com/tannerlinsley/react-query/issues/2045)) ([b19ad1f](https://togithub.com/tannerlinsley/react-query/commit/b19ad1f97a4aecac9a35a12aa7a6733fe14cac29)) - **types:** align prefetchQuery generics with fetchQuery types ([#​2016](https://togithub.com/tannerlinsley/react-query/issues/2016)) ([fbaed66](https://togithub.com/tannerlinsley/react-query/commit/fbaed6673fef5c7781769b44adaf353359146ce0)) ### [`v3.13.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.13.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.12.3...v3.13.0) ##### Features - add useIsMutating hook ([#​1971](https://togithub.com/tannerlinsley/react-query/issues/1971)) ([07b9f2c](https://togithub.com/tannerlinsley/react-query/commit/07b9f2ce97bc94907c66564190f83166994995d5)) ### [`v3.12.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.12.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.12.2...v3.12.3) ##### Bug Fixes - **queryObserver:** re-run selector if it throws error ([#​1875](https://togithub.com/tannerlinsley/react-query/issues/1875)) ([cfecf52](https://togithub.com/tannerlinsley/react-query/commit/cfecf5261e60684d60c3bd788a7a517cc938a065)) ### [`v3.12.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.12.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.12.1...v3.12.2) ##### Bug Fixes - Do not default to `false` on `refetchInactive` ([#​1934](https://togithub.com/tannerlinsley/react-query/issues/1934)) ([0809adc](https://togithub.com/tannerlinsley/react-query/commit/0809adccecc4510a98b1eb31224bb2013dcc6123)) ### [`v3.12.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.12.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.12.0...v3.12.1) ##### Bug Fixes - disable context sharing per default ([#​1912](https://togithub.com/tannerlinsley/react-query/issues/1912)) ([52bddb6](https://togithub.com/tannerlinsley/react-query/commit/52bddb67f1d41047e80f291f9253bbc4c7c3eda6)) ### [`v3.12.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.12.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.11.0...v3.12.0) ##### Features - pass error as second parameter to retryDelay function ([#​1838](https://togithub.com/tannerlinsley/react-query/issues/1838)) ([fbd3488](https://togithub.com/tannerlinsley/react-query/commit/fbd3488a3c13eeef3d9eb4d5cd536787ac75ecf3)) ### [`v3.11.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.11.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.10.0...v3.11.0) ##### Features - **broadcastQueryClient:** experimental support for tab/window syncing ([#​1793](https://togithub.com/tannerlinsley/react-query/issues/1793)) ([4bbfe2a](https://togithub.com/tannerlinsley/react-query/commit/4bbfe2ab97b83a40553e7c78c6174907cb708682)) ### [`v3.10.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.10.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.9...v3.10.0) ##### Features - **subscriptions:** add event types and metadata to subscriptions ([#​1792](https://togithub.com/tannerlinsley/react-query/issues/1792)) ([9fad892](https://togithub.com/tannerlinsley/react-query/commit/9fad89220c68b3f9815cfdae15af9ef095b926fc)) ### [`v3.9.9`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.9) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.8...v3.9.9) ##### Bug Fixes - toggle button position ([#​1848](https://togithub.com/tannerlinsley/react-query/issues/1848)) ([5e40bf7](https://togithub.com/tannerlinsley/react-query/commit/5e40bf797c197e948c9da0e102a6cc9c623183c6)) ### [`v3.9.8`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.8) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.7...v3.9.8) ##### Bug Fixes - do not attempt to use global for context sharing ([7e98e1c](https://togithub.com/tannerlinsley/react-query/commit/7e98e1ca3c4f4e90a682cc3d26857339b8d72037)) ### [`v3.9.7`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.7) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.6...v3.9.7) ##### Bug Fixes - cross-module react query context ([#​1805](https://togithub.com/tannerlinsley/react-query/issues/1805)) ([19e0723](https://togithub.com/tannerlinsley/react-query/commit/19e07237ce4630521a826eb350fc05893f866740)) ### [`v3.9.6`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.5...v3.9.6) ##### Bug Fixes - make sure suspense callbacks get correct data ([8a61316](https://togithub.com/tannerlinsley/react-query/commit/8a613165fc7dbc5213f61ad75f29ba54d248a0df)) ### [`v3.9.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.4...v3.9.5) ##### Bug Fixes - string and array query keys should be similar ([#​1799](https://togithub.com/tannerlinsley/react-query/issues/1799)) ([b124ca8](https://togithub.com/tannerlinsley/react-query/commit/b124ca8a42fd5fac3a328ec44353c41e3a65dacc)) ### [`v3.9.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.3...v3.9.4) ##### Bug Fixes - prevent fetch when switching to disabled query ([7906ce7](https://togithub.com/tannerlinsley/react-query/commit/7906ce786fcac8bae63a4eb6bbcba514df677ccb)) ### [`v3.9.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.2...v3.9.3) ##### Bug Fixes - use correct query and options when creating infinite query result ([dbd3b61](https://togithub.com/tannerlinsley/react-query/commit/dbd3b616fa80e64e2de0cb444be2398a1f8fef38)) ### [`v3.9.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.1...v3.9.2) ##### Bug Fixes - **experimental:** persistQueryClient and persistors ([#​1789](https://togithub.com/tannerlinsley/react-query/issues/1789)) ([131eb29](https://togithub.com/tannerlinsley/react-query/commit/131eb29a82202e078c43c50ddfa4f317b1ed545a)) ### [`v3.9.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.9.0...v3.9.1) ##### Bug Fixes - useEffect is now defined ([627560f](https://togithub.com/tannerlinsley/react-query/commit/627560ff8b17c7d50c7184bf2a66fafa86b76bec)), closes [#​1787](https://togithub.com/tannerlinsley/react-query/issues/1787) - useLocalStorage dependency array ([abd7f86](https://togithub.com/tannerlinsley/react-query/commit/abd7f86ed1750a4716740d60078b18a91840e82d)) ### [`v3.9.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.9.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.8.3...v3.9.0) ##### Bug Fixes - devtools hydration error ([#​1727](https://togithub.com/tannerlinsley/react-query/issues/1727)) ([aebc555](https://togithub.com/tannerlinsley/react-query/commit/aebc5553d9faa714f0d465b5521a700235c34e3a)) - queries should not end up in an error state when a component unmounts ([#​1781](https://togithub.com/tannerlinsley/react-query/issues/1781)) ([f9f9cce](https://togithub.com/tannerlinsley/react-query/commit/f9f9cce852740e170974e1436d3112ce50a648ea)) ##### Features - add support for concurrent mode ([#​1775](https://togithub.com/tannerlinsley/react-query/issues/1775)) ([4a821b0](https://togithub.com/tannerlinsley/react-query/commit/4a821b0f1f94fecdc0c19d1d914aa1f4a2cc0e6d)) ### [`v3.8.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.8.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.8.2...v3.8.3) ##### Bug Fixes - handle select errors ([#​1760](https://togithub.com/tannerlinsley/react-query/issues/1760)) ([c921585](https://togithub.com/tannerlinsley/react-query/commit/c921585fd79bce7cb5133714d2490510863b4e21)) ### [`v3.8.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.8.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.8.1...v3.8.2) ##### Bug Fixes - stop fetching pages when an infinite query unmounts ([#​1761](https://togithub.com/tannerlinsley/react-query/issues/1761)) ([3d2806e](https://togithub.com/tannerlinsley/react-query/commit/3d2806edb43c557be201e214edb0d503be3159f9)) ### [`v3.8.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.8.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.8.0...v3.8.1) ##### Bug Fixes - single query methods should be exact by default ([#​1756](https://togithub.com/tannerlinsley/react-query/issues/1756)) ([0b8c55c](https://togithub.com/tannerlinsley/react-query/commit/0b8c55c3a6f4a9e12a33ec828bc415c77679cf8b)) ### [`v3.8.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.8.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.7.1...v3.8.0) ##### Bug Fixes - check if the navigator global is available before usage ([#​1755](https://togithub.com/tannerlinsley/react-query/issues/1755)) ([7c08f33](https://togithub.com/tannerlinsley/react-query/commit/7c08f330ec54383b9116f3580e0cc74eeb606a84)) - make sure state is not updated when unmounted ([#​1758](https://togithub.com/tannerlinsley/react-query/issues/1758)) ([5bd3fa9](https://togithub.com/tannerlinsley/react-query/commit/5bd3fa973b29dda91921a88142f628f5bbf84e1b)) - update synchronously to make sure observers always have the latest state ([#​1757](https://togithub.com/tannerlinsley/react-query/issues/1757)) ([2da342c](https://togithub.com/tannerlinsley/react-query/commit/2da342cde91537ef6bb8d9edfa8a967be9ef012b)) ##### Features - run selector if reference changes to enable use of dependencies ([#​1751](https://togithub.com/tannerlinsley/react-query/issues/1751)) ([bd6c2b5](https://togithub.com/tannerlinsley/react-query/commit/bd6c2b541601477c42618c79876a6d5b30dfede9)) ### [`v3.7.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.7.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.7.0...v3.7.1) ##### Bug Fixes - accept null values in mutate function ([#​1740](https://togithub.com/tannerlinsley/react-query/issues/1740)) ([8e24ebd](https://togithub.com/tannerlinsley/react-query/commit/8e24ebdec184996ded8b83bcbdd7d60fcfa480a6)) ### [`v3.7.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.7.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.6.1...v3.7.0) ##### Features - **types:** Add optional cancelRefetch field to ResultOptions interface ([#​1663](https://togithub.com/tannerlinsley/react-query/issues/1663)) ([2164530](https://togithub.com/tannerlinsley/react-query/commit/216453059f77b14fed6db7aeb034335eea4f687a)) ### [`v3.6.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.6.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.6.0...v3.6.1) ##### Bug Fixes - notify on updates between mounting and subscribing ([#​1737](https://togithub.com/tannerlinsley/react-query/issues/1737)) ([397d8b7](https://togithub.com/tannerlinsley/react-query/commit/397d8b71eb4c904783c7091ca94e52de30d7e036)) ### [`v3.6.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.6.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.16...v3.6.0) ##### Bug Fixes - **query:** transition to error state when keepPreviousData is true ([#​1665](https://togithub.com/tannerlinsley/react-query/issues/1665)) ([ead2e5d](https://togithub.com/tannerlinsley/react-query/commit/ead2e5dd5237f3d004b66316b5f36af718286d2d)), closes [#​1659](https://togithub.com/tannerlinsley/react-query/issues/1659) ##### Features - use tracked query ([#​1578](https://togithub.com/tannerlinsley/react-query/issues/1578)) ([39691a7](https://togithub.com/tannerlinsley/react-query/commit/39691a739bff2850974209dbab6078be6c1b04eb)) ### [`v3.5.16`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.16) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.15...v3.5.16) ##### Bug Fixes - **hydration:** useMemo for hydrating again ([eb3d700](https://togithub.com/tannerlinsley/react-query/commit/eb3d700dc522b86f6e9cc42d08e3b6197766c53b)) ### [`v3.5.15`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.15) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.14...v3.5.15) ##### Bug Fixes - stop returning cancelledError on reset during fetch ([#​1660](https://togithub.com/tannerlinsley/react-query/issues/1660)) ([c98968c](https://togithub.com/tannerlinsley/react-query/commit/c98968cc841f0538e9e9e7bf7b3a323a2523facb)) ### [`v3.5.14`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.14) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.13...v3.5.14) ##### Bug Fixes - suppress SSR warnings for devtools ([#​1613](https://togithub.com/tannerlinsley/react-query/issues/1613)) ([e3f0ad5](https://togithub.com/tannerlinsley/react-query/commit/e3f0ad58e8f63d1c83c0fe18d4711c8c7f52b7c2)) - **hydration:** useMemo -> useEffect ([#​1643](https://togithub.com/tannerlinsley/react-query/issues/1643)) ([5f04615](https://togithub.com/tannerlinsley/react-query/commit/5f046151e197f9608c603a0f0a7724f568c039a2)) ### [`v3.5.13`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.13) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.12...v3.5.13) ##### Bug Fixes - **onlineManager:** listen to 'offline' events ([#​1656](https://togithub.com/tannerlinsley/react-query/issues/1656)) ([e9208b2](https://togithub.com/tannerlinsley/react-query/commit/e9208b240170eda4a6fe5ba448df4ed65999771e)), closes [#​1654](https://togithub.com/tannerlinsley/react-query/issues/1654) ### [`v3.5.12`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.12) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.11...v3.5.12) ##### Bug Fixes - prevent missing renders ([#​1608](https://togithub.com/tannerlinsley/react-query/issues/1608)) ([5c93a2e](https://togithub.com/tannerlinsley/react-query/commit/5c93a2ec3dd744e73ba5dbeab74a75a7e44c6134)) ### [`v3.5.11`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.11) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.10...v3.5.11) ##### Bug Fixes - **devtools:** Added type attribute to all button elements ([#​1581](https://togithub.com/tannerlinsley/react-query/issues/1581)) ([6458c50](https://togithub.com/tannerlinsley/react-query/commit/6458c506ca9e96283f8a021c17e4eaa4e5a8ef83)) ### [`v3.5.10`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.10) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.9...v3.5.10) ##### Bug Fixes - make sure queries which have dataUpdatedAt of 0 will be run ([#​1556](https://togithub.com/tannerlinsley/react-query/issues/1556)) ([1299ad6](https://togithub.com/tannerlinsley/react-query/commit/1299ad6c4ccd4f07128f7cada49dc7b962cdba5d)) ### [`v3.5.9`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.9) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.8...v3.5.9) ##### Bug Fixes - **devtools:** filtering, hide sorting while filtering, show logo when open ([9247ab8](https://togithub.com/tannerlinsley/react-query/commit/9247ab8ca57bf79e080c9e8be7fcf745317d2b81)) ### [`v3.5.8`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.8) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.7...v3.5.8) ##### Bug Fixes - **devtools:** remember panel height ([b60ee0e](https://togithub.com/tannerlinsley/react-query/commit/b60ee0e92431c32e5cda7cfde0481b55245ab466)) ### [`v3.5.7`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.7) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.6...v3.5.7) ##### Bug Fixes - improve devtools styles ([7e29579](https://togithub.com/tannerlinsley/react-query/commit/7e29579c60e2b309e0c1fa9dc58a649c9c9fcc6a)) ### [`v3.5.6`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.6) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.5...v3.5.6) ##### Bug Fixes - use query data when getting next and prev page params ([c21e88c](https://togithub.com/tannerlinsley/react-query/commit/c21e88cbd86ac292611c609c1dfd5dcc81a4b27a)) ### [`v3.5.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.4...v3.5.5) ##### Bug Fixes - **devtools:** Remove debug statement in devtools ([#​1516](https://togithub.com/tannerlinsley/react-query/issues/1516)) ([9f79d04](https://togithub.com/tannerlinsley/react-query/commit/9f79d04473b703e15b9dd2e175977765933b6775)) ### [`v3.5.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.3...v3.5.4) ##### Bug Fixes - **devtools:** guard against window in useMediaQuery ([24413b7](https://togithub.com/tannerlinsley/react-query/commit/24413b72825c99e1e5bda075db4766dbc2b31be5)), closes [#​1515](https://togithub.com/tannerlinsley/react-query/issues/1515) ### [`v3.5.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.2...v3.5.3) ##### Bug Fixes - **devtools:** guard against window for server envs ([c95cebc](https://togithub.com/tannerlinsley/react-query/commit/c95cebc078f9995805f83c50d7536c8d3d5398aa)) ### [`v3.5.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.1...v3.5.2) ##### Bug Fixes - **devtools:** Better panel resizing, scrollbars and styles ([7c4501b](https://togithub.com/tannerlinsley/react-query/commit/7c4501b076db841c0c02a015f0c4b70bb799a22b)) ### [`v3.5.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.5.0...v3.5.1) ##### Bug Fixes - **devtools:** change the new invalidate button color to have more contrast ([#​1507](https://togithub.com/tannerlinsley/react-query/issues/1507)) ([e69b391](https://togithub.com/tannerlinsley/react-query/commit/e69b391efcbb09015dc1ecdac288cde17cfdb703)) ### [`v3.5.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.5.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.4.1...v3.5.0) ##### Features - add error callback for queries and mutations ([#​1504](https://togithub.com/tannerlinsley/react-query/issues/1504)) ([77f434c](https://togithub.com/tannerlinsley/react-query/commit/77f434c10af803d3d871ea138eefb20a91b3e360)) ### [`v3.4.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.4.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.4.0...v3.4.1) ##### Bug Fixes - **devtools:** add invalidate and reset buttons ([906f1cf](https://togithub.com/tannerlinsley/react-query/commit/906f1cf4c89a264c99c46f53b1271b9435a03e51)) ### [`v3.4.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.4.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.5...v3.4.0) ##### Features - options.initialDataUpdatedAt ([#​1493](https://togithub.com/tannerlinsley/react-query/issues/1493)) ([790927d](https://togithub.com/tannerlinsley/react-query/commit/790927de58d0638f01d620829e9551e0fd8064dc)) ### [`v3.3.5`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.5) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.4...v3.3.5) ##### Bug Fixes - remove use of finally to prevent breaking react native fetch environments ([#​1492](https://togithub.com/tannerlinsley/react-query/issues/1492)) ([3ffe26e](https://togithub.com/tannerlinsley/react-query/commit/3ffe26e66b3b463b17d0a753aa007b1008fee197)) ### [`v3.3.4`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.3...v3.3.4) ##### Bug Fixes - make sure queries are retried after an error boundary reset ([#​1489](https://togithub.com/tannerlinsley/react-query/issues/1489)) ([2249abf](https://togithub.com/tannerlinsley/react-query/commit/2249abfaac3d8cf19a14bc6645a96a8c384c1354)) ### [`v3.3.3`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.2...v3.3.3) ##### Bug Fixes - prevent redundant renders ([#​1487](https://togithub.com/tannerlinsley/react-query/issues/1487)) ([bffdc0e](https://togithub.com/tannerlinsley/react-query/commit/bffdc0e8ddebc1adfd1f9e5ed59b55ba7e39b2e7)) ### [`v3.3.2`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.1...v3.3.2) ##### Bug Fixes - make sure typed query fn contexts are accepted ([#​1476](https://togithub.com/tannerlinsley/react-query/issues/1476)) ([75a0425](https://togithub.com/tannerlinsley/react-query/commit/75a042580a04bfbf9c929b0ce87d3cd6370cbc09)) ### [`v3.3.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.3.0...v3.3.1) ##### Bug Fixes - infer result data type from query fn return type instead of the reverse ([#​1470](https://togithub.com/tannerlinsley/react-query/issues/1470)) ([861faf9](https://togithub.com/tannerlinsley/react-query/commit/861faf933b610343f04661dcd62b421ef1439bf6)) ### [`v3.3.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.3.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.2.0...v3.3.0) ##### Bug Fixes - allow queries to be fetched with zero cache time and do not hydrate it ([#​1442](https://togithub.com/tannerlinsley/react-query/issues/1442)) ([eb301fc](https://togithub.com/tannerlinsley/react-query/commit/eb301fc908cc456352699041e9717bf232e354a3)) - always render the latest observer state ([#​1449](https://togithub.com/tannerlinsley/react-query/issues/1449)) ([260ec62](https://togithub.com/tannerlinsley/react-query/commit/260ec62983377e82b4d9f0b441764f4f793f68d7)) - **devtools:** Do not include devtools for production ([5e4ef15](https://togithub.com/tannerlinsley/react-query/commit/5e4ef153de642551d554047ce99124bfb58e254e)) - remove unneeded bracket in README ([#​1418](https://togithub.com/tannerlinsley/react-query/issues/1418)) ([67ba20d](https://togithub.com/tannerlinsley/react-query/commit/67ba20d39ead7b1653f938008b4d95593f842659)) - **queryCache:** stop deepIncludes exception comparing null ([#​1403](https://togithub.com/tannerlinsley/react-query/issues/1403)) ([80cecef](https://togithub.com/tannerlinsley/react-query/commit/80cecef22c3e088d6cd9f8fbc5cd9e2c0aab962f)) ##### Features - add imperative infinite query methods ([#​1443](https://togithub.com/tannerlinsley/react-query/issues/1443)) ([14834e8](https://togithub.com/tannerlinsley/react-query/commit/14834e8214f8809d1f6c81232575041d50d61f14)) ### [`v3.2.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.2.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.1.1...v3.2.0) [![Group 3](https://user-images.githubusercontent.com/5580297/102035473-ac8c1500-3d7d-11eb-9eea-495f8411c98c.png)](https://youtu.be/hKiuWvAqRLY) V2 of React Query was awesome and brought some amazing new features, more magic, and an overall better experience to the library. It also brought on massive adoption and likewise a lot of refining fire (issues/contributions) to the library and brought to light a few things that needed more polish to make the library even better. This PR contains that very polish. ### Overview A full migration guide is available for moving from v2 to v3 and discusses all of the transformations in detail, but at a high-level, the following features/changes have taken place in v3: - Better cache isolation, both for use and testing - More control over global options - Better SSR Support - Better definitions/APIs for "pagination" or data lagging - Bi-directional configuration and manual-updating of infinite queries - Default configuration support for queries and mutations - More control over rendering optimizations - Query data selectors - Variable-length parallel query execution - Retry/offline/persistant support for mutations - General query observability outside of hook usage - Core logic extraction for reuse outside of React - Devtools now share the same repo/package - Cache Persistence to localstorage (experimental) ##### [Migration Guide](https://react-query.tanstack.com/guides/migrating-to-react-query-3) ### [`v3.1.1`](https://togithub.com/tannerlinsley/react-query/releases/v3.1.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v3.1.0...v3.1.1) ##### Bug Fixes - refetch should create new query when removed ([ffff53f](https://togithub.com/tannerlinsley/react-query/commit/ffff53f92ced8a52173ec207177444f1cfaef627)) ### [`v3.1.0`](https://togithub.com/tannerlinsley/react-query/releases/v3.1.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.26.4...v3.1.0) ##### Features - bump version ([2b4ed22](https://togithub.com/tannerlinsley/react-query/commit/2b4ed2202e982c54ca5e8eb7b01de62fc877d5cd)) ### [`v2.26.4`](https://togithub.com/tannerlinsley/react-query/releases/v2.26.4) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.26.3...v2.26.4) ##### Bug Fixes - **types:** change the order of types so that correct type inference is picked for **Object syntax** ([#​1330](https://togithub.com/tannerlinsley/react-query/issues/1330)) ([6e2e37e](https://togithub.com/tannerlinsley/react-query/commit/6e2e37ea5fe180a6d5ee3dedf76bd72160406b2a)) ### [`v2.26.3`](https://togithub.com/tannerlinsley/react-query/releases/v2.26.3) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.26.2...v2.26.3) ##### Bug Fixes - clearTimeout instead of clearInterval ([#​1305](https://togithub.com/tannerlinsley/react-query/issues/1305)) ([7535383](https://togithub.com/tannerlinsley/react-query/commit/7535383eba20fcfb0e476dbf199823d1423cd7e1)) ### [`v2.26.2`](https://togithub.com/tannerlinsley/react-query/releases/v2.26.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.26.1...v2.26.2) ##### Bug Fixes - Update React peer dependency ([#​1260](https://togithub.com/tannerlinsley/react-query/issues/1260)) ([df3460b](https://togithub.com/tannerlinsley/react-query/commit/df3460bd4f002d7771f85a78c8af84fd44b42228)) ### [`v2.26.1`](https://togithub.com/tannerlinsley/react-query/releases/v2.26.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.26.0...v2.26.1) ##### Bug Fixes - semantic release maintenance (no changes) ([61e7b9b](https://togithub.com/tannerlinsley/react-query/commit/61e7b9b8547900a9b19157898d52587dc04aeeb1)) ### [`v2.26.0`](https://togithub.com/tannerlinsley/react-query/compare/v2.25.2...v2.26.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.25.2...v2.26.0) ### [`v2.25.2`](https://togithub.com/tannerlinsley/react-query/releases/v2.25.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.25.0...v2.25.2) ##### Bug Fixes - semantic release ([f8ec3c1](https://togithub.com/tannerlinsley/react-query/commit/f8ec3c1dc7c1933095df58ac02d1e458a7b94170)) ### [`v2.25.0`](https://togithub.com/tannerlinsley/react-query/releases/v2.25.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.24.2...v2.25.0) ##### Bug Fixes - align notify terminology ([07d4796](https://togithub.com/tannerlinsley/react-query/commit/07d4796acd8efc4bea2aef20497a59a3f3601b58)) ##### Features - add options to setQueryData ([1f5b13e](https://togithub.com/tannerlinsley/react-query/commit/1f5b13ecb6ed64756fb5db613edc16cd389e1ad1)) - add support for default options when hydrating ([dcb3e7f](https://togithub.com/tannerlinsley/react-query/commit/dcb3e7f605e5440263c877196256e32f97bbf3a3)) ### [`v2.24.2`](https://togithub.com/tannerlinsley/react-query/releases/v2.24.2) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.24.1...v2.24.2) ##### Bug Fixes - remove excess exports ([1de4ca9](https://togithub.com/tannerlinsley/react-query/commit/1de4ca9d4c3e851b0ab619d8571fd1db94ad5dbd)) ### [`v2.24.1`](https://togithub.com/tannerlinsley/react-query/releases/v2.24.1) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.24.0...v2.24.1) ##### Bug Fixes - support infinite cache time when hydrating ([c6e6cdf](https://togithub.com/tannerlinsley/react-query/commit/c6e6cdf1f41acc64ef5bac0abf90d2a12a99dab8)) ### [`v2.24.0`](https://togithub.com/tannerlinsley/react-query/releases/v2.24.0) [Compare Source](https://togithub.com/tannerlinsley/react-query/compare/v2.23.1...v2.24.0) ##### Bug Fixes - always compare query keys as arrays ([4d85cf9](https://togithub.com/tannerlinsley/react-query/commit/4d85cf9d370a21a385094e44f5ae4c16380622a6)) - make sure default options can be overridden ([469cf8d](https://togithub.com/tannerlinsley/react-query/commit/469cf8d43681519f1dd2381ec4a0d28707535b91)) - move optimistic fetching state into query observer ([a817b5e](https://togithub.com/tannerlinsley/react-query/commit/a817b5e995843327835e9b06f7b52021e94b13ef)) - mutate argument types and state update order ([e160d46](https://togithub.com/tannerlinsley/react-query/commit/e160d46d2394fb75a9918621ea3eeff8e345c008)) - only suspend when mounting ([c8f6634](https://togithub.com/tannerlinsley/react-query/commit/c8f66345589b8ba12cf2a24660df6e2cb5f974b4)) - remove cache argument in cache callback ([b13a4c8](https://togithub.com/tannerlinsley/react-query/commit/b13a4c8e0db3f555831cb76acd4cc7754d980376)) - type improvements ([84f93fc](https://togithub.com/tannerlinsley/react-query/commit/84f93fc2b6fedfd8a951e4b1d197499e1e13f5f3)) - use updatedAt to check for existing data ([f9aac2a](https://togithub.com/tannerlinsley/react-query/commit/f9aac2a410a75eebf1d1af0cbfc528e6899ed583)) - wait for all queries to cancel ([0f7fdd7](https://togithub.com/tannerlinsley/react-query/commit/0f7fdd7e95af598e1f89ff2634cf60aadd8fd6da)) ##### Features - add bi-directional infinite query support ([#​1135](https://togithub.com/tannerlinsley/react-query/issues/1135)) ([b6b1dc6](https://togithub.com/tannerlinsley/react-query/commit/b6b1dc6db60a48352a22e0bcea2b9ef1eb6f4223)) - add filters client isFetching and useIsFetching hook ([4c64cb9](https://togithub.com/tannerlinsley/react-query/commit/4c64cb9f34c95a27e45567c33aa8020198d14fa8)) - add structural sharing to select result ([f9dc85a](https://togithub.com/tannerlinsley/react-query/commit/f9dc85a79f9228443a16f5667f81b0fbbc057602)) - initial v3 changes ([#​1079](https://togithub.com/tannerlinsley/react-query/issues/1079)) ([9876f23](https://togithub.com/tannerlinsley/react-query/commit/9876f23424a42d8643016d8699e2fbc99e7b5c2e)) - memoize select function result ([9fbc739](https://togithub.com/tannerlinsley/react-query/commit/9fbc739111e0c3dce4d984317d3a64004af25333)) - revert to previous state on cancellation ([765740d](https://togithub.com/tannerlinsley/react-query/commit/765740df29d43197d31423dc91c78c77b1e4510a)) - split mutate into mutate and mutateAsync ([#​1130](https://togithub.com/tannerlinsley/react-query/issues/1130)) ([8da45d1](https://togithub.com/tannerlinsley/react-query/commit/8da45d1a2cbb4d9e47073583f13fef2c7e333b66)) - support multiple subscribers in observers ([e049941](https://togithub.com/tannerlinsley/react-query/commit/e0499414ef2ae50e930553964992df58d47a5ce9))

Configuration

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.