This Pull Request updates dependency redux from v4.0.0-rc.1 to v4.0.0
Release Notes
### [`v4.0.0`](https://github.com/reactjs/redux/releases/v4.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](https://github.com/reactjs/redux/compare/v3.7.2...v4.0.0)
- 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)
- Move ActionTypes to a private export (b62248b by @timdorr)
- Throw if getState, subscribe, or unsubscribe called while dispatching (#1569 by @mjw56)
- Warn when dispatching during Middleware setup (#1485 by @timdorr)
- Mapped type for combineReducers in index.d.ts (#2182 by @mkusher)
- Remove legacy jsnext entry (#2284 by @TrySound)
- Revamp TypeScript typing with more type safety (#2563 by @pelotom)
- Fix TS definitions test for new Dispatch typing (#2674 by @pelotom)
- Add DeepPartial type for preloaded state (#2679 by @aikoven)
- Bundle cjs and es formats (#2358 by @TrySound)
- REPLACE action for replaceReducers (#2673 by @timdorr)
- Update build to use babel-preset-env (#2696 by @hmillison)
- Optimize dispatch plain object check (#2599 by @timdorr)
- Update TypeScript typings (#2773 by @aikoven)
- Added prettier formatting (#2676 by @adityavohra7)
- Add a sideEffects: false flag for Webpack 4 (#2865 by @timdorr)
- Fix missed case in "observe" type check (#2919 by @zerobias)
---
Commits
#### v4.0.0
- [`7cb7414`](https://github.com/reactjs/redux/commit/7cb741467135a863a928a2368783d720fc0647f7) Fixed typo (#2929)
- [`ee5c563`](https://github.com/reactjs/redux/commit/ee5c5630877fb69e6c6263dda814b3d4f00ab971) Remove unneeded chain declaration (#2928)
- [`a8c31f4`](https://github.com/reactjs/redux/commit/a8c31f405d3d7bf6de679530d820a1aec17e36f8) Replace unnecessary `let`s with `const`s (#2931)
- [`1448a7c`](https://github.com/reactjs/redux/commit/1448a7c565801029b67a84848582c6e61822f572) Updated deprecated link for store subscribe listener (#2932)
- [`2f11005`](https://github.com/reactjs/redux/commit/2f11005ebb4ae23b36d7512d075e4d864ef440dc) Winamp2-js has renamed to Webamp (#2934)
- [`9478a8d`](https://github.com/reactjs/redux/commit/9478a8d4d7649a0dcdea82247b78a7fb57e5e679) Docs(FAQ): Adding links to existing questions #2854 (#2936)
- [`6484181`](https://github.com/reactjs/redux/commit/648418196d46da4c93217412dd2c79c63334cac2) Remove unnecessary newlines (#2937)
- [`20de02b`](https://github.com/reactjs/redux/commit/20de02b34c9f75bc07e981f59998dc411598c161) Upgrade deps and stop indenting
- [`e95eaf2`](https://github.com/reactjs/redux/commit/e95eaf2dc2024fe99dc0f7334a8bd049b4949ed0) 4.0.0
This Pull Request updates dependency redux from
v4.0.0-rc.1
tov4.0.0
Release Notes
### [`v4.0.0`](https://github.com/reactjs/redux/releases/v4.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](https://github.com/reactjs/redux/compare/v3.7.2...v4.0.0) - 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) - Move ActionTypes to a private export (b62248b by @timdorr) - Throw if getState, subscribe, or unsubscribe called while dispatching (#1569 by @mjw56) - Warn when dispatching during Middleware setup (#1485 by @timdorr) - Mapped type for combineReducers in index.d.ts (#2182 by @mkusher) - Remove legacy jsnext entry (#2284 by @TrySound) - Revamp TypeScript typing with more type safety (#2563 by @pelotom) - Fix TS definitions test for new Dispatch typing (#2674 by @pelotom) - Add DeepPartial type for preloaded state (#2679 by @aikoven) - Bundle cjs and es formats (#2358 by @TrySound) - REPLACE action for replaceReducers (#2673 by @timdorr) - Update build to use babel-preset-env (#2696 by @hmillison) - Optimize dispatch plain object check (#2599 by @timdorr) - Update TypeScript typings (#2773 by @aikoven) - Added prettier formatting (#2676 by @adityavohra7) - Add a sideEffects: false flag for Webpack 4 (#2865 by @timdorr) - Fix missed case in "observe" type check (#2919 by @zerobias) ---Commits
#### v4.0.0 - [`7cb7414`](https://github.com/reactjs/redux/commit/7cb741467135a863a928a2368783d720fc0647f7) Fixed typo (#2929) - [`ee5c563`](https://github.com/reactjs/redux/commit/ee5c5630877fb69e6c6263dda814b3d4f00ab971) Remove unneeded chain declaration (#2928) - [`a8c31f4`](https://github.com/reactjs/redux/commit/a8c31f405d3d7bf6de679530d820a1aec17e36f8) Replace unnecessary `let`s with `const`s (#2931) - [`1448a7c`](https://github.com/reactjs/redux/commit/1448a7c565801029b67a84848582c6e61822f572) Updated deprecated link for store subscribe listener (#2932) - [`2f11005`](https://github.com/reactjs/redux/commit/2f11005ebb4ae23b36d7512d075e4d864ef440dc) Winamp2-js has renamed to Webamp (#2934) - [`9478a8d`](https://github.com/reactjs/redux/commit/9478a8d4d7649a0dcdea82247b78a7fb57e5e679) Docs(FAQ): Adding links to existing questions #2854 (#2936) - [`6484181`](https://github.com/reactjs/redux/commit/648418196d46da4c93217412dd2c79c63334cac2) Remove unnecessary newlines (#2937) - [`20de02b`](https://github.com/reactjs/redux/commit/20de02b34c9f75bc07e981f59998dc411598c161) Upgrade deps and stop indenting - [`e95eaf2`](https://github.com/reactjs/redux/commit/e95eaf2dc2024fe99dc0f7334a8bd049b4949ed0) 4.0.0This PR has been generated by Renovate Bot.