redux v4.0.5 Release NotesRelease Date: 2019-12-24 // about 2 months 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
DeepPartialtype, which wasn't intended to be a public API. If you need this type, you can find an equivalent of likely higher quality in the
🆓 Speaking of TypeScript, we are done with converting the code to TypeScript on
masterand 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.
- 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)