Skip to content

Releases: amplitude/redux-query

3.5.2

11 Jul 01:51
Compare
Choose a tag to compare
v3.5.2

v3.5.2

v2.3.1

15 Sep 22:51
Compare
Choose a tag to compare
  • Support redux v4 (karevn #103)

v2.3.0

06 Dec 18:42
Compare
Choose a tag to compare
  • Add duration to _SUCCESS and _FAILURE redux actions (blazzy #92)

v2.2.0

14 Nov 02:04
Compare
Choose a tag to compare
  • Store the response headers in the queries state and add a selector (hobbeswalsh #84)

v2.1.0

14 Oct 01:12
Compare
Choose a tag to compare
  • Support React 16 (ryanashcraft #88)
  • Switch to yarn (ryanashcraft #88)
  • Change Prettier settings (ryanashcraft #88)

v2.0.0

12 May 17:51
Compare
Choose a tag to compare

Refer to the v2 transition guide for instructions on how to upgrade from redux-query 1.x to 2.x.

  • Use the latest entities state when the network request finishes for mutations
  • Replace request fields in queries reducer and relevant actions with networkHandler
  • New, safer rollback behavior when mutations fail
  • New rollback option in query configs to handle reverting optimistic updates
  • New, optional reducer, errorsReducer, for tracking response bodies, text, and headers for failed queries
  • Change connectRequest to work around a race condition resulting in invalid warnings
  • Update to superagent 3.x
  • Avoid creating new functions in connectRequest's render function (acontreras89 #67)
  • Replace removeEntity and removeEntities actions with a more generic updateEntities action
  • Remove reconcileQueryKey and change getQueryKey to only accept query config objects as a parameter
  • Replace usage of deprecated react-addons-shallow-compare
  • Renamed "network adapters" to "network interfaces"
  • Some top-level exports have been removed or renamed (see v2 transition guide for more information)

v1.5.0

13 Apr 18:07
Compare
Choose a tag to compare
  • Use prop-types to avoid React 15.5.0 deprecation warnings (ryanashcraft)
  • Transform body into query params for GET requests (acontreras89 #57)
  • Fix error with React Native's Packager (jeanregisser #58)
  • Use prettier for automatic code formatting (ryanashcraft #60)
  • New site (see https://amplitude.github.io/redux-query) with interactive demos (ryanashcraft #60)

v1.4.0

31 Mar 16:28
Compare
Choose a tag to compare
  • Move react from dependencies to devDependencies (jeanregisser #56)
  • Fix regression from 1.3.0 with the request field in start actions (ryanashcraft #54)
  • Add meta field to mutate actions (ryanashcraft #54)

v1.3.0

20 Mar 23:43
Compare
Choose a tag to compare
  • Support for custom network adapters with redux-query/advanced to enable usage without superagent and support other advanced use cases (iamlacroix #23)
  • Support for PATCH verb (jnutter #35)
  • Include response text and body in all Redux success and failure actions (ryanashcraft #39 and #40)
  • Include response headers in resolved Promise values and all Redux success and failure actions (jnutter #42)
  • Allow retries on successful requests (lozlow #26)

v1.2.0

02 Mar 20:16
Compare
Choose a tag to compare
  • CORS support (rogovdm #27)
  • Switch to react-addons-shallow-compare for React Native compatibility (mmalfertheiner #27)
  • Pass transformed and updated entities to the promise result for mutateAsync and requestAsync (CAPSLOCKUSER #25)
  • Improve connectRequest's displayName
  • Use the queryKey property from query configs in connectRequest
  • Allow passing full query configs instead of the url and body to the query selectors