chat
chat copied to clipboard
build(deps): bump @reduxjs/toolkit from 1.9.3 to 1.9.5
Bumps @reduxjs/toolkit from 1.9.3 to 1.9.5.
Release notes
Sourced from @reduxjs/toolkit
's releases.
v1.9.5
This bugfix release includes notable improvements to TS type inference when using the
enhancers
option inconfigureStore
, and updates the listener middleware to only check predicates if the dispatched value is truly an action object.What's Changed
- update to latest remark-typescript-tools by
@EskiMojo14
in reduxjs/redux-toolkit#3311- add isAction helper function, and ensure listener middleware only runs for actions by
@EskiMojo14
in reduxjs/redux-toolkit#3372- Allow inference of enhancer state extensions, and fix inference when using callback form by
@EskiMojo14
in reduxjs/redux-toolkit#3207Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.9.4...v1.9.5
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#3364
... (truncated)
Commits
d3bb412
Release 1.9.51f87ac2
Merge pull request #3207 from EskiMojo14/enhancer-arrayda3f6ed
Merge pull request #3372 from EskiMojo14/listener-actionebe1777
Merge pull request #3311 from EskiMojo14/remark-typescript-update0c6cd6e
add test482270e
add isAction helper function, and ensure listener middleware only runs for ac...eb586b6
Merge pull request #3366 from n-ii-ma/patch-1811dd47
Fix typo18bc6bc
Release 1.9.42282f60
Merge pull request #3364 from reduxjs/bugfix/autobatch-actions- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)