chore(deps): bump @reduxjs/toolkit from 1.9.5 to 2.11.2#5897
chore(deps): bump @reduxjs/toolkit from 1.9.5 to 2.11.2#5897dependabot[bot] wants to merge 1 commit into
Conversation
|
|
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 44af374. Configure here.
| "@redis-ui/styles": "^15.0.0", | ||
| "@redis-ui/table": "^3.7.0", | ||
| "@reduxjs/toolkit": "^1.6.2", | ||
| "@reduxjs/toolkit": "^2.11.2", |
There was a problem hiding this comment.
redux-thunk v3 removes default export, breaking test infrastructure
High Severity
Bumping @reduxjs/toolkit to v2 pulls in redux-thunk v3, which removed its default export. The codebase uses import thunk from 'redux-thunk' in test-utils.tsx and rejson.setJsonDataAction.spec.ts. With v3, thunk will be undefined, causing configureMockStore([undefined]) to silently produce a broken mock store that can't handle async actions, failing the entire test suite.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 44af374. Configure here.
| "@redis-ui/styles": "^15.0.0", | ||
| "@redis-ui/table": "^3.7.0", | ||
| "@reduxjs/toolkit": "^1.6.2", | ||
| "@reduxjs/toolkit": "^2.11.2", |
There was a problem hiding this comment.
react-redux v7 incompatible with Redux 5 from RTK 2
High Severity
The project uses react-redux@^7.2.2 which has a peer dependency on redux@^2 || ^3 || ^4. This RTK 2 upgrade pulls in redux@5.0.1, creating an unsupported combination. The store created by configureStore uses Redux 5 internals, but react-redux v7 expects a Redux 4 store, likely causing TypeScript failures and potential runtime incompatibilities. The official migration guide requires upgrading to react-redux@9.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 44af374. Configure here.
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.5 to 2.11.2. - [Release notes](https://github.com/reduxjs/redux-toolkit/releases) - [Commits](reduxjs/redux-toolkit@v1.9.5...v2.11.2) --- updated-dependencies: - dependency-name: "@reduxjs/toolkit" dependency-version: 2.11.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
44af374 to
822a026
Compare


Bumps @reduxjs/toolkit from 1.9.5 to 2.11.2.
Release notes
Sourced from @reduxjs/toolkit's releases.
... (truncated)
Commits
646d54cRelease 2.11.2819b29cInclude page functions inTypedUseInfiniteQueryHookResult(#5165)9af97cafix: use a normal Error when DOMException isn't available (#5161)3615d1aMerge pull request #5120 from reduxjs/vitest-bumpsfae3b95avoid excessive type instantiationd296e33fix type issue with RTKQ and reselect9ce71b9add node to types fieldd14d427remove unused tests324dd05bump vite to matchb0887c4bump to vitest v4Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@reduxjs/toolkitsince your current version.Note
Medium Risk
This is a major-version upgrade of Redux Toolkit that also pulls in
redux@5,redux-thunk@3,reselect@5, andimmer@11, which can introduce subtle runtime/type changes in state management.Overview
Upgrades
@reduxjs/toolkitfrom^1.6.2(resolved1.9.5) to^2.11.2.Updates
yarn.lockto the new dependency tree, including newerredux,redux-thunk,reselect, andimmer, and adds@standard-schema/specand@standard-schema/utilsrequired by RTK v2.Reviewed by Cursor Bugbot for commit 822a026. Bugbot is set up for automated code reviews on this repo. Configure here.