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 upsertQueryEntries util that sometimes kept entries in a pending state indefinitely.

Changelog

upsertQueryEntries fixes

Users reported that in some cases, use of upsertQueryEntries to 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 existing upsertQueryData util, which meant that sometimes the entry would be left in a pending state expecting a fulfilled action from a request ID that would never happen.

This release fixes that issue and ensures the updates and refetches happen correctly.

What's Changed

Full 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 recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading