Packages

@reduxjs/toolkit

2.13.0 · 29 Sep 2026MIT45.8M / weekRepositoryHomepagenpmAtom feed

Your version

72 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.13.0

    29 Sep 2026
    • Additional publishing hardening

    • codegen: Migrate to oazapfts v7

    • combineSlices: Scope stateProxyMap per instance to prevent cross-instance proxy collisions

  3. 2.12.0

    15 May 2026
    • breaking

      toolkit: Switch to native NoInfer utility type

    • Export hook options types for RTK Query hooks

    • Add TanStack Intent skills for Redux Toolkit

  4. 2.11.2

    14 Dec 2025
    • Use a normal Error when DOMException isn't available

    • Include page functions in TypedUseInfiniteQueryHookResult

  5. 2.11.1

    8 Dec 2025
    • Use trusted publishing and harden workflows

    • Update TS typecheck matrix and add TS native job

    • Officially document TS support

  6. 2.11.0

    23 Nov 2025
    • Update Immer to v11 for better update performance

    • Compare paths against Regex instances in ignoredPaths

    • Add refetchCachedPages option for infinite query

  7. 2.10.1

    4 Nov 2025
    • Fix window SSR breakage

  8. 2.10.0

    4 Nov 2025
    • Improve perf for internal map/filter ops

    • Update Immer dep to 10.2 and disable strict iteration for perf

    • Deduplicate imports

  9. 2.9.2

    22 Oct 2025
    • Fix potential subscription leakage in SSR environments

    • Improve fetchBaseQuery default headers handling

    • Respect maxRetries for unexpected errors

  10. 2.9.1

    17 Oct 2025
    • entityAdapter: Ensure sorted addMany keeps first occurrence of duplicate ids

    • entityAdapter: Ensure sorted setMany keeps just unique IDs in state.ids

    • types: Ensure non-undefined data on isSuccess with exactOptionalPropertyTypes

  11. 2.9.0

    3 Sep 2025
    • Add RawResultType as a type-only property on endpoints

    • Allow passing an array of specific schemas to skip

    • types: re-exporting WritableDraft from immer

  12. 2.8.2

    14 May 2025
    • Restructure build config to fix RTKQ externals

  13. 2.8.1

    8 May 2025
    • browser exports condition

  14. 2.8.0

    6 May 2025
    • React-Native package exports

    • Add queryArg as 5th param to page param functions

  15. 2.7.0

    16 Apr 2025
    • The lifecycleApi.updateCachedData method is now correctly available

    • The skip option now correctly works for infinite query hooks

    • Infinite query fulfilled actions now include the meta field from the base query (such as {request, response}). For cases where multiple pages are being refetched, this will be the meta from the last page fetched.

  16. 2.6.1

    7 Mar 2025
    • matchFulfilled and providesTags now get the correct response types

    • We've added pre-typed Type* types to represent infinite queries, similar to the existing pre-defined types for queries and mutations

    • selectCachedArgsForQuery now supports fetching args for infinite query endpoints

  17. 2.6.0

    23 Feb 2025
    • RTKQ Infinite Query integration

  18. 2.5.1

    26 Jan 2025
    • Ensure upserted cache entries always get written

  19. 2.5.0

    11 Dec 2024
    • Migrate to React 19

    • Handle additional serializeQueryArgs + skipToken case

  20. 2.4.0

    28 Nov 2024
    • Add example to reproduce defect of serializeQueryArgs with skipToken

    • Read window.rAF later to allow fake timers to work correctly

    • Add type helpers for OnQueryStarted callbacks

  21. 2.3.0

    14 Oct 2024
    • arg: the URL string or FetchArgs object that was passed in to fetchBaseQuery for this endpoint

    • extraOptions: any extra options that were provided to the base query

    • Fix serializeQueryArgs type

  22. 2.2.8

    8 Oct 2024
    • Export QueryExtraOptions and MutationExtraOptions

    • Fix mangleErrors not preserving different error types

    • Add the TypedUseQueryStateOptions helper type

  23. 2.2.7

    27 Jul 2024
  24. 2.2.6

    29 Jun 2024
    • Brings internal useIsomorphicLayoutEffect usage in line with React Redux in React Native environments

    • Exports FetchBaseQueryArgs type

    • Fixes an issue in recent createEntityAdapter sorting perf improvements that could (in specific cases) cause Immer to throw an error

  25. 2.2.5

    16 May 2024
    • Fix missed spot where use of current may fail if the value is not a draft

  26. 2.2.4

    9 May 2024
    • Update remaining Context references to match the new nullable Context

    • types: Export GetThunkAPI type

    • Inline the deprecated React.ReactChild type

  27. 2.2.3

    31 Mar 2024
    • Update React Redux dependency to v9, and update docs to use .withTypes

  28. 2.2.2

    21 Mar 2024
    • Rename TypedUseMutationTrigger to TypedMutationTrigger, and add deprecated alias

    • Fixed memory leak in rapid hook arg changing

    • Fix incorrect legacy-esm target

  29. 2.2.1

    14 Feb 2024
  30. 2.2.0

    12 Feb 2024
    • Adds a second parameter to entityAdapter.getInitialState(additionalProps, entities) to allow prefilling state

    • Allows initialising combineSlices with no static reducers

    • Allows a new 'throw' value for overrideExisting in injectEndpoints, which throws an error if a definition is injected with a name which is already used

  31. 2.1.0

    24 Jan 2024
    • Adds withTypes methods to listenerMiddleware and createDraftSafeSelector

    • Adds a skipPollingIfUnfocused option to RTK Query

    • Adds the ability to customise the createSelector instance used by RTK Query

  32. 2.0.1

    4 Dec 2023
  33. 2.0.0

    4 Dec 2023
    • removed

      Removes the deprecated object syntax from createSlice and createReducer

    • removed

      Removes other deprecated options

    • removed

      Remove remaining deprecated exports

  34. 1.x
  35. 1.9.7

    4 Oct 2023
    • Copy of "Work around known TS bug with type inference #3761"

    • Rework named hooks type (v1.9)

  36. 1.9.6

    24 Sep 2023
    • Create action creator middleware

    • Implement auto fork joining

    • types: Make it easier to wrap createAsyncThunk

  37. 1.9.5

    18 Apr 2023
    • Update to latest remark-typescript-tools

    • Add isAction helper function, and ensure listener middleware only runs for actions

    • Allow inference of enhancer state extensions, and fix inference when using callback form

  38. 1.9.4

    17 Apr 2023
    • Test published artifacts in CI

    • Use Git revision in version and add Node CI examples

    • Add arethetypeswrong automated CLI check

  39. 1.9.3

    21 Feb 2023
    • Revert "clear data on skip" back to its original behavior

    • Use a WeakMap cache for query arg serialization for perf

  40. 1.9.2

    28 Jan 2023
    • Fix CaseReducer to infer from argument, not return value

    • fetchBaseQuery | Add jsonReplacer param

    • Support RegExp in ignoredPaths/ignoredActionPaths

  41. 1.9.1

    30 Nov 2022
    • Fix createAsyncThunk.withTypes

    • Update timer polyfills to work in more environments

    • Retry now checks whether potential retry counts are undefined, rather than boolean, in order to avoid filtering out 0's

  42. 1.9.0

    4 Nov 2022
    • deprecated

      getRunningQueryThunk(endpointName, queryArgs)

    • deprecated

      getRunningMutationThunk(endpointName, fixedCacheKeyOrRequestId)

    • deprecated

      getRunningQueriesThunk()

  43. 1.8.6

    9 Oct 2022
    • removed

      Remove previous api tags before adding new provided tags

    • Fix the dispatch type inference to correctly handle read-only middleware arrays

    • toolkit: Export "ThunkMiddleware" from redux-thunk

  44. 1.8.5

    19 Aug 2022
    • Prevent keepUnusedDataFor values from overflowing setTimeout counter

    • Remove typeof undefined checks where not necessary 🐃🪒

    • Update RDT options types, and export those + AnyListenerPredicate

  45. 1.8.4

    11 Aug 2022
    • Prevent duplicate ids when updating id of an element with the id of an existing element

    • ApiProvider: Correctly register listeners, allow to disable listeners

    • Update devtools options TS types based on RDT 3.0

  46. 1.8.3

    30 Jun 2022
    • Add Missing Else to enhanceEndpoints Function

    • Check initial state is draftable before using immer to freeze it.

    • Check that body isJsonifiable before stringify

  47. 1.8.2

    25 May 2022
    • Add type @remarks for configureStore's middleware

    • Fix the "map values transpilation" bug, in yet another place

  48. 1.8.1

    31 Mar 2022

    This release updates RTK's peer dependencies to accept React 18 as a valid version. This should fix installation errors caused by NPM's "install all the peer deps and error if they don't match" behavior.

  49. 1.8.0

    27 Feb 2022
  50. 1.7.2

    3 Feb 2022
    • meta: Passes meta to result description functions [#1904]

    • Fix addMatcher typings

    • Pass baseQueryMeta into calculateProvidedBy

  51. 1.7.1

    16 Dec 2021
    • Fix types for TS 4.5

  52. 1.7.0

    10 Dec 2021
    • Updates RTK Query with support for SSR and rehydration

    • Allows sharing mutation results across components

    • Adds a new currentData field to query results