Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanashcraft committed May 12, 2017
1 parent d506ba7 commit 4ad84ac
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 2.0.0

Refer to the [v2 transition guide](https://github.com/amplitude/redux-query/blob/master/docs/transition-guides/v2.md) 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](https://github.com/amplitude/redux-query/pull/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)

## 1.5.0

- Use prop-types to avoid React 15.5.0 deprecation warnings (ryanashcraft)
Expand Down

0 comments on commit 4ad84ac

Please sign in to comment.