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

deps: bump @reduxjs/toolkit from 2.2.7 to 2.2.8 in the redux group across 1 directory #3071

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Bumps the redux group with 1 update in the / directory: @reduxjs/toolkit.

Updates @reduxjs/toolkit from 2.2.7 to 2.2.8

Release notes

Sourced from @​reduxjs/toolkit's releases.

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

Full Changelog: reduxjs/redux-toolkit@v2.2.7...v2.2.8

Commits
  • e7540a5 Release 2.2.8
  • 2885f69 Merge pull request #4651 from reduxjs/pr/fix-4650
  • 4788d51 Add test for lazy query trigger fix
  • a59476e call initiate to refetch queries from middleware
  • 8178e7f Merge pull request #4640 from hornta/export-query-return-value
  • eb11019 Merge pull request #4628 from andrejpavlovic/fix/timeout-on-createApi-endpoin...
  • f009cc9 Merge pull request #4636 from HaakonSvane/add-queryCacheKey-to-baseQuery-api
  • c8f3739 Merge pull request #4604 from aryaemami59/export-UseQueryStateOptions
  • 551ad03 type: export QueryReturnValue
  • e569971 Add example for TypedUseQueryStateOptions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 14, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-e078fef7f5 branch from 56cc4c1 to 46f69e2 Compare October 14, 2024 17:01
Bumps the redux group with 1 update in the / directory: [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit).


Updates `@reduxjs/toolkit` from 2.2.7 to 2.2.8
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: redux
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/redux-e078fef7f5 branch from 46f69e2 to 760b36b Compare October 14, 2024 17:04
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 17, 2024

Superseded by #3077.

@dependabot dependabot bot closed this Oct 17, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/redux-e078fef7f5 branch October 17, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants