@reduxjs/toolkit
2.13.0 · 29 Sep 2026MIT45.8M / weekRepositoryHomepagenpmAtom feed
2.13.0 is the newest release of 2.x.
In short
12 new10 fixed16 changed3 internal
Release note
This minor release:
Adds withTypes methods to
listenerMiddlewareandcreateDraftSafeSelectorAdds a
skipPollingIfUnfocusedoption to RTK QueryAdds the ability to customise the
createSelectorinstance used by RTK QueryReworks slice selector logic to avoid depending on
thisvalueFixes the order and inference of
create.asyncThunktype parametersFixes requirements for meta fields returned from
queryFnsMarks promises that will never reject as safe, in preparation for #7008
What's Changed
Update docs to avoid circular type
Copy "Migrating to Modern Redux" and "RTK is Redux" docs from core site
Fix store path rtk-query pokemon api tutorial
Tweak RTKQ without hooks section, and add note regarding memoization
Add section regarding overriding deps
Add section re: RR custom context typing change
Add Expo demo app to CI workflow
Preserve nullable store state type by avoiding intersection with {}
Upgrade version of "graphql-request"
Update RTK peerDependency
Improve selectFromResult memoization
Rename "createSliceWithThunks" and "createThunkSlice" to "createAppSlice"
Bump Vitest to latest version
Fix inference and order of async thunk generics
Fix markdown links on Next.js page
Introduce pre-typed listener middleware via
listenerMiddleware.withTypes<RootState, AppDispatch>()methodAdd
.withTypestocreateDraftSafeSelectorTask/remove all settled
Allow customising createSelector instance used by RTKQ
cacheLifecycle fix for fixedCacheKey in mutationThunk
Avoid relying on
thisin createSlicedocumentation: Fix grammar in redux and redux toolkit comparison
Update
tsconfig.typetests.jsonto include all TS filesRemove abort event listner for AbortController
fix/kitchen-sink-isAuthenticated: Fixed isAuthenticated state change on login fullfilled
Fix
composeWithDevToolsspyRequire queryFn meta to match base query
Added 'SafePromise' branded Promises for createAsyncThunk
Add React Native demo app to CI workflow
Add missing reducer field to ConfigureStoreOptions docs
Option for queries to pause polling when unfocused