Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @reduxjs/toolkit from 2.2.7 to 2.2.8 #9

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

zntb
Copy link
Owner

@zntb zntb commented Nov 2, 2024

snyk-top-banner

Snyk has created this PR to upgrade @reduxjs/toolkit from 2.2.7 to 2.2.8.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released on 25 days ago.

Release notes
Package name: @reduxjs/toolkit
  • 2.2.8 - 2024-10-08

    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: v2.2.7...v2.2.8

  • 2.2.7 - 2024-07-27
from @reduxjs/toolkit GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @reduxjs/toolkit from 2.2.7 to 2.2.8.

See this package in npm:
@reduxjs/toolkit

See this project in Snyk:
https://app.snyk.io/org/zntb/project/04da683c-813e-47da-91be-70365217dec3?utm_source=github&utm_medium=referral&page=upgrade-pr
@zntb zntb merged commit 706e0c9 into main Nov 2, 2024
1 check passed
@zntb zntb deleted the snyk-upgrade-aef4cfb344ea2e618a25be50d596c4fe branch November 2, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants