Packages

redux

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

Upgrading redux From 4.0.0 to 4.2.1

10 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.0.0Latest5.0.1
  1. 4.0.0yours
  2. 9 releases
  3. 4.2.1target

Before you upgrade

Tick each one off as you go
  • deprecated4.2.0
  • deprecated4.2.0
  • deprecated4.2.0
  • deprecated4.2.0

Release by release

  1. 4.2.1nothing new or fixed in the note

  2. 4.2.0

    Deprecation18 Apr 2022
    • deprecated

      This release marks the original createStore API as @deprecated to encourage users to migrate to Redux Toolkit, and adds a new legacy_createStore API as an alias without the deprecation warning.

    • deprecated

      We already had a package rename from redux-starter-kit to @reduxjs/toolkit, and all of our docs and tutorials have pointed to it for the last three years. I don't want to put users through another whiplash package transition for no real benefit

    • deprecated

      Merging or rearranging our packages would effectively require merging all of the Redux repos into a single monorepo. That would require hundreds of hours of effort from us maintainers, including needing to somehow merge all of our docs sites together. We don't have the time to do that.

    • deprecated

      Mark createStore as deprecated, and add legacy_createStore alias

  3. 4.1.2

    28 Oct 20211 fix
    • fixed

      Fix preloaded state type

  4. 4.1.1nothing new or fixed in the note

  5. 4.1.0

    24 Apr 20211 new · 1 fix
    • new

      Mangle error codes to error indexes (#3920 - @andrewmcgivery)

    • fixed

      Declare "EmptyObject" interface to wrap $CombinedState (#4031 - @JacobLey)

  6. 4.0.5

    24 Dec 20191 fix
    • fixed

      Fix for combineReducers when replaceReducers removes a reducer

  7. 4.0.3 – 4.0.42 releases, nothing new or fixed in the notes

  8. 4.0.2

    9 Jul 20191 new · 1 fix
    • new

      Add types for Observable interface

    • fixed

      Fix DeepPartial type

24 other lines we could not sort, mostly version bumps
  • Remove minified check

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

    4.2.0
  • I don't want to add runtime warnings that would be really annoying

    4.2.0
  • Follow our suggestion to switch over to Redux Toolkit and configureStore

    4.2.0
  • Do nothing. It's just a visual strikethrough, and it doesn't affect how your code behaves. Ignore it.

    4.2.0
  • Switch to using the legacy_createStore API that is now exported, which is the exact same function but with no @deprecation tag. The simplest option is to do an aliased import rename:

    4.2.0
  • Move miniKindOf out of if scope to fix ES5 compatibility issue

    4.1.1
  • Remove symbol-observable and loose-envify deps (#4058 - @markerikson)

    4.1.0
  • Port error extraction setup from master (#4057 - @markerikson)

    4.1.0
  • Port build dependencies from master into 4.x (#4056 - @markerikson)

    4.1.0

3 internal lines (docs, tests, tooling) left out.