[Snyk] Upgrade @reduxjs/toolkit from 1.9.7 to 2.2.1 #1643
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @reduxjs/toolkit from 1.9.7 to 2.2.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: @reduxjs/toolkit
Release 2.2.1
Read more
Read more
Release 2.0.1
Read more
This release candidate updates to the latest Reselect 5.0 RC to pick up the rename of
defaultMemoize
tolruMemoize
.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:
v2.0.0-rc.2
release 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
defaultMemoize
function has now been renamed tolruMemoize
, since it's no longer the default. See the Reselectv5.0.0-rc.1
release notes for more details.What's Changed
lruMemoize
rename by @ markerikson in #3933Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3
This release candidate updates to the latest Reselect 5.0 RC to pick up the change to use
weakMapMemoize
as 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:
weakMapMemoize
as the default memoization implementation forcreateSelector
. This memoizer has an effectively infinite cache size, which should cut down on the number of recalculations in a typical app, and help improve performance overall. This is a breaking change, but one that should be invisible to most users.It also adds a new dev-mode check for result functions that look like
x => x
, which is almost always a mistake.See the Reselect v5.0.0-rc.0 release notes for more details.
What's Changed
weakMapMemoize
change by @ markerikson in #3928Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2
This release candidate updates to the latest Redux 5.0 RC to use its exported
isAction
andisPlainObject
util methods, renames the pre-minified ESM production build toredux-toolkit.browser.mjs
and drops the ESM precompiled dev build, and updates build tooling.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:
redux-toolkit.modern.development.mjs
andredux-toolkit.modern.production.mjs
.We've renamed the production artifact to
redux-toolkit.browser.mjs
to be consistent with the other Redux-related packages, and removed the dev build artifact on the grounds that we don't think there's enough likely usage to include it. If you think you would specifically benefit from having an ESM browser-compatible dev artifact, let us know!What's Changed
v2.0-integration
by @ markerikson in #3903Full Changelog: v2.0.0-rc.0...v2.0.0-rc.1
Read more
Commit messages
Package name: @reduxjs/toolkit
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs