Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react-query-kit from 1.5.1 to 2.0.10 in /template #48

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 27, 2023

Bumps react-query-kit from 1.5.1 to 2.0.10.

Release notes

Sourced from react-query-kit's releases.

2.0.10

feat: compatible with v4 types

2.0.9

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

2.0.8

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

2.0.7

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

2.0.6

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

... (truncated)

Commits
  • 848e119 2.0.9
  • 814592a 2.0.9-beta.0
  • 6781fe9 fix: compatible with suspense mode of v4
  • 730b570 fix: type TQueryKey in getOptions
  • 428ad94 2.0.8
  • cde7810 feat: automatically infer TQueryData by TQueryKey
  • ff43bf2 feat: include TError in the return type of getOptions
  • efb18e2 feat: using useSuspenseQuery instead of useQuery in v5
  • 7e16f35 2.0.7
  • ac7ef3b feat: compatible DefinedUseInfiniteQueryResult
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-query-kit](https://github.com/liaoliao666/react-query-kit) from 1.5.1 to 2.0.10.
- [Release notes](https://github.com/liaoliao666/react-query-kit/releases)
- [Commits](HuolalaTech/react-query-kit@1.5.1...2.0.10)

---
updated-dependencies:
- dependency-name: react-query-kit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 27, 2023
Copy link
Author

dependabot bot commented on behalf of github Dec 6, 2023

Looks like react-query-kit is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Dec 6, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/template/react-query-kit-2.0.10 branch December 6, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants