redux v4.0.5 Release Notes
Release Date: 2019-12-24 // over 4 years ago-
๐ This release includes a memory leak fix, and a fix for removing reducers with replaceReducer and combineReducers.
๐ฆ There are also some TypeScript changes, which require version 3.5 or higher. This also removes our
DeepPartial
type, which wasn't intended to be a public API. If you need this type, you can find an equivalent of likely higher quality in theutility-types
package.๐ Speaking of TypeScript, we are done with converting the code to TypeScript on
master
and are looking to get some TS improvements in before launching 5.0. If you're interested in helping, feel free to submit a PR with anything you'd like to contribute.Changes
- Clear current listeners on store unsubscribe (#3475 by @dmitrysteblyuk)
- ๐ Fix for combineReducers when replaceReducers removes a reducer (#3490 by @anubhavgupta)
- TypeScript: Add strict type inference overload for combineReducers (#3484 by @ChrisAckerman)
- TypeScript: Preloaded state is now selectively partial (instead of deeply partial) (#3485 by @ChrisAckerman)