v2.0.0
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 withnetworkHandler
- 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
andremoveEntities
actions with a more genericupdateEntities
action - Remove
reconcileQueryKey
and changegetQueryKey
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)