Skip to content

Commit

Permalink
fix(deps): update dependency @reduxjs/toolkit to v2.5.1 j:kit-282 (#4934
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)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@reduxjs%2ftoolkit/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@reduxjs%2ftoolkit/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@reduxjs%2ftoolkit/2.5.0/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@reduxjs%2ftoolkit/2.5.0/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>reduxjs/redux-toolkit (@&#8203;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
[@&#8203;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
renovate-coveo[bot] authored Feb 4, 2025
1 parent f5d4c12 commit 4c0600a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"@coveo/relay": "1.0.0",
"@coveo/relay-event-types": "13.1.0",
"@microsoft/fetch-event-source": "2.0.1",
"@reduxjs/toolkit": "2.5.0",
"@reduxjs/toolkit": "2.5.1",
"abortcontroller-polyfill": "1.7.8",
"coveo.analytics": "2.30.43",
"dayjs": "1.11.13",
Expand Down

0 comments on commit 4c0600a

Please sign in to comment.