@reduxjs/toolkit
2.13.0 · 29 Sep 2026MIT45.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @reduxjs/toolkit From 2.1.0 to 2.2.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
Adds a second parameter to
entityAdapter.getInitialState(additionalProps, entities)to allow prefilling state - new
Allows initialising
combineSliceswith no static reducers - new
Allows a new
'throw'value foroverrideExistingininjectEndpoints, which throws an error if a definition is injected with a name which is already used - new
Adds a
action.meta.arg.isPrefetchvalue to query thunk actions when prefetched
- new
21 other lines we could not sort, mostly version bumps
- 2.2.0
Exports more type helpers for RTKQ hook and trigger types
- 2.2.0
Exports types related to overriding result types in
enhanceEndpoints - 2.2.0
Revamp type tests setup
- 2.2.0
Bump Prettier and Prettier related packages
- 2.2.0
Export types related to overriding the result types
- 2.2.0
Migrate type tests to Vitest
- 2.2.0
Format all files
- 2.2.0
skipPollingIfUnfocused added to polling overview and query options
- 2.2.0
Temporarily revert node-fetch bump until ESM issues are sorted
- 2.2.0
Contributing Markdown Refresh
3 internal lines (docs, tests, tooling) left out.