Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TanStack/query
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.66.8
Choose a base ref
...
head repository: TanStack/query
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.66.9
Choose a head ref
  • 2 commits
  • 81 files changed
  • 3 contributors

Commits on Feb 21, 2025

  1. fix(types): prevent type errors and improve inference for dynamic que…

    …ries on useQueries and useSuspenseQueries (#8624)
    
    * fix(react-query): prevent type errors and improve inference for dynamic queries on useQueries and useSuspenseQueries
    
    Previously, using useQueries and useSuspenseQueries with a dynamic array of mixed queries caused type errors. This commit ensures that type errors no longer occur and that the returned data is correctly inferred (e.g., as (number | boolean | undefined)[]) instead of unknown[].
    
    * fix(react-query): improve type inference for useQueries and useSuspenseQueries results
    
    * fix(react-query): fix type of queries in useQueries and useSuspenseQueries
    
    * refactor: remove meaningless depths
    
    * test(react-query): move type only tests
    
    * test(react-query): fix type test error
    
    * fix(vue-query): prevent type errors and improve inference for dynamicqueries on useQueries
    
    * fix:  prevent type errors and improve inference for dynamicqueries
    
    * fix: solid type tests
    
    not sure why, but compilation must run first with the current tsc version in case solid-query isn't built yet
    
    * fix: prevent type errors and improve inference for dynamic queries
    
    * chore: remove test
    
    * test(react-query): fix failing type tests
    
    * fix: fix test syntax error
    
    * test(react-query): remove tests for result[0].data
    
    * fix: change the result fallback to fix test fail
    
    * rollback(angular-query-experimental): restore injectQueries
    
    ---------
    
    Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
    gs18004 and TkDodo authored Feb 21, 2025
    Configuration menu
    Copy the full SHA
    f63ba16 View commit details
    Browse the repository at this point in the history
  2. release: v5.66.9

    tannerlinsley committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    e474f73 View commit details
    Browse the repository at this point in the history
Loading