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 hidden (Show)

query - v3.3.1

Published by tannerlinsley almost 4 years ago

3.3.1 (2020-12-18)

Bug Fixes

  • infer result data type from query fn return type instead of the reverse (#1470) (861faf9)
query - v3.3.0

Published by tannerlinsley almost 4 years ago

3.3.0 (2020-12-16)

Bug Fixes

  • allow queries to be fetched with zero cache time and do not hydrate it (#1442) (eb301fc)
  • always render the latest observer state (#1449) (260ec62)
  • devtools: Do not include devtools for production (5e4ef15)
  • remove unneeded bracket in README (#1418) (67ba20d)
  • queryCache: stop deepIncludes exception comparing null (#1403) (80cecef)

Features

query - v3! (But technically 3.2.0 😂)

Published by tannerlinsley almost 4 years ago

Group 3

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

query - v3.2.0-beta.39

Published by tannerlinsley almost 4 years ago

3.2.0-beta.39 (2020-12-13)

Features

query - v3.2.0-beta.38

Published by tannerlinsley almost 4 years ago

3.2.0-beta.38 (2020-12-12)

Bug Fixes

  • isFetched and isFetchedAfterMount should include failed fetches (9883c41)
query - v3.2.0-beta.37

Published by tannerlinsley almost 4 years ago

3.2.0-beta.37 (2020-12-12)

Features

query - v3.2.0-beta.36

Published by tannerlinsley almost 4 years ago

3.2.0-beta.36 (2020-12-10)

Bug Fixes

  • persist-localstorage: add ssr-safety (cba668a)
query - v3.2.0-beta.35

Published by tannerlinsley almost 4 years ago

3.2.0-beta.35 (2020-12-10)

Features

  • persist-localstorage-experimental: temporarily persist cache to disk (3adc288)
  • devtools are now native to the core repo/npm-package (26db5a4)
query - v3.2.0-beta.34

Published by tannerlinsley almost 4 years ago

3.2.0-beta.34 (2020-12-09)

Bug Fixes

  • cross-bundle/version query client context (e8a22e9)
  • hasPageParam: look for (undefined | null | false) values (0ad9168)
query - v3.2.0-beta.33

Published by tannerlinsley almost 4 years ago

3.2.0-beta.33 (2020-12-08)

Bug Fixes

  • hydration: set fetchMeta to null by default to make it serializable (#1371) (2aff467)
query - v3.2.0-beta.32

Published by tannerlinsley almost 4 years ago

3.2.0-beta.32 (2020-12-07)

Bug Fixes

  • types: change the order of types so that correct type inference is picked for Object syntax (#1330) (6e2e37e)
query - v2.26.4

Published by tannerlinsley almost 4 years ago

2.26.4 (2020-12-07)

Bug Fixes

  • types: change the order of types so that correct type inference is picked for Object syntax (#1330) (6e2e37e)
query - v3.2.0-beta.31

Published by tannerlinsley almost 4 years ago

3.2.0-beta.31 (2020-12-06)

Bug Fixes

query - v3.2.0-beta.30

Published by tannerlinsley almost 4 years ago

3.2.0-beta.30 (2020-12-02)

Bug Fixes

  • add defaults to setQueryData (05b2c2d)
query - v3.2.0-beta.29

Published by tannerlinsley almost 4 years ago

3.2.0-beta.29 (2020-11-22)

Bug Fixes

  • prevent state update after mutation unmounted (9d66f43)
query - v3.2.0-beta.28

Published by tannerlinsley almost 4 years ago

3.2.0-beta.28 (2020-11-22)

Features

  • throw error when QueryClientProvider has not been used to set a query client (#1309) (163339f)
query - v3.2.0-beta.27

Published by tannerlinsley almost 4 years ago

3.2.0-beta.27 (2020-11-20)

Bug Fixes

query - v3.2.0-beta.26

Published by tannerlinsley almost 4 years ago

3.2.0-beta.26 (2020-11-20)

Bug Fixes

  • make sure component re-render when they should (46a7346)
query - v2.26.3

Published by tannerlinsley almost 4 years ago

2.26.3 (2020-11-20)

Bug Fixes

query - v3.2.0-beta.25

Published by tannerlinsley almost 4 years ago

3.2.0-beta.25 (2020-11-19)

Features

  • add granular component re-render control (99951a0)
Package Rankings
Top 0.31% on Npmjs.org
Top 6.69% on Proxy.golang.org
Top 21.14% on Repo1.maven.org