All Versions
10
Latest Version
Avg Release Cycle
83 days
Latest Release
130 days ago

Changelog History

  • v4.0.4

    July 10, 2019

    ⚡️ This is a republish of 4.0.3 with an updated version of Babel to fix #3468

    Changes

  • v4.0.3

    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 with npm ls redux.

    Changes

    • ⏪ Reverts the change to combineReducers' type parameters (#3467 by @timdorr)
  • v4.0.2

    July 09, 2019

    🚀 This is a very minor release with some nice improvements to our TypeScript type definitions. Enjoy!

    Changes

  • v4.0.1

    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

  • v4.0.0

    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

    April 10, 2018

    npm 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

    • ➕ Add a sideEffects: false flag for Webpack 4 (#2865 by @timdorr)
    • 🛠 Fix missed case in "observe" type check (#2919 by @zerobias)
  • v4.0.0-beta.2

    February 15, 2018

    npm install redux@next

    🚀 Another beta release to test our TypeScript typings. Feedback is greatly appreciated!

    Changes

  • v4.0.0-beta.1

    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

    July 13, 2017

    Changes

  • v3.7.1

    June 26, 2017

    ⏪ This reverts the console.error on bindActionCreators() coming from #2279.

    0️⃣ While well-intentioned, when star importing all exports from a module (import * as actions from './actions'), transpilation by Babel defaults to adding a default and __esModule property to the import, which are not functions. While it can be disabled, this isn't common to do and leads to a lot of confusion. So, we're reverting the change.

    Thanks for the feedback from everyone and the civility and healthy discourse on the issue!