fix(deps): update all dependencies #362

Merged
kjuulh merged 1 commits from renovate/all into main 2024-10-10 07:05:36 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
@reduxjs/toolkit (source) dependencies patch 2.2.7 -> 2.2.8
typescript (source) devDependencies patch 5.6.2 -> 5.6.3

Release Notes

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.2.8

Compare Source

This bugfix release fixes a long-standing issue with RTK Query lazy query triggers returning stale data in some cases, fixes an error handling issue in RTK Query, and exports additional TS types.

Changelog

Lazy Query Trigger Handling

We'd had a couple long-standing issues reporting that const result = await someLazyQueryTrigger() sometimes returned stale data, especially if a mutation had just invalidated that query's tag.

We finally got a good repro of this issue and identified it as a mis-written call inside of the middleware that skipped past the necessary handling to activate the correct query status tracking in that scenario. This should now be fixed.

Other Changes

Timeout handling in RTKQ endpoints should now correctly throw a timeout-related error instead of an AbortError.

Base queries now have access to the current queryCacheKey value so it can be used in deciding query logic.

We've exported several more TS types related to query options, as some users have been depending on those even though they previously weren't part of the public API.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.7...v2.2.8

microsoft/TypeScript (typescript)

v5.6.3: TypeScript 5.6.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

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 | patch | [`2.2.7` -> `2.2.8`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/2.2.7/2.2.8) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/microsoft/TypeScript)) | devDependencies | patch | [`5.6.2` -> `5.6.3`](https://renovatebot.com/diffs/npm/typescript/5.6.2/5.6.3) | --- ### Release Notes <details> <summary>reduxjs/redux-toolkit (@&#8203;reduxjs/toolkit)</summary> ### [`v2.2.8`](https://github.com/reduxjs/redux-toolkit/releases/tag/v2.2.8) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/v2.2.7...v2.2.8) This **bugfix** release fixes a long-standing issue with RTK Query lazy query triggers returning stale data in some cases, fixes an error handling issue in RTK Query, and exports additional TS types. #### Changelog ##### Lazy Query Trigger Handling We'd had a couple long-standing issues reporting that `const result = await someLazyQueryTrigger()` sometimes returned stale data, especially if a mutation had just invalidated that query's tag. We finally got a good repro of this issue and identified it as a mis-written call inside of the middleware that skipped past the necessary handling to activate the correct query status tracking in that scenario. This should now be fixed. ##### Other Changes Timeout handling in RTKQ endpoints should now correctly throw a timeout-related error instead of an `AbortError`. Base queries now have access to the current `queryCacheKey` value so it can be used in deciding query logic. We've exported several more TS types related to query options, as some users have been depending on those even though they previously weren't part of the public API. #### What's Changed - Export `QueryExtraOptions` and `MutationExtraOptions` by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4556 - Fix `mangleErrors` not preserving different error types by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4586 - Add the `TypedUseQueryStateOptions` helper type by [@&#8203;aryaemami59](https://github.com/aryaemami59) in https://github.com/reduxjs/redux-toolkit/pull/4604 - feat(baseQuery): expose queryCacheKey in baseQuery by [@&#8203;HaakonSvane](https://github.com/HaakonSvane) in https://github.com/reduxjs/redux-toolkit/pull/4636 - Fix `AbortError` being triggered incorrectly on `createApi` endpoint timeout by [@&#8203;andrejpavlovic](https://github.com/andrejpavlovic) in https://github.com/reduxjs/redux-toolkit/pull/4628 - type: export QueryReturnValue by [@&#8203;hornta](https://github.com/hornta) in https://github.com/reduxjs/redux-toolkit/pull/4640 - call `initiate` to refetch queries from middleware by [@&#8203;phryneas](https://github.com/phryneas) in https://github.com/reduxjs/redux-toolkit/pull/4651 **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.2.7...v2.2.8 </details> <details> <summary>microsoft/TypeScript (typescript)</summary> ### [`v5.6.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.6.3): TypeScript 5.6.3 [Compare Source](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.6.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.6.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.6.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.6.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.6.3%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2024-10-08 06:58:22 +02:00
fix(deps): update dependency @reduxjs/toolkit to v2.2.8
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
24911926cd
kjuulh force-pushed renovate/all from 24911926cd to f8b3e046f8 2024-10-09 03:16:37 +02:00 Compare
kjuulh changed title from fix(deps): update dependency @reduxjs/toolkit to v2.2.8 to fix(deps): update all dependencies 2024-10-09 03:16:37 +02:00
kjuulh force-pushed renovate/all from f8b3e046f8 to 3c65adf7d9 2024-10-09 07:10:05 +02:00 Compare
kjuulh force-pushed renovate/all from 3c65adf7d9 to f59f62efce 2024-10-10 03:14:31 +02:00 Compare
kjuulh merged commit f59f62efce into main 2024-10-10 07:05:36 +02:00
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#362
No description provided.