Changelog History
Page 1
-
v4.0.5 Changes
December 24, 2019๐ 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)
-
v4.0.4 Changes
July 10, 2019 -
v4.0.3 Changes
July 09, 2019โช This is a quick revert of a change to our typings that broke compatibility. Apologies for the problems.
Also, if you are experiencing type errors related to
[Symbol.observable]
, please ensure you have the same version of redux installed for all your dependencies withnpm ls redux
.Changes
-
v4.0.2 Changes
July 09, 2019๐ This is a very minor release with some nice improvements to our TypeScript type definitions. Enjoy!
Changes
- Iterate in combineReducers using
for in
(#3371 by @pvorona) - ๐ Fix
DeepPartial
type (#3369 by @OliverJAsh) - โ Add types for Observable interface (#3067 by @pinyin)
- ๐ Make reducer optional in JSDocs (#3408 by @pingfengafei)
- Infer action types from
combineReducers
(#3411 by @appden)
- Iterate in combineReducers using
-
v4.0.1 Changes
October 13, 2018๐ A very minor release. We've upgraded to Babel 7 internally and now provide a
.mjs
file which you can import cleanly into browsers that support ES modules natively. Enjoy!Changes
- โก๏ธ Update mixed NODE_ENV message for Webpack 4 (4a215fb by @timdorr)
- โ Add unpkg field to package.json (#3003 by @andrewbridge)
- ๐ Use same return type for both StoreCreator signatures (#2985 by @reklawnos)
- Mark StoreCreator's preloadedState argument as optional (#3080 by @srittau)
- โ Add ES browser build (#3143 by @TimvdLippe)
- โ Throw an error if createStore is passed several enhancers (#3151 by @selbekk)
- โฌ๏ธ Upgrade to Babel 7 (b9ee1cf by @timdorr)
-
v4.0.0 Changes
April 17, 2018๐ฑ 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)
- ๐ Move ActionTypes to a private export (b62248b by @timdorr)
- Throw if getState, subscribe, or unsubscribe called while dispatching (including inside a reducer) (#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)
-
v4.0.0-rc.1 Changes
April 10, 2018npm install redux@next
๐ There haven't been any big complaints with the previous beta, so it's time to graduate to a release candidate. Please give this a try in your applications and let us know if you see any issues. If we're all clear, I'll get 4.0 released in the next week!
Changes
-
v4.0.0-beta.2 Changes
February 15, 2018npm install redux@next
๐ Another beta release to test our TypeScript typings. Feedback is greatly appreciated!
Changes
- โก๏ธ Update TypeScript typings (#2773 by @aikoven)
- โ Added prettier formatting (#2676 by @adityavohra7)
-
v4.0.0-beta.1 Changes
November 16, 2017๐ฑ It's time to bump the major version on Redux! ๐
๐ This is the first beta release of 4.0.0. Despite the version bump, the changes are relatively minor. Most of it was covered in the 4.0 tracking issue: #1342.
The largest amount of work was done with our Typescript definitions. They have been completely overhauled, so they should work better and take advantage of all the new stuff in TS 2.x.
๐ The other big change is we are now bundling our CommonJS and ES builds like React has done recently. This means direct, private imports (
import createStore from 'redux/lib/createStore'
) will no longer work. This ensures our modules are maintaining a consistent contract with your apps and that any reorganization we choose to do internally has no effect on your usage of Redux.๐ We've also tightened up some behavior quirks and dropped support for IE < 11. The vast majority of apps should require no changes. But we will run through a standard RC process to gradually release this out to the world and ensure no big headaches for everyone during the holiday season.
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)
- ๐ 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)
-
v3.7.2 Changes
July 13, 2017Changes
- ๐ Fixed the definition of 'Reducer' for TypeScript 2.4. (#2467 by @DanielRosenwasser)