Packages

redux

5.0.1 · 23 Dec 2023MIT62.6M / weekRepositoryHomepagenpmAtom feed

Your version

68 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 5.x · latest line
  2. 5.0.1

    23 Dec 2023
    • isPlainObject: Support check Object.create(null)

    • types/store: Unexpectedly narrowed return type of function Store['getState']

  3. 5.0.0

    4 Dec 2023
    • deprecated

      Continues to mark createStore as deprecated

    • deprecated

      Deprecates the AnyAction type in favor of an UnknownAction type that is used everywhere

    • removed

      Removes the PreloadedState type in favor of a new generic argument for the Reducer type.

  4. 4.x
  5. 4.2.1

    28 Jan 2023
    • Remove minified check

  6. 4.2.0

    18 Apr 2022
    • deprecated

      Mark createStore as deprecated, and add legacy_createStore alias

    • RTK provides a vastly improved Redux usage experience, with APIs that simplify standard usage patterns and eliminate common bugs like accidental mutations

    • We've had suggestions to merge all of RTK into the redux core package, or fully deprecate the entire redux package and rename it to @reduxjs/core. Unfortunately, those bring up too many complexities:

  7. 4.1.2

    28 Oct 2021
    • Fix preloaded state type

  8. 4.1.1

    3 Aug 2021
    • Move miniKindOf out of if scope to fix ES5 compatibility issue

  9. 4.1.0

    24 Apr 2021
  10. 4.0.5

    24 Dec 2019
    • Clear current listeners on store unsubscribe

    • Fix for combineReducers when replaceReducers removes a reducer

    • TypeScript: Add strict type inference overload for combineReducers

  11. 4.0.4

    10 Jul 2019

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

  12. 4.0.3

    9 Jul 2019
    • Reverts the change to combineReducers' type parameters

  13. 4.0.2

    9 Jul 2019
    • Iterate in combineReducers using for in

    • Fix DeepPartial type

    • Add types for Observable interface

  14. 4.0.1

    13 Oct 2018
    • Update mixed NODE_ENV message for Webpack 4 (4a215fb

    • Add unpkg field to package.json

    • Use same return type for both StoreCreator signatures

  15. 4.0.0

    17 Apr 2018
    • removed

      Remove @private flag on AnyAction type definition

    • Tons of docs updates. Thanks @markerikson and the Redux community for all your PRs!

    • Make middleware API dispatch pass through all call arguments

  16. 3.x
  17. 3.7.2

    13 Jul 2017
    • Fixed the definition of 'Reducer' for TypeScript 2.4.

  18. 3.7.1

    26 Jun 2017

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

  19. 3.7.0

    17 Jun 2017
    • Build UMD with rollup

    • Warn when bindActionCreators encounters non-function property

    • Remove filtering inside compose

  20. 3.6.0

    4 Sep 2016
    • Updated symbol-observable to 1.0.2 (#1663 and #1877)

    • Added a Redux logo

    • Replace es3ify with Babel ES3 transforms

  21. 3.5.2

    24 Apr 2016
    • Enforces a newer version of symbol-observable that works in IE8

  22. 3.5.1

    20 Apr 2016
    • Fixes a regression introduced in 3.5.0 that caused dispatch to not be available while middleware is initializing. (#1644, #1647)

  23. 3.5.0

    20 Apr 2016
    • Adds interop with observable libraries

  24. 3.4.0

    8 Apr 2016
  25. 3.3.1

    6 Feb 2016
    • ES Modules build now uses the ES Modules build of Lodash. This makes vanilla Redux code include zero CommonJS interop for Rollup users.

  26. 3.3.0

    5 Feb 2016
    • Fixes jsnext:main to point to a Rollup-friendly ES Modules build in redux/es. It still depends on Lodash so you can’t use without rollup-plugin-commonjs, but importing individual functions like import { createStore } from 'redux' should now work, and you shouldn’t be getting an error when you use npm({ jsnext: true }) anymore due to a broken jsnext:main. (#1369, #1042, #1327)

  27. 3.2.1

    2 Feb 2016
    • Force Lodash to be >= 4.2.0 to avoid global issues that were fixed in it (#1346, #1349)

  28. 3.2.0

    1 Feb 2016
    • isPlainObject that we use internally is now outsourced to Lodash 4.1 (#1339). Note that this does not mean we depend on Lodash itself. We only use a tiny module from it. We will be able to reuse the same module in React Redux.

  29. 3.1.7

    31 Jan 2016
    • Fix an issue with setInterval unavailable in certain environments

    • Performance and memory usage optimizations (5b58608, c031c0a)

    • Slightly more aggressive minification

  30. 3.1.6

    31 Jan 2016
    • subscribe() now throws a descriptive error when the listener argument is not a function

    • bindActionCreators() now ignores anything but functions on the input object

  31. 3.1.5

    30 Jan 2016
    • replaceReducer() now throws a meaningful error rather than crashes if argument is not a function (#1318, #1321)

  32. 3.1.4

    29 Jan 2016
    • Fixes false positive for the envification check in IE because it doesn’t support Function.name (#1311)

  33. 3.1.3

    29 Jan 2016
    • Don’t crash when console or console.error is unavailable

  34. 3.1.2

    28 Jan 2016
    • Adds loose-envify as a dependency to fix builds for Browserify users. (#1304 & #1306)

  35. 3.1.1

    28 Jan 2016
    • Fixes applyMiddleware() to forward the enhancer if you mix the old and the new styles of specifying enhancers—there is no point to doing this though. (#1302)

  36. 3.1.0

    28 Jan 2016
    • For Browserify users, Redux should now be properly envified without extra configuration

    • createStore() now receives an enhancer such as applyMiddleware() as the last optional argument

  37. 3.0.6

    25 Jan 2016
    • breaking

      Now we warn if you’re running an unenvified build of Redux in production as it is slower. We determine this by checking whether you have uglified Redux code, and if you did, we check that process.env.NODE_ENV polyfill (which we require anyway) is set to 'production'. This does not affect the UMD builds. This is also a warning and not a hard error so it isn't a breaking change. (#1029, #1075)

    • compose() now aligns more closely with Underscore/Lodash behavior by allowing multiple arguments to be passed to the last function. This is not changing the existing behavior for the single argument call which has been the only possible use case before. (#632, #1050)

    • The dev-only state shape sanity check warning in combineReducers() now runs faster. (#1118)

  38. 3.0.5

    12 Dec 2015
    • Removes .babelrc in the compiled package because it is irrelevant (we ship ES5 code) and breaks React Native 0.16 and some consumers who use Babel 6 forgetting to exclude node_modules from transformations. (#1033, #1039, #1127)

  39. 3.0.4

    23 Oct 2015
    • Unsubscribing a store listener is now a no-op when called twice instead of a bug (#938, #939, b7031ce)

  40. 3.0.3

    20 Oct 2015
    • combineReducers() now returns the same object if none of the child states have changed. (#853, #856)

  41. 3.0.2

    26 Sep 2015
  42. 3.0.1

    25 Sep 2015
    • In development, combineReducers() now checks the state shape on every invocation instead of just once. This makes it easy to discover issues like #715 where you post-process the state from combineReducers() and then wonder why something you added to it has disappeared after the next action. This change has no effect in production, and you’re unlikely to hit it in development either, as post-processing state from combineReducers() isn't a very common pattern. (#715, #720)

    • The reducer probing performed by combineReducers() as a sanity check has been moved from the combineReducers() call to the first reducer invocation. Technically the check is still performed during the combineReducers() call, but the error is only thrown after during the initial dispatch. (Usually that would correspond to the createStore()call.) This reason for this is that otherwise an error thrown inside a reducer used to blow up combineReducers() and thus the whole module definition, and hot reloading used to fail in this case instead of showing the error in Redux DevTools. With this change and a corresponding fix in Redux DevTools, an error thrown inside a reducer that was later wrapped in combineReducers() will be displayed correctly, and once you fix the error, it will hot reload. (#717, #761, #106, #120)

    • The reducer probing performed by combineReducers() as a sanity check now uses @@redux/PROBE_UNKNOWN_ACTION_ prefix in the action type. Previously, action type was a random string. The reason for this change is to make it easier for type-checking libraries like redux-tcomb ignore such actions. This change does not affect application developers: just like before, you should never attempt to handle @@redux/* actions directly in your code. (#792, #796)

  43. 3.0.0

    12 Sep 2015
    • breaking

      Action objects now must have a type property other than undefined (#541, #564)

    • replaceReducer() is un-deprecated.

  44. 2.x
  45. 2.0.0

    1 Sep 2015

    It was only needed because React Redux used it to magically allow reducer hot reloading. This magic used to cause problems (#301, #340), so we made the usage of replaceReducer() for hot reloading explicit (#667).

  46. 1.x
  47. 1.0.1

    15 Aug 2015
    • Fixes “process is not defined” on React Native (#525, #526)

    • Removes dependencies on invariant and warning

    • Fixes TodoMVC example (#524, #529)

  48. 1.0.0

    14 Aug 2015
    • breaking

      If dispatch is attempted while reducer is executing, an error is thrown. Note that you can dispatch from lifecycle hooks just fine. It's only reducers that are not allowed to dispatch. (#368)

    • Unsubscribing during a dispatch is now fixed: #462

    • bindActionCreators now can also accept a function as the first argument: #352

  49. 0.12.x
  50. 0.12.0

    19 Jun 2015
    • Classes returned by decorators now expose a static DecoratedComponent property for easier testing

    • Dependencies on lodash and babel-runtime are dropped

    • Now compatible with Babel loose mode

  51. 0.11.x
  52. 0.11.1

    16 Jun 2015
    • Bugfix: When Connector select property changes, the state did not recalculate

  53. 0.11.0

    14 Jun 2015
    • Renames compose root export to composeMiddleware to clarify the intent

    • Fixes a bug with getState returning stale state after a hot reload

  54. 0.10.x
  55. 0.10.1

    13 Jun 2015
    • Connector now throws if select returns something other than a plain object (#85)

    • The custom dispatcher API is tweaked so setState now returns the state that was actually set. This makes custom dispatchers more composable. (#77)

  56. 0.10.0

    13 Jun 2015

    Redux 1.0 is within striking distance! Can you believe how quickly Redux has matured? @gaearon made the first commit only 14 days ago.

  57. 0.9.x
  58. 0.9.0

    9 Jun 2015
    • createDispatcher now returns a function you need to give to createRedux

    • createRedux is the primary API you'll use for initialization

    • Instead of dispatcher prop, a dispatch function prop is injected by the <Connector> and @connect

  59. 0.8.x
  60. 0.8.1

    6 Jun 2015
    • hydrate() and dehydrate() are gone, welcome getAtom() and setAtom() instead

    • initialize() and dispose() are added for advanced use cases

    • Changing select function now updates the Connector state