@reduxjs/toolkit
2.13.0 · 29 Sep 2026MIT45.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @reduxjs/toolkit From 1.6.0 to 1.6.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- breaking1.6.1
- deprecated1.6.1
Release by release
- breaking
Technically, this is a breaking change (removes a store property what would have been returned by a selector), but it is a necessary bugfix, and it does not appear anyone was actively using that property.
- deprecated
Deprecate
getDefaultMiddlewareexport (#1258 - @Shrugsy) - fixed
Prevent closing over
fetch(#1267 - @Shrugsy)
- breaking
15 other lines we could not sort, mostly version bumps
- 1.6.1
fetchBaseQuerynow provides a more meaningful error if the response can't be parsed successfully - 1.6.1
fetchBaseQueryhas been tweaked to always readfetchfrom the global scope, rather than closing over it at creation time. This improves usage with test tools that mock or overridefetchat the system level, such as Mirage. - 1.6.1
The
skipTokensymbol is now created usingSymbol.for(), to get a consistent reference - 1.6.1
API slices now warn if you try to add more than one reducer with the same
reducerPathname - 1.6.1
An internal hook usage was tweaked to avoid the "don't call
useLayoutEffecton the server" warning being printed in SSR - 1.6.1
A property on the promise returned by
dispatch - 1.6.1
Part of the thunk action
meta - 1.6.1
Return value of the
useMutationhook - 1.6.1
Error handling of fetchBaseQuery (#1250 - @phryneas)
- 1.6.1
Warn on duplicate
reducerPath(#1252 - @phryneas)