reduxjs/redux-toolkit
v2.14.0Curated state management repository (reduxjs/redux-toolkit) tracked via conditional GitHub .atom polling.
@reduxjs/toolkit is an open-source library and developer tool in the reduxjs/redux-toolkit ecosystem. It saves developers from writing repetitive low-level boilerplate from scratch by providing a battle-tested, open-source implementation ready for production.
ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.
Key Release Highlights (v2.14.0)
ApiRootStatereplaces RTK Query'sRootStatetype, which is now deprecated.RootStatewill be removed in 3.0.TypedAddListenerActionandTypedRemoveListenerActiondescribe the actions thataddListenerandremoveListeneractually dispatch. The default payload type of `TypedAddLis...dispatch(removeListener(...))is typed as returningbooleananddispatch(clearAllListeners())as returningvoid, matching the runtime.UseQueryStateDefaultResultandUseInfiniteQueryStateDefaultResultare exported from@reduxjs/toolkit/query/react, for wrapping hooks with a genericselectFromResult.
Breaking Changes (Action Required)
ApiRootStatereplaces RTK Query'sRootStatetype, which is now deprecated.RootStatewill be removed in 3.0.TypedAddListenerActionandTypedRemoveListenerActiondescribe the actions thataddListenerandremoveListeneractually dispatch. The default payload type ofTypedAddListenerandTypedRemoveListeneris now the listener options object, soaddListener.match(action)no longer claimsaction.payloadhas fields likeidandunsubscribethat don't exist at runtime.
npm install @reduxjs/toolkit@2.14.0Ecosystem Compatibility Matrix & Verified Graph Warnings
Zero-Noise Historical Release Timeline (1)
Format: [Core Change] + [Required Action] + [Migration Effort]ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.
Upgrade & Migration Q&A (reduxjs/redux-toolkit v2.14.0)
Direct Answers for Engineers & AI AgentsIs reduxjs/redux-toolkit v2.14.0 safe to upgrade in production?
reduxjs/redux-toolkit v2.14.0 is classified as BREAKING (MINOR release). ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.
What breaking changes or compatibility risks exist in reduxjs/redux-toolkit v2.14.0?
ApiRootState replaces RTK Query's RootState type, which is now deprecated. RootState will be removed in 3.0. TypedAddListenerAction and TypedRemoveListenerAction describe the actions that addListener and removeListener actually dispatch. The default payload type of TypedAddListener and TypedRemoveListener is now the listener options object, so addListener.match(action) no longer claims action.payload has fields like id and unsubscribe that don't exist at runtime.
What is the bundle size impact of @reduxjs/toolkit v2.14.0?
Measured bundle size telemetry is currently unavailable for @reduxjs/toolkit v2.14.0; verify build output locally before deploying.
How do I upgrade @reduxjs/toolkit to v2.14.0?
Upgrade @reduxjs/toolkit to v2.14.0 by running "npm install @reduxjs/toolkit@2.14.0" and applying the migration steps: npm install @reduxjs/toolkit@2.14.0