Skip to content

v2.24.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@tannerlinsley tannerlinsley released this 05 Oct 21:07
· 1972 commits to main since this release

2.24.0 (2020-10-05)

Bug Fixes

  • always compare query keys as arrays (4d85cf9)
  • make sure default options can be overridden (469cf8d)
  • move optimistic fetching state into query observer (a817b5e)
  • mutate argument types and state update order (e160d46)
  • only suspend when mounting (c8f6634)
  • remove cache argument in cache callback (b13a4c8)
  • type improvements (84f93fc)
  • use updatedAt to check for existing data (f9aac2a)
  • wait for all queries to cancel (0f7fdd7)

Features

  • add bi-directional infinite query support (#1135) (b6b1dc6)
  • add filters client isFetching and useIsFetching hook (4c64cb9)
  • add structural sharing to select result (f9dc85a)
  • initial v3 changes (#1079) (9876f23)
  • memoize select function result (9fbc739)
  • revert to previous state on cancellation (765740d)
  • split mutate into mutate and mutateAsync (#1130) (8da45d1)
  • support multiple subscribers in observers (e049941)