Bump @reduxjs/toolkit from 2.2.1 to 2.2.2
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 TranspilationThe
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 nowTypedMutationTrigger
.What's Changed
- rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated alias by
@EskiMojo14
in reduxjs/redux-toolkit#4204- Fixed memory leak in rapid hook arg changing by
@riqts
in reduxjs/redux-toolkit#4268- Fix incorrect legacy-esm target by
@markerikson
in reduxjs/redux-toolkit#4284Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.0...v2.2.2
Commits
-
7aa85a0
Release 2.2.2 -
41ae39d
Merge pull request #4284 from reduxjs/bugfix/rtk2-legacy-esm-config -
c9110af
Add apparently-missing error message -
0fbb686
Fix incorrect legacy-esm target -
128ce81
Fixed memory leak in rapid hook arg changing (#4268) -
e31224f
Just build a RN bundle, not the whole app (#4266) -
5b16303
Merge pull request #4237 from aryaemami59/update-ci-actions -
3b1fbf3
Merge branch 'master' of https://github.com/reduxjs/redux-toolkit into update... -
95c4cbc
Merge pull request #4253 from reduxjs/enhancer-doc-fix -
6c64f69
Merge pull request #4000 from domvo/docs/correction-of-refetch-typing-for-use... - Additional commits viewable in compare view
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