Potential breaking changes
- The release increments the stable major version.
3.7.2 → 4.0.0
Redux 4 is here! 🎉
If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood.
The major changes (#1342) are around our TypeScript definitions, bundled CommonJS and ES builds, throwing if you subscribe or getState from a reducer, and a bunch of other smaller things. The full changes are listed below.
Enjoy!
Changes
- Tons of docs updates. Thanks @markerikson and the Redux community for all your PRs!
- Make middleware API dispatch pass through all call arguments (#2560 by @Asvarox)
- Refactor applyMiddleware to reduce confusion around createStore args (#2201 by @jimbolla)
- Make bindActionCreators transparently pass
this(#2641 by @Parakleta) - Remove @private flag on AnyAction type definition (#2510 by @alexmngn)
- Fixed quote types inconsistency in a warning message (#2297 by @Andarist)