Skip to content

Bump @reduxjs/toolkit from 2.2.1 to 2.2.2

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

Bumps @reduxjs/toolkit from 2.2.1 to 2.2.2.

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.2.2

This patch release fixes an incorrect build setting for the legacy-esm artifacts, and fixes an issue with RTKQ query hooks didn't always remove the cache entries if arguments were changed rapidly.

Changes

legacy-esm Artifact Transpilation

The legacy-esm build artifacts are intended for use by Webpack 4. Those were supposed to be transpiled to target "es2017", but were in fact still set to target "esnext" - an oversight during the 2.0 development cycle. This release fixes that setting, so those artifacts are now correctly transpiled.

Other Fixes

RTKQ query hooks now handle additional actions around argument changes that should result in cache entries being removed.

Additionally, 2.2.1 contained a fix to an incorrectly named type: TypedUseMutationTrigger is now TypedMutationTrigger.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.2

Commits


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

Merge request reports