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 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ikvirp
Copy link
Owner

@ikvirp ikvirp commented Nov 1, 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 24 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/280501perovmaxim280501/project/4a72a3ce-7dfa-4866-aa5a-ac1a13492045?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chatapp-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 5:49am

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