Skip to content

Bump @reduxjs/toolkit from 1.9.7 to 2.0.0

Dependabot requested to merge dependabot-npm_and_yarn-reduxjs-toolkit-2.0.0 into master

Bumps @reduxjs/toolkit from 1.9.7 to 2.0.0.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.0.0-rc.3

This release candidate updates to the latest Reselect 5.0 RC to pick up the rename of defaultMemoize to lruMemoize.

Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by this weekend!

See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.

The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

npm install @reduxjs/toolkit@next
yarn add @​reduxjs/toolkit@​next

Changelog

RTK Query Selector Usage Fixes

The previous v2.0.0-rc.2 release picked up Reselect's dev mode checks for result functions that just return their input, like x => x. Turns out that some of RTK Query's internal selector usage did that in some cases :) That resulted in a ton of warnings being printed. We've updated our internals to fix that.

Reselect Changes

The Reselect defaultMemoize function has now been renamed to lruMemoize, since it's no longer the default. See the Reselect v5.0.0-rc.1 release notes for more details.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.0.0-rc.2...v2.0.0-rc.3

v2.0.0-rc.2

This release candidate updates to the latest Reselect 5.0 RC to pick up the change to use weakMapMemoize as the default inside createSelector.

Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)

See the preview Redux Toolkit 2.0 + Redux core 5.0 Migration Guide for an overview of breaking changes in RTK 2.0 and Redux core.

The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

npm install @reduxjs/toolkit@next
</tr></table> 

... (truncated)

Commits
  • ca2c99c Release 2.0.0
  • 78f033d Merge pull request #3941 from reduxjs/feature/2.0-final-deps-update
  • 2472e03 Final deps update
  • 350e79f Merge pull request #3089 from reduxjs/v2.0-integration
  • 0fa46d4 Add missing docs paragraphs
  • 7532c9b Merge pull request #3939 from reduxjs/docs/2.0-final-migration-polish
  • cf167c3 Final migration tweaks
  • 572675a Merge pull request #3936 from reduxjs/docs/2.0-migration-polish
  • b91595c Tweak title
  • 6939ee5 Add Reselect and React-Redux to migration notes
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading