query

πŸ€– Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

MIT License

Downloads
58.3M
Stars
40.6K
Committers
818

Bot releases are visible (Hide)

query - https://github.com/TanStack/query/releases/tag/v5.51.21

Published by github-actions[bot] 3 months ago

Version 5.51.21 - 8/2/24, 6:43 PM

Changes

Fix

  • query-core: make CancelledError extend Error (#7843) (35c086f) by Dominik Dorfmeister

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.20

Published by github-actions[bot] 3 months ago

Version 5.51.20 - 8/2/24, 2:17 AM

Changes

Fix

  • svelte-query: allow returning undefined in initialData function (#7838) (e092f06) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.19

Published by github-actions[bot] 3 months ago

Version 5.51.19 - 8/1/24, 3:39 PM

Changes

Refactor

  • solid-query: separate queryOptions from createQuery (#7806) (1dcd532) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.18

Published by github-actions[bot] 3 months ago

Version 5.51.18 - 8/1/24, 1:38 PM

Changes

Fix

  • query-options: allow returning undefined in initialData function (#7351) (fdb8ce1) by Shahar Har-Shuv

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.17

Published by github-actions[bot] 3 months ago

Version 5.51.17 - 8/1/24, 1:21 PM

Changes

Fix

  • core: query should reset to default state even when created from hydration (#7837) (bbb2244) by Dominik Dorfmeister

Chore

  • deps: lock file maintenance (c7245c9) by renovate[bot]

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.16

Published by github-actions[bot] 3 months ago

Version 5.51.16 - 7/31/24, 9:08 AM

Changes

Fix

  • svelte-query: ensure compatibility with NodeNext (#7825) (01e63a5) by Lachlan Collins

Chore

  • deps: lock file maintenance (#7819) (74f10b7) by renovate[bot]
  • deps: update dependency react-intersection-observer to v9 (#7818) (e2315cc) by renovate[bot]
  • deps: update all non-major dependencies (#7817) (4cdc2c8) by renovate[bot]
  • deps: use prettier v3.3.3 (#7816) (216a926) by Lachlan Collins

Test

  • svelte-query: add refetch test for createQuery (#7810) (461876a) by Lachlan Collins

Ci

  • renovate: ignore vue2 and vue2.7 (6993177) by Lachlan Collins
  • renovate: add renovate config (#7813) (6d8d203) by Lachlan Collins

Docs

  • svelte-query: add persist to basic example (#7807) (99f1250) by Lachlan Collins
  • solid-query: fix quick-start example (#7770) (fcac011) by @manudeli
  • typedoc: use sub-folders for reference docs (#7803) (f2fd318) by Lachlan Collins
  • examples: Fix small errors in svelte examples (#7801) (dac5da5) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.15

Published by github-actions[bot] 3 months ago

Version 5.51.15 - 7/26/24, 11:47 AM (Manual Release)

Changes

Other

  • (cd68280) by Ryan Kuruppu

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.14

Published by github-actions[bot] 3 months ago

Version 5.51.14 - 7/26/24, 8:47 AM

Changes

Fix

  • query-core: abort fetch loop for infinite queries if getNextPageParam returns null or undefined (#7799) (3ef7887) by Dominik Dorfmeister

Refactor

  • react-query: add error message for skipToken in useSuspenseQueries and useSuspenseInfiniteQuery (#7797) (34a5672) by Lich

Chore

  • Update @tanstack/config to v0.11.0 (#7795) (bd3296b) by Lachlan Collins
  • svelte-query: Tweak provider tests (#7794) (1814f56) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.13

Published by github-actions[bot] 3 months ago

Version 5.51.13 - 7/25/24, 3:57 PM

Changes

Fix

  • eslint-plugin: strictly type config keys (#7780) (55486f1) by Jeroen Claassens

Test

  • svelte-query: Better createMutation tests (#7773) (ffd404f) by Lachlan Collins

Ci

  • remove test:format from Nx workflow (#7775) (5760f70) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.12

Published by github-actions[bot] 3 months ago

Version 5.51.12 - 7/20/24, 11:09 AM

Changes

Fix

  • eslint-plugin: type config names (#7766) (404c2fa) by @AhmedBaset

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.11

Published by github-actions[bot] 3 months ago

Version 5.51.11 - 7/20/24, 10:47 AM

Changes

Fix

  • svelte-query: Correct data type when initialData is set (#7769) (b764009) by Lachlan Collins

Ci

  • Enable autofix on push to release branch (b189e31) by Lachlan Collins

Docs

  • typedoc: Use generateReferenceDocs function (#7765) (e4e65be) by Lachlan Collins
  • typedoc: Update output filename (#7764) (144d3a8) by Lachlan Collins
  • update the syntax highlighting for angular (#7762) (2786196) by @mgechev
  • Throw error or mutation doesn"t see any the 500 coming from API (#7754) (b970f67) by @okazkayasi
  • Update paginated-queries.md (#7759) (98d127a) by Andre Sander

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.10

Published by github-actions[bot] 3 months ago

Version 5.51.10 - 7/18/24, 12:03 PM

Changes

Fix

  • eslint-plugin-query: get scope from sourceCode (#7760) (e61edd2) by Dominik Dorfmeister

Ci

  • Remove git pre-commit hook (#7756) (ae8738a) by Lachlan Collins

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.9

Published by github-actions[bot] 3 months ago

Version 5.51.9 - 7/18/24, 7:35 AM (Manual Release)

Changes

Fix

  • query-core: allow function value of notifyOnChangeProps query option to return undefined (#7441) (0c671ee) by @winghouchan

Ci

  • Add autofix.yml (#7755) (a5bfc30) by Lachlan Collins

Docs

  • typedoc: Add frontmatter (#7753) (d02e610) by Lachlan Collins
  • svelte-query: Auto-generate reference docs (#7751) (13817e9) by Lachlan Collins
  • query-core: add matchQuery and matchMutation utils (#7643) (81ca333) by @robin4a4

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.7

Published by github-actions[bot] 3 months ago

Version 5.51.7 - 7/17/24, 11:55 PM

Changes

Fix

  • eslint-plugin: handle ternary expressions in queryFn (#7747) (4c503c5) by Eliya Cohen

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.6

Published by github-actions[bot] 3 months ago

Version 5.51.6 - 7/17/24, 7:40 PM

Changes

Fix

  • solid-query: Fix race condition issues with createQuery (#7748) (ffb11b3) by Aryan Deora

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.5

Published by github-actions[bot] 3 months ago

Version 5.51.5 - 7/17/24, 2:35 PM

Changes

Fix

  • query-core: widen QueriesObserver queries type (#7446) (#7492) (a87c2fe) by @yannickcr

Test

  • svelte-query: Refactor test logic (#7744) (01212de) by Lachlan Collins

Docs

  • solid-query: add optional chaining to prevent suspense bug (#7709) (91cfc10) by Dhruv

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.4

Published by github-actions[bot] 3 months ago

Version 5.51.4 - 7/17/24, 11:10 AM

Changes

Fix

  • core: do not invoke getNextPageParam or getPreviousPageParam if there is we have empty pages in the cache (#7743) (7edf587) by Dominik Dorfmeister

Chore

  • utils: Ensure consistent declaration style of utility functions and standardize parameters for the sleep method (#7554) (95d814a) by MinhoPark

Docs

  • Update Streaming with Server Components docs to reflect correct usage (#7725) (a1ce3c4) by Ryan Miller

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.3

Published by github-actions[bot] 3 months ago

Version 5.51.3 - 7/16/24, 8:32 PM

Changes

Fix

  • vue-query: export InitialQueryOptions types (#7720) (a3f5a0a) by Andy Li

Chore

  • update knip schema to v5 (#7740) (23b9a19) by 김석진(poki)
  • deps: Update dev and example dependencies (#7742) (28af03f) by Lachlan Collins
  • *: vitest v2 (#7735) (d10a456) by Jonghyeon Ko
  • prettier (4635954) by Dominik Dorfmeister

Test

  • svelte-query: Check query states (#7741) (38e5c4b) by Lachlan Collins

Docs

  • access latest data for useMutationState (#7738) (369d826) by Kier Borromeo
  • Update comparison.md (#7703) (79e5202) by Alessia Bellisario

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.2

Published by github-actions[bot] 3 months ago

Version 5.51.2 - 7/11/24, 10:02 AM

Changes

Fix

  • solid-query: export InitialDataOptions types (#7707) (1846abe) by Brendan Allan

Ci

  • simplify publish script (#7719) (45a21d4) by Lachlan Collins
  • pnpm: Add .pnpmfile.cjs to remove indirect dependencies (#7667) (5c9efe8) by Lachlan Collins

Docs

  • query-client: broken hydration link (#7718) (8ecf0f7) by Chamath Palihawadana

Packages

query - https://github.com/TanStack/query/releases/tag/v5.51.1

Published by github-actions[bot] 3 months ago

Version 5.51.1 - 7/11/24, 4:56 AM (Manual Release)

Changes

Ci

  • enable npm provenance (#7716) (c6d68d8) by Lachlan Collins
  • Improve Nx inputs (#7702) (362f8e6) by Lachlan Collins

Docs

  • examples: Modernise Next.js examples (#7706) (b58da75) by Lachlan Collins
  • eslint-plugin-query: Fix rules links (#7705) (8d0ba7e) by twiddler
  • examples: Modernise React examples (#7704) (7fc9472) by Lachlan Collins
  • add Query Rewind to vue community projects (#7688) (14d9c49) by John Dunn

Packages