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

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

clarin-bot
Copy link
Collaborator

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 a month 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/clarin-eric/project/7e36aabb-988e-4f86-97cd-167d3eb49c71?utm_source=github&utm_medium=referral&page=upgrade-pr
@andmor- andmor- merged commit 4d6389b into master Nov 4, 2024
7 of 9 checks passed
@andmor- andmor- deleted the snyk-upgrade-a8758cee9732ca9bff554d403cd7d9fa branch November 4, 2024 13:02
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.

3 participants