Bump @reduxjs/toolkit from 1.9.3 to 1.9.4
Bumps @reduxjs/toolkit from 1.9.3 to 1.9.4.
Release notes
Sourced from @reduxjs/toolkit
's releases.
v1.9.4
This bugfix release includes tweaks to RTKQ options handling, tweaks for perf updates, dependency updates, and updates to our CI tooling.
Also, please check out our ongoing RTK 2.0 alpha releases! They have significant improvements to bundle size, ESM/CJS compatibility, TS typings, and reducer update performance. We're looking for real-world feedback on behavior, performance, and any issues you might run into.
Changelog
RTK Query Options Updates
Passing
transformResponse
as part ofenhanceEndpoints
can now override the TS type of the original data.
fetchBaseQuery
now properly checks for a globalresponseHandler
option.Performance and Internals
RTK Query now uses Immer's
original()
to do comparisons inside ofcopyWithStructuralSharing
, which should significantly speed up performance when applying changes from re-fetched data.RTKQ's internal
subscriptionUpdated
action is now marked as batchable.We've updated dependencies to Immer 9.0.21, Reselect 4.1.8, and Redux 4.2.1.
CI Updates
We've added a suite of example apps built with different frameworks such as CRA 4, CRA 5, Next, and Vite, as well as examples that check for compatibility in Node with CJS and ESM modes and with various TS module resolution modes.
What's Changed
- Test published artifacts in CI by
@markerikson
in reduxjs/redux-toolkit#3213- Use Git revision in version and add Node CI examples by
@markerikson
in reduxjs/redux-toolkit#3258- Add
arethetypeswrong
automated CLI check by@markerikson
in reduxjs/redux-toolkit#3294- Add
attw
CLI option to treat problems as non-errors by@markerikson
in reduxjs/redux-toolkit#3316- Use original instead of immer draft for perf by
@GeorchW
in reduxjs/redux-toolkit#3270- enable enhanceEndpoints.transformResponse to override ResultType by
@dmitrigrabov
in reduxjs/redux-toolkit#2953- Fix global
responseHandler
being used infetchBaseQuery
by@praxxis
in reduxjs/redux-toolkit#3137- reset internalState.currentSubscriptions on
resetApiState
by@phryneas
in reduxjs/redux-toolkit#3333- Bump deps and mark
subscriptionUpdated
as autobatched by@markerikson
in reduxjs/redux-toolkit#3364Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.9.3...v1.9.4
Commits
-
18bc6bc
Release 1.9.4 -
2282f60
Merge pull request #3364 from reduxjs/bugfix/autobatch-actions -
a9057c6
MarksubscriptionsUpdated
as autobatched -
cc9d416
Merge pull request #3333 from reduxjs/pr/fix-3119 -
ef8480b
Bump deps -
8232827
Merge pull request #3137 from praxxis/global-responsehandler -
8962cef
Merge pull request #2953 from dmitrigrabov/use-transformed-response-result-type -
53df220
Merge pull request #3270 from GeorchW/copywithstructuralsharing-perf -
933502c
Use original instead of immer draft for perf -
23a78ca
Merge pull request #3334 from chmac/patch-2 - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts