Update dependency @reduxjs/toolkit to v1.8.6 - autoclosed #11

Closed
kjuulh wants to merge 1 commits from renovate/reduxjs-toolkit-1.x into main
Owner

This PR contains the following updates:

Package Type Update Change
@reduxjs/toolkit (source) dependencies minor 1.6.2 -> 1.8.6

Release Notes

reduxjs/redux-toolkit

v1.8.6

Compare Source

v1.8.5

Compare Source

v1.8.4

Compare Source

v1.8.3

Compare Source

v1.8.2

Compare Source

v1.8.1

Compare Source

v1.8.0

Compare Source

v1.7.2

Compare Source

v1.7.1

Compare Source

v1.7.0

This feature release has a wide variety of API improvements:

  • updates RTK Query with support for SSR and rehydration
  • allows sharing mutation results across components
  • adds a new currentData field to query results
  • adds several new options for customizing endpoints and base queries
  • adds support for async condition options in createAsyncThunk
  • updates createSlice/createReducer to accept a "lazy state initializer" function
  • updates createSlice to avoid potential circular dependency issues by lazy-building its reducer
  • updates Reselect and Redux-Thunk to the latest versions with much-improved TS support and new selector customization options
  • Fixes a number of small code and types issues
npm i @​reduxjs/toolkit@latest

yarn add @​reduxjs/toolkit@latest

Changelog

RTK Query
RTK Query SSR and Rehydration Support

RTK Query now has support for SSR scenarios, such as the getStaticProps/getServerSideProps APIs in Next.js. Queries can be executed on the server using the existing dispatch(someEndpoint.initiate()) thunks, and then collected using the new await Promise.all(api.getRunningOperationPromises()) method.

API definitions can then provide an extractRehydrationInfo method that looks for a specific action type containing the fetched data, and return the data to initialize the API cache section of the store state.

The related api.util.getRunningOperationPromise() API adds a building block that may enable future support for React Suspense as well, and we'd encourage users to experiment with this idea.

Sharing Mutation Results Across Components

Mutation hooks provide status of in-progress requests, but as originally designed that information was unique per-component - there was no way for another component to see that request status data. But, we had several requests to enable this use case.

useMutation hooks now support a fixedCacheKey option that will store the result status in a common location, so multiple components can read the request status if needed.

This does mean that the data cannot easily be cleaned up automatically, so the mutation status object now includes a reset() function that can be used to clear that data.

Data Loading Updates

Query results now include a currentData field, which contains the latest data cached from the server for the current query arg. Additionally, transformResponse now receives the query arg as a parameter. These can be used to add additional derivation logic in cases when a hooks query arg has changed to represent a different value and the existing data no longer conceptually makes sense to keep displaying.

Data Serialization and Base Query Improvements

RTK Query originally only did shallow checks for query arg fields to determine if values had changed. This caused issues with infinite loops depending on user input.

The query hooks now use a "serialized stable value" hook internally to do more consistent comparisons of query args and eliminate those problems.

Also, fetchBaseQuery now supports a paramsSerializer option that allows customization of query string generation from the provided arguments, which enables better interaction with some backend APIs.

The BaseQueryApi and prepareheaders args now include fields for endpoint name, type to indicate if it's a query or mutation, and forced to indicate a re-fetch even if there was already a cache entry. These can be used to help determine headers like Cache-Control: no-cache.

Other RTK Query Improvements

API objects now have a selectInvalidatedBy function that accepts a root state object and an array of query tag objects, and returns a list of details on endpoints that would be invalidated. This can be used to help implement optimistic updates of paginated lists.

Fixed an issue serializing a query arg of undefined. Related, an empty JSON body now is stored as null instead of undefined.

There are now dev warnings for potential mistakes in endpoint setup, like a query function that does not return a data field.

Lazy query trigger promises can now be unwrapped similar to mutations.

Fixed a type error that led the endpoint return type to be erroneously used as a state key, which caused generated selectors to have an inferred state: never argument.

Fixed transformResponse to correctly receive the originalArgs as its third parameter.

api.util.resetApiState will now clear out cached values in useQuery hooks.

The RetryOptions interface is now exported, which resolves a TS build error when using the hooks with TS declarations.

RTK Core
createSlice Lazy Reducers and Circular Dependencies

For the last couple years we've specifically recommended using a "feature folder" structure with a single "slice" file of logic per feature, and createSlice makes that pattern really easy - no need to have separate folders and files for /actions and /constants any more.

The one downside to the "slice file" pattern is in cases when slice A needs to import actions from slice B to respond to them, and slice B also needs to listen to slice A. This circular import then causes runtime errors, because one of the modules will not have finished initializing by the time the other executes the module body. That causes the exports to be undefined, and createSlice throws an error because you can't pass undefined to builder.addCase() in extraReducers. (Or, worse, there's no obvious error and things break later.)

There are well-known patterns for breaking circular dependencies, typically requiring extracting shared logic into a separate file. For RTK, this usually means calling createAction separately, and importing those action creators into both slices.

While this is a rarer problem, it's one that can happen in real usage, and it's also been a semi-frequently listed concern from users who didn't want to use RTK.

We've updated createSlice to now lazily create its reducer function the first time you try to call it. That delay in instantiation should eliminate circular dependencies as a runtime error in createSlice.

createAsyncThunk Improvements

The condition option may now be async, which enables scenarios like checking if an existing operation is running and resolving the promise when the other instance is done.

If an idGenerator function is provided, it will now be given the thunkArg value as a parameter, which enables generating custom IDs based on the request data.

The createAsyncThunk types were updated to correctly handle type inference when using rejectWithValue().

Other RTK Improvements

createSlice and createReducer now accept a "lazy state initializer" function as the initialState argument. If provided, the initializer will be called to produce a new initial state value any time the reducer is given undefined as its state argument. This can be useful for cases like reading from localStorage, as well as testing.

The isPlainObject util has been updated to match the implementation in other Redux libs.

The UMD builds of RTK Query now attach as window.RTKQ instead of overwriting window.RTK.

Fixed an issue with sourcemap loading due to an incorrect filename replacement.

Dependency Updates

We've updated our deps to the latest versions:

  • Reselect 4.1.x: Reselect has brand-new customization capabilities for selectors, including configuring cache sizes > 1 and the ability to run equality checks on selector results. It also now has completely rewritten TS types that do a much better job of inferring arguments and catch previously broken patterns.
  • Redux Thunk 2.4.0: The thunk middleware also has improved types, as well as an optional "global override" import to modify the type of Dispatch everywhere in the app

We've also lowered RTK's peer dependency on React from ^16.14 to ^16.9, as we just need hooks to be available.

Other Redux Development Work

The Redux team has also been working on several other updates to the Redux family of libraries.

React-Redux v8.0 Beta

We've rewritten React-Redux to add compatibility with the upcoming React 18 release and converted its codebase to TypeScript. It still supports React 16.8+/17 via a /compat entry point. We'd appreciate further testing from the community so we can confirm it works as expected in real apps before final release. For details on the changes, see:

RTK "Action Listener Middleware" Alpha

We have been working on a new "action listener middleware" that we hope to release in an upcoming version of RTK. It's designed to let users write code that runs in response to dispatched actions and state changes, including simple callbacks and moderately complex async workflows. The current design appears capable of handling many of the use cases that previously required use of the Redux-Saga or Redux-Observable middlewares, but with a smaller bundle size and simpler API.

The listener middleware is still in alpha, but we'd really appreciate more users testing it out and giving us additional feedback to help us finalize the API and make sure it covers the right use cases.

RTK Query CodeGen

The RTK Query OpenAPI codegen tool has been rewritten with new options and improved output.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v1.6.2...v1.7.0


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://github.com/reduxjs/redux-toolkit)) | dependencies | minor | [`1.6.2` -> `1.8.6`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/1.6.2/1.8.6) | --- ### Release Notes <details> <summary>reduxjs/redux-toolkit</summary> ### [`v1.8.6`](https://github.com/reduxjs/redux-toolkit/compare/ceb3d50b875cefb97384ed7dc96470d2e4f6c7e4...1dd128b3b9e87162d8dcf93b8febf487803f62c0) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/ceb3d50b875cefb97384ed7dc96470d2e4f6c7e4...1dd128b3b9e87162d8dcf93b8febf487803f62c0) ### [`v1.8.5`](https://github.com/reduxjs/redux-toolkit/compare/62f341c42d25ebcd42271adc50d1a77e72f8812c...ceb3d50b875cefb97384ed7dc96470d2e4f6c7e4) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/62f341c42d25ebcd42271adc50d1a77e72f8812c...ceb3d50b875cefb97384ed7dc96470d2e4f6c7e4) ### [`v1.8.4`](https://github.com/reduxjs/redux-toolkit/compare/3033a33c3dd2ad743f02a44603bc77174599eebc...62f341c42d25ebcd42271adc50d1a77e72f8812c) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/3033a33c3dd2ad743f02a44603bc77174599eebc...62f341c42d25ebcd42271adc50d1a77e72f8812c) ### [`v1.8.3`](https://github.com/reduxjs/redux-toolkit/compare/3d7bd2246df35a668a25d60a757f1f0b6df62798...3033a33c3dd2ad743f02a44603bc77174599eebc) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/3d7bd2246df35a668a25d60a757f1f0b6df62798...3033a33c3dd2ad743f02a44603bc77174599eebc) ### [`v1.8.2`](https://github.com/reduxjs/redux-toolkit/compare/6c8ef7749b53e3ac5749e30e3ebcb143bfaa8984...3d7bd2246df35a668a25d60a757f1f0b6df62798) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/6c8ef7749b53e3ac5749e30e3ebcb143bfaa8984...3d7bd2246df35a668a25d60a757f1f0b6df62798) ### [`v1.8.1`](https://github.com/reduxjs/redux-toolkit/compare/e41d458555eed05bb517e8f186b7b3ba52972e23...6c8ef7749b53e3ac5749e30e3ebcb143bfaa8984) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/e41d458555eed05bb517e8f186b7b3ba52972e23...6c8ef7749b53e3ac5749e30e3ebcb143bfaa8984) ### [`v1.8.0`](https://github.com/reduxjs/redux-toolkit/compare/b35d9d4be9abe2b29b20f2b7a709ae34a3ca177f...e41d458555eed05bb517e8f186b7b3ba52972e23) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/b35d9d4be9abe2b29b20f2b7a709ae34a3ca177f...e41d458555eed05bb517e8f186b7b3ba52972e23) ### [`v1.7.2`](https://github.com/reduxjs/redux-toolkit/compare/53f56a4512bdd19d44710a8ca53df08d1dfe7aa0...b35d9d4be9abe2b29b20f2b7a709ae34a3ca177f) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/53f56a4512bdd19d44710a8ca53df08d1dfe7aa0...b35d9d4be9abe2b29b20f2b7a709ae34a3ca177f) ### [`v1.7.1`](https://github.com/reduxjs/redux-toolkit/compare/7a1fec4abe5817a14cdccceb04ab743682638d49...53f56a4512bdd19d44710a8ca53df08d1dfe7aa0) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/7a1fec4abe5817a14cdccceb04ab743682638d49...53f56a4512bdd19d44710a8ca53df08d1dfe7aa0) ### [`v1.7.0`](https://github.com/reduxjs/redux-toolkit/releases/tag/v1.7.0) This feature release has a wide variety of API improvements: - updates RTK Query with support for SSR and rehydration - allows sharing mutation results across components - adds a new `currentData` field to query results - adds several new options for customizing endpoints and base queries - adds support for async `condition` options in `createAsyncThunk` - updates `createSlice/createReducer` to accept a "lazy state initializer" function - updates `createSlice` to avoid potential circular dependency issues by lazy-building its reducer - updates Reselect and Redux-Thunk to the latest versions with much-improved TS support and new selector customization options - Fixes a number of small code and types issues ```bash npm i @&#8203;reduxjs/toolkit@latest yarn add @&#8203;reduxjs/toolkit@latest ``` #### Changelog ##### RTK Query ##### RTK Query SSR and Rehydration Support RTK Query now has support for SSR scenarios, such as the `getStaticProps/getServerSideProps` APIs in Next.js. Queries can be executed on the server using the existing `dispatch(someEndpoint.initiate())` thunks, and then collected using the new `await Promise.all(api.getRunningOperationPromises())` method. API definitions can then provide an `extractRehydrationInfo` method that looks for a specific action type containing the fetched data, and return the data to initialize the API cache section of the store state. The related `api.util.getRunningOperationPromise()` API adds a building block that may enable future support for React Suspense as well, and we'd encourage users to experiment with this idea. ##### Sharing Mutation Results Across Components Mutation hooks provide status of in-progress requests, but as originally designed that information was unique per-component - there was no way for another component to see that request status data. But, we had several requests to enable this use case. `useMutation` hooks now support a `fixedCacheKey` option that will store the result status in a common location, so multiple components can read the request status if needed. This does mean that the data cannot easily be cleaned up automatically, so the mutation status object now includes a `reset()` function that can be used to clear that data. ##### Data Loading Updates Query results now include a `currentData` field, which contains the latest data cached from the server for the *current* query arg. Additionally, `transformResponse` now receives the query arg as a parameter. These can be used to add additional derivation logic in cases when a hooks query arg has changed to represent a different value and the existing data no longer conceptually makes sense to keep displaying. ##### Data Serialization and Base Query Improvements RTK Query originally only did shallow checks for query arg fields to determine if values had changed. This caused issues with infinite loops depending on user input. The query hooks now use a "serialized stable value" hook internally to do more consistent comparisons of query args and eliminate those problems. Also, `fetchBaseQuery` now supports a `paramsSerializer` option that allows customization of query string generation from the provided arguments, which enables better interaction with some backend APIs. The `BaseQueryApi` and `prepareheaders` args now include fields for `endpoint` name, `type` to indicate if it's a query or mutation, and `forced` to indicate a re-fetch even if there was already a cache entry. These can be used to help determine headers like `Cache-Control: no-cache`. ##### Other RTK Query Improvements API objects now have a `selectInvalidatedBy` function that accepts a root state object and an array of query tag objects, and returns a list of details on endpoints that would be invalidated. This can be used to help implement optimistic updates of paginated lists. Fixed an issue serializing a query arg of `undefined`. Related, an empty JSON body now is stored as `null` instead of `undefined`. There are now dev warnings for potential mistakes in endpoint setup, like a query function that does not return a `data` field. Lazy query trigger promises can now be unwrapped similar to mutations. Fixed a type error that led the endpoint return type to be erroneously used as a state key, which caused generated selectors to have an inferred `state: never` argument. Fixed `transformResponse` to correctly receive the `originalArgs` as its third parameter. `api.util.resetApiState` will now clear out cached values in `useQuery` hooks. The `RetryOptions` interface is now exported, which resolves a TS build error when using the hooks with TS declarations. ##### RTK Core ##### `createSlice` Lazy Reducers and Circular Dependencies For the last couple years we've specifically recommended [using a "feature folder" structure with a single "slice" file of logic per feature](https://redux.js.org/style-guide/style-guide#structure-files-as-feature-folders-with-single-file-logic), and `createSlice` makes that pattern really easy - no need to have separate folders and files for `/actions` and `/constants` any more. The one downside to the "slice file" pattern is in cases when slice A needs to import actions from slice B to respond to them, and slice B also needs to listen to slice A. This circular import then causes runtime errors, because one of the modules will not have finished initializing by the time the other executes the module body. That causes the exports to be undefined, and `createSlice` throws an error because you can't pass `undefined` to `builder.addCase()` in `extraReducers`. (Or, worse, there's no obvious error and things break later.) There are [well-known patterns for breaking circular dependencies](https://medium.com/visual-development/how-to-fix-nasty-circular-dependency-issues-once-and-for-all-in-javascript-typescript-a04c987cf0de), typically requiring extracting shared logic into a separate file. For RTK, this usually means [calling `createAction` separately, and importing those action creators into both slices](https://redux-toolkit.js.org/usage/usage-guide#exporting-and-using-slices). While this is a rarer problem, it's one that *can* happen in real usage, and it's also been a semi-frequently listed concern from users who didn't want to use RTK. We've updated `createSlice` to now lazily create its reducer function *the first time you try to call it*. That delay in instantiation should **eliminate circular dependencies as a runtime error in `createSlice`**. ##### `createAsyncThunk` Improvements The `condition` option may now be `async`, which enables scenarios like checking if an existing operation is running and resolving the promise when the other instance is done. If an `idGenerator` function is provided, it will now be given the `thunkArg` value as a parameter, which enables generating custom IDs based on the request data. The `createAsyncThunk` types were updated to correctly handle type inference when using `rejectWithValue()`. ##### Other RTK Improvements `createSlice` and `createReducer` now accept a "lazy state initializer" function as the `initialState` argument. If provided, the initializer will be called to produce a new initial state value any time the reducer is given `undefined` as its state argument. This can be useful for cases like reading from `localStorage`, as well as testing. The `isPlainObject` util has been updated to match the implementation in other Redux libs. The UMD builds of RTK Query now attach as `window.RTKQ` instead of overwriting `window.RTK`. Fixed an issue with sourcemap loading due to an incorrect filename replacement. ##### Dependency Updates We've updated our deps to the latest versions: - [**Reselect 4.1.x**](https://github.com/reduxjs/reselect/releases/tag/v4.1.0): Reselect has brand-new customization capabilities for selectors, including configuring cache sizes > 1 and the ability to run equality checks on selector results. It also now has completely rewritten TS types that do a much better job of inferring arguments and catch previously broken patterns. - [**Redux Thunk 2.4.0**](https://github.com/reduxjs/redux-thunk/releases/tag/v2.4.0): The thunk middleware also has improved types, as well as an optional "global override" import to modify the type of `Dispatch` everywhere in the app We've also lowered RTK's peer dependency on React from `^16.14` to `^16.9`, as we just need hooks to be available. ##### Other Redux Development Work The Redux team has also been working on several other updates to the Redux family of libraries. ##### React-Redux v8.0 Beta We've rewritten React-Redux to add compatibility with the upcoming React 18 release and converted its codebase to TypeScript. It still supports React 16.8+/17 via a `/compat` entry point. We'd appreciate further testing from the community so we can confirm it works as expected in real apps before final release. For details on the changes, see: - https://github.com/reduxjs/react-redux/releases/tag/v8.0.0-beta.0 ##### RTK "Action Listener Middleware" Alpha We have been working on [a new "action listener middleware"](https://github.com/reduxjs/redux-toolkit/discussions/1648) that we hope to release in an upcoming version of RTK. It's designed to let users write code that runs in response to dispatched actions and state changes, including simple callbacks and moderately complex async workflows. The current design appears capable of handling many of the use cases that previously required use of the Redux-Saga or Redux-Observable middlewares, but with a smaller bundle size and simpler API. The listener middleware is still in alpha, but we'd really appreciate more users testing it out and giving us additional feedback to help us finalize the API and make sure it covers the right use cases. ##### RTK Query CodeGen The [RTK Query OpenAPI codegen tool](https://redux-toolkit.js.org/rtk-query/usage/code-generation) has been rewritten with new options and improved output. #### What's Changed - fix "isLoading briefly flips back to `true`" [#&#8203;1519](https://github.com/reduxjs/redux-toolkit/issues/1519) by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1520 - feat(createAsyncThunk): async condition by [@&#8203;thorn0](https://github.com/thorn0) in https://github.com/reduxjs/redux-toolkit/pull/1496 - add `arg` to `transformResponse` by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1521 - add `currentData` property to hook results. by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1500 - use `useSerializedStableValue` for value comparison by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1533 - fix(useLazyQuery): added docs for preferCache option by [@&#8203;akashshyamdev](https://github.com/akashshyamdev) in https://github.com/reduxjs/redux-toolkit/pull/1541 - correctly handle console logs in tests by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1567 - add `reset` method to useMutation hook by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1476 - allow for "shared component results" using the `useMutation` hook by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1477 - 🐛 Fix bug with `useMutation` shared results by [@&#8203;Shrugsy](https://github.com/Shrugsy) in https://github.com/reduxjs/redux-toolkit/pull/1616 - pass the ThunkArg to the idGenerator function by [@&#8203;loursbourg](https://github.com/loursbourg) in https://github.com/reduxjs/redux-toolkit/pull/1600 - Support a custom paramsSerializer on fetchBaseQuery by [@&#8203;msutkowski](https://github.com/msutkowski) in https://github.com/reduxjs/redux-toolkit/pull/1594 - SSR & rehydration support, suspense foundations by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1277 - add `endpoint`, `type` and `forced` to `BaseQueryApi` and `prepareHeaders` by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1656 - split off signature without `AsyncThunkConfig` for better inference by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1644 - Update createReducer to accept a lazy state init function by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/1662 - add `selectInvalidatedBy` by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1665 - Update Yarn from 2.4 to 3.1 by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/1688 - allow for circular references by building reducer lazily on first reducer call by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/1686 - Update deps for 1.7 by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/1692 - fetchBaseQuery: return nullon empty body for JSON. Add DevWarnings by [@&#8203;phryneas](https://github.com/phryneas) in [#&#8203;1699](https://github.com/reduxjs/redux-toolkit/issues/1699) - Add unwrap to QueryActionCreatorResult and update LazyQueryTrigger by [@&#8203;msutkowski](https://github.com/msutkowski) in [#&#8203;1701](https://github.com/reduxjs/redux-toolkit/issues/1701) - Only set originalArgs if they're not undefined by [@&#8203;phryneas](https://github.com/phryneas) in [#&#8203;1711](https://github.com/reduxjs/redux-toolkit/issues/1711) - Treat null as a valid plain object prototype in isPlainObject() in order to sync the util across reduxjs/\* repositories by [@&#8203;Ilyklem](https://github.com/Ilyklem) in [#&#8203;1734](https://github.com/reduxjs/redux-toolkit/issues/1734) - export RetryOptions interface from retry.ts by [@&#8203;colemars](https://github.com/colemars) in [#&#8203;1751](https://github.com/reduxjs/redux-toolkit/issues/1751) - fix: api.util.resetApiState should reset useQuery hooks by [@&#8203;phryneas](https://github.com/phryneas) in [#&#8203;1735](https://github.com/reduxjs/redux-toolkit/issues/1735) - fix issue where the global RTK object got overwritten in the UMD files by [@&#8203;Antignote](https://github.com/Antignote) in https://github.com/reduxjs/redux-toolkit/pull/1763 - Update dependencies and selector types by [@&#8203;markerikson](https://github.com/markerikson) in [#&#8203;1772](https://github.com/reduxjs/redux-toolkit/issues/1772) - Fix broken sourcemap output due to bad filename replacement by [@&#8203;markerikson](https://github.com/markerikson) in [#&#8203;1773](https://github.com/reduxjs/redux-toolkit/issues/1773) - Override unwrap behavior for buildInitiateQuery, update tests by [@&#8203;msutkowski](https://github.com/msutkowski) in [#&#8203;1786](https://github.com/reduxjs/redux-toolkit/issues/1786) - Fix incorrect RTKQ endpoint definition types for correct selector typings by [@&#8203;markerikson](https://github.com/markerikson) in [#&#8203;1818](https://github.com/reduxjs/redux-toolkit/issues/1818) - Use originalArgs in transformResponse by [@&#8203;msutkowski](https://github.com/msutkowski) in [#&#8203;1819](https://github.com/reduxjs/redux-toolkit/issues/1819) **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v1.6.2...v1.7.0 </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
kjuulh force-pushed renovate/reduxjs-toolkit-1.x from 890742c9f6 to 7d1a8a5671 2022-10-26 17:45:21 +02:00 Compare
kjuulh changed title from Update dependency @reduxjs/toolkit to v1.8.6 to Update dependency @reduxjs/toolkit to v1.8.6 - autoclosed 2022-10-27 08:34:16 +02:00
kjuulh closed this pull request 2022-10-27 08:34:16 +02:00
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/todo#11
No description provided.