Bump @reduxjs/toolkit from 2.5.0 to 2.5.1
Bumps @reduxjs/toolkit from 2.5.0 to 2.5.1.
Release notes
Sourced from @reduxjs/toolkit's releases.
v2.5.1
This bugfix release fixes a logic issue with the new
upsertQueryEntriesutil that sometimes kept entries in apendingstate indefinitely.Changelog
upsertQueryEntriesfixesUsers reported that in some cases, use of
upsertQueryEntriesto insert RTKQ cache entries prevented any further refetches of that data from happening. After investigation, we found a logic mismatch for how we handle upserts vs the existingupsertQueryDatautil, which meant that sometimes the entry would be left in apendingstate expecting afulfilledaction from a request ID that would never happen.This release fixes that issue and ensures the updates and refetches happen correctly.
What's Changed
- Ensure upserted cache entries always get written by
@markeriksonin reduxjs/redux-toolkit#4768Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...v2.5.1
Commits
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts