Packages

@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…

Other targets from 1.6.0Newest 1.x1.9.7Latest2.13.0
  1. 1.6.0yours
  2. 1.6.1target
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

  1. 1.6.1

    Migration needed17 Jul 20211 fix
    • 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 getDefaultMiddleware export (#1258 - @Shrugsy)

    • fixed

      Prevent closing over fetch (#1267 - @Shrugsy)

15 other lines we could not sort, mostly version bumps
  • fetchBaseQuery now provides a more meaningful error if the response can't be parsed successfully

    1.6.1
  • fetchBaseQuery has been tweaked to always read fetch from the global scope, rather than closing over it at creation time. This improves usage with test tools that mock or override fetch at the system level, such as Mirage.

    1.6.1
  • The skipToken symbol is now created using Symbol.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 reducerPath name

    1.6.1
  • An internal hook usage was tweaked to avoid the "don't call useLayoutEffect on 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 useMutation hook

    1.6.1
  • Error handling of fetchBaseQuery (#1250 - @phryneas)

    1.6.1
  • Warn on duplicate reducerPath (#1252 - @phryneas)

    1.6.1