Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@reduxjs/toolkit](https://redux-toolkit.js.org) ([source](https://redirect.github.com/reduxjs/redux-toolkit)) | [`2.5.0` -> `2.5.1`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/2.5.0/2.5.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>reduxjs/redux-toolkit (@​reduxjs/toolkit)</summary> ### [`v2.5.1`](https://redirect.github.com/reduxjs/redux-toolkit/releases/tag/v2.5.1) [Compare Source](https://redirect.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 [@​markerikson](https://redirect.github.com/markerikson) in [https://github.com/reduxjs/redux-toolkit/pull/4768](https://redirect.github.com/reduxjs/redux-toolkit/pull/4768) **Full Changelog**: reduxjs/redux-toolkit@v2.5.0...v2.5.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4:00am on Tuesday" in timezone America/Toronto, Automerge - "after 9:00am and before 12:00pm on tuesday, wednesday, thursday" in timezone America/Toronto. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDAuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE0MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate-coveo[bot] <115253437+renovate-coveo[bot]@users.noreply.github.com>
- Loading branch information