Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 6, 2025

This PR contains the following updates:

Package Change Age Confidence
react-query-kit 2.0.2 -> 2.0.10 age confidence

Release Notes

liaoliao666/react-query-kit (react-query-kit)

v2.0.10

Compare Source

feat: compatible with v4 types

v2.0.9

Compare Source

fix: type TQueryKey in getOptions
fix: compatible with suspense mode of v4

v2.0.8

Compare Source

Changes

feat: automatically infer TQueryData by TQueryKey
feat: include TError in the return type of getOptions
feat: using useSuspenseQuery instead of useQuery in v5

Benefit from ReactQuery v5

Automatically infer TQueryData from TQueryKey

const useTest = createQuery({
  primaryKey: 'test',
  queryFn: () => `string`,
})

const data = queryClient.getQueryData(useTest.getKey())
//     ^? const data: string | undefined

Register a global error

declare module '@​tanstack/react-query' {
  interface Register {
    defaultError: AxiosError
  }
}

const useTest = createQuery({
  primaryKey: 'test',
  queryFn: () => `string`,
})

const { error } = useTest()
//      ^? const error: AxiosError | null

v2.0.7

Compare Source

feat: compatible error
feat: compatible DefinedUseInfiniteQueryResult
feat: adjust throwOnError logic in suspense mode

v2.0.6

Compare Source

fix: type TData with initialData is undefined
feat: remove automatically inspect primary key

v2.0.5

Compare Source

feat: type TVariables defaults to void

v2.0.4

Compare Source

feat: new expose method getOptions
feat: automatically inspect the duplicated primaryKey
fix: getKey does not return correct type

v2.0.3

Compare Source

feat: export all of types
fix: remove type "DefaultError" imported from React Query


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Sep 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
paige Error Error Dec 3, 2025 4:56pm

@renovate renovate bot force-pushed the renovate/react-query-kit-2.x-lockfile branch from 5aa12e0 to 4ccf0d1 Compare September 25, 2025 20:04
@renovate renovate bot changed the title fix(deps): update dependency react-query-kit to v2.0.10 chore(deps): update dependency react-query-kit to v2.0.10 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/react-query-kit-2.x-lockfile branch from 4ccf0d1 to d8774db Compare October 21, 2025 23:00
@renovate renovate bot force-pushed the renovate/react-query-kit-2.x-lockfile branch from d8774db to c8cb091 Compare November 11, 2025 00:41
@renovate renovate bot force-pushed the renovate/react-query-kit-2.x-lockfile branch from c8cb091 to 17f3806 Compare November 18, 2025 13:58
@renovate renovate bot force-pushed the renovate/react-query-kit-2.x-lockfile branch from 17f3806 to 6d7d8f0 Compare December 3, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant