Skip to content

Releases: pburtchaell/redux-promise-middleware

Version 2.0.0

03 Nov 14:47
Compare
Choose a tag to compare

Adds

  • Custom type suffixes
    • promiseMiddleware is now a function that accepts options and returns the middleware to apply
    • Action.type now expects a single type value instead of an array
  • Minor bug fixes

Breaking Changes 🔥

The middleware must now be initiliazed like this:

composeStoreWithMiddleware = applyMiddleware(
  promiseMiddleware()
)(createStore);

Previously it was:

composeStoreWithMiddleware = applyMiddleware(
  promiseMiddleware
)(createStore);

Version 1.0.0

21 Oct 13:16
Compare
Choose a tag to compare

Breaking change: in version 1.0.0, you will need to include an array using the type property instead of types. This adds proper support for Redux 2.x and Redux 3.x.

Version 0.2.2

21 Oct 13:14
Compare
Choose a tag to compare

Adds:

  • Support for the meta property in rejected actions

Version 0.0.1

13 Jul 04:45
Compare
Choose a tag to compare
Version 0.0.1 Pre-release
Pre-release

Fixes

  • The rejected action is now FSA compliant

Version 0.0.0 - Initial Release

13 Jul 04:39
Compare
Choose a tag to compare
Pre-release

Adds:

  • Initial API