Update dependency @reduxjs/toolkit to v2.5.1 #436

Merged
kjuulh merged 1 commits from renovate/all into main 2025-01-27 03:19:22 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
@reduxjs/toolkit (source) dependencies patch 2.5.0 -> 2.5.1

Release Notes

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.5.1

Compare Source

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://github.com/reduxjs/redux-toolkit)) | dependencies | patch | [`2.5.0` -> `2.5.1`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/2.5.0/2.5.1) | --- ### Release Notes <details> <summary>reduxjs/redux-toolkit (@&#8203;reduxjs/toolkit)</summary> ### [`v2.5.1`](https://github.com/reduxjs/redux-toolkit/releases/tag/v2.5.1) [Compare Source](https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...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 - Ensure upserted cache entries always get written by [@&#8203;markerikson](https://github.com/markerikson) in https://github.com/reduxjs/redux-toolkit/pull/4768 **Full Changelog**: https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...v2.5.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2025-01-27 03:19:12 +01:00
Update dependency @reduxjs/toolkit to v2.5.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
1ac6673c53
kjuulh scheduled this pull request to auto merge when all checks succeed 2025-01-27 03:19:13 +01:00
kjuulh merged commit 1ac6673c53 into main 2025-01-27 03:19:22 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/vidow#436
No description provided.