# reduxjs/redux-toolkit · RepoSense Release & Migration Intelligence

> `ApiRootState` replaces RTK Query's `RootState` type, whic. Review breaking API changes before up… Migration: Moderate.

## Metadata
- **Repository URL**: https://github.com/reduxjs/redux-toolkit
- **Primary Package**: `@reduxjs/toolkit` (NPM)
- **Categories**: `STATE_MANAGEMENT`
- **Latest Version**: `v2.14.0`
- **Semantic Status**: `BREAKING`
- **Bundle Size Impact (unavailable)**: `Size Unavailable`
- **Atom Ingestion Feed**: https://github.com/reduxjs/redux-toolkit/releases.atom

## The Human Context (Plain-English Pitch)
@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.

## Stage 1 Executive Summary ([Core Change] + [Required Action] + [Migration Effort])
`ApiRootState` replaces RTK Query's `RootState` type, whic. Review breaking API changes before up… Migration: Moderate.

## Breaking Changes & Required Actions
- [BREAKING] `ApiRootState` replaces RTK Query's `RootState` type, which is now deprecated. `RootState` will be removed in 3.0.
- [BREAKING] `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.
- `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 `TypedAddLis...
- `dispatch(removeListener(...))` is typed as returning `boolean` and `dispatch(clearAllListeners())` as returning `void`, matching the runtime.
- `UseQueryStateDefaultResult` and `UseInfiniteQueryStateDefaultResult` are exported from `@reduxjs/toolkit/query/react`, for wrapping hooks with a generic `selectFromResult`.

## Migration Snippet
```ts
npm install @reduxjs/toolkit@2.14.0
```

## Ecosystem Compatibility Matrix & Graph Warnings
- **TypeScript 5.x** [`COMPATIBLE`]: Ships standard TypeScript declaration files without type regressions.

## Zero-Noise Release Timeline
- **v2.14.0** (2026-11-03) [BREAKING]: `ApiRootState` replaces RTK Query's `RootState` type, whic. Review breaking API changes before up… Migration: Moderate.

## Upgrade & Migration Q&A (GEO Direct Answers)
### Is 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
