Bump @reduxjs/toolkit from 1.9.7 to 2.0.0
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
defaultMemoizetolruMemoize.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@nextChangelog
RTK Query Selector Usage Fixes
The previous
v2.0.0-rc.2release picked up Reselect's dev mode checks for result functions that just return their input, likex => 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
defaultMemoizefunction has now been renamed tolruMemoize, since it's no longer the default. See the Reselectv5.0.0-rc.1release notes for more details.What's Changed
- Avoid passing an identity function to createSelector by
@EskiMojo14in reduxjs/redux-toolkit#3931- Bump Reselect to pick up
lruMemoizerename by@markeriksonin reduxjs/redux-toolkit#3933Full 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
weakMapMemoizeas the default insidecreateSelector.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
-
ca2c99cRelease 2.0.0 -
78f033dMerge pull request #3941 from reduxjs/feature/2.0-final-deps-update -
2472e03Final deps update -
350e79fMerge pull request #3089 from reduxjs/v2.0-integration -
0fa46d4Add missing docs paragraphs -
7532c9bMerge pull request #3939 from reduxjs/docs/2.0-final-migration-polish -
cf167c3Final migration tweaks -
572675aMerge pull request #3936 from reduxjs/docs/2.0-migration-polish -
b91595cTweak title -
6939ee5Add 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 rebasewill rebase this MR -
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts