From a4f887d5bfc94b08e06089f9610f392ada839229 Mon Sep 17 00:00:00 2001 From: Nathan Maves Date: Tue, 14 Mar 2017 23:12:15 -0600 Subject: [PATCH] docs(): updated the formatting and added newest changes --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54ce2da..b7d0f14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,56 @@ # CHANGELOG -## 3.1.3 ( March 15, 2017 ) -- in interceptors, you can use `getAction` to receive action which triggered interceptors, for now, bug with `action` will not be removed, but it'll be removed in 4.0 as it is breaking change +## 4.0.0 +#### _Mar 14, 2017_ + +##### Breaking Changes +- [interceptors] We have replaced the `action` parameter with a new `getSourceAction` function which will return the action which triggered the interceptor. [#33](https://github.com/svrcekmichal/redux-axios-middleware/issues/33) [#34](https://github.com/svrcekmichal/redux-axios-middleware/issues/34) + +##### Docs +- Updated the changelog formatting. + +## 3.1.2 +#### _Feb 20, 2017_ -## 3.1.2 ( Feb 20, 2017 ) - exclude our .babelrc from our npm build. -## 3.1.1 ( Feb 17, 2017 ) +## 3.1.1 +#### _Feb 17, 2017_ + - corrected the entry for the webpack config -## 3.1.0 ( Feb 17, 2017 ) +## 3.1.0 +#### _Feb 17, 2017_ + - add webpack build to support UMD [#40](https://github.com/svrcekmichal/redux-axios-middleware/issues/40) - exported success and error suffixes [#42](https://github.com/svrcekmichal/redux-axios-middleware/issues/42) -## 3.0.0 ( Sep 8, 2016 ) +## 3.0.0 +#### _Sep 8, 2016_ + - changed default action prefixing -## 2.0.0 ( Aug 10, 2016 ) +## 2.0.0 +#### _Aug 10, 2016_ + - changes to support axios@0.13 - removed enhanced getState function as first interceptor argument -## 1.3.0 ( Jun 14, 2016 ) +## 1.3.0 +#### _Jun 14, 2016_ + - added warning to not use first interceptor argument as `getState` function - added `dispatch` and `action` to first interceptor argument - [#26](https://github.com/svrcekmichal/redux-axios-middleware/pull/26) -## 1.2.0 ( Jun 7, 2016 ) +## 1.2.0 +#### _Jun 7, 2016_ + - provide ability to specify failure interceptors that run when request fails [#20](https://github.com/svrcekmichal/redux-axios-middleware/issues/20) - fixed interceptors default values -## 1.1.0 ( Jun 1, 2016 ) +## 1.1.0 +#### _Jun 1, 2016_ + - support for multiple client [#6](https://github.com/svrcekmichal/redux-axios-middleware/issues/6) - configuration of middleware on all layers (middleware, client, action) - Fixes throw uncaught exception in axios error with `returnRejectedPromiseOnError` options