Skip to content

Releases: TanStack/query

v3.3.0

16 Dec 14:33
Compare
Choose a tag to compare

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

v3! (But technically 3.2.0 😂)

14 Dec 03:00
ac342e2
Compare
Choose a tag to compare

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

v3.2.0-beta.39

13 Dec 18:38
df530d6
Compare
Choose a tag to compare
v3.2.0-beta.39 Pre-release
Pre-release

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

Features

v3.2.0-beta.38

12 Dec 10:22
Compare
Choose a tag to compare
v3.2.0-beta.38 Pre-release
Pre-release

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

Bug Fixes

  • isFetched and isFetchedAfterMount should include failed fetches (9883c41)

v3.2.0-beta.37

12 Dec 08:09
7f172a0
Compare
Choose a tag to compare
v3.2.0-beta.37 Pre-release
Pre-release

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

Features

v3.2.0-beta.36

10 Dec 22:37
cc99426
Compare
Choose a tag to compare
v3.2.0-beta.36 Pre-release
Pre-release

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

Bug Fixes

  • persist-localstorage: add ssr-safety (cba668a)

v3.2.0-beta.35

10 Dec 06:52
Compare
Choose a tag to compare
v3.2.0-beta.35 Pre-release
Pre-release

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)

v3.2.0-beta.34

09 Dec 02:15
Compare
Choose a tag to compare
v3.2.0-beta.34 Pre-release
Pre-release

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)

v3.2.0-beta.33

08 Dec 22:46
2aff467
Compare
Choose a tag to compare
v3.2.0-beta.33 Pre-release
Pre-release

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

Bug Fixes

  • hydration: set fetchMeta to null by default to make it serializable (#1371) (2aff467)

v3.2.0-beta.32

07 Dec 06:29
Compare
Choose a tag to compare
v3.2.0-beta.32 Pre-release
Pre-release

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)