Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @reduxjs/toolkit to ^2.2.2 #5157

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 26, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@reduxjs/toolkit (source) ^2.2.1 -> ^2.2.2 age adoption passing confidence

Release Notes

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

v2.2.2

Compare Source

This patch release fixes an incorrect build setting for the legacy-esm artifacts, and fixes an issue with RTKQ query hooks didn't always remove the cache entries if arguments were changed rapidly.

Changes

legacy-esm Artifact Transpilation

The legacy-esm build artifacts are intended for use by Webpack 4. Those were supposed to be transpiled to target "es2017", but were in fact still set to target "esnext" - an oversight during the 2.0 development cycle. This release fixes that setting, so those artifacts are now correctly transpiled.

Other Fixes

RTKQ query hooks now handle additional actions around argument changes that should result in cache entries being removed.

Additionally, 2.2.1 contained a fix to an incorrectly named type: TypedUseMutationTrigger is now TypedMutationTrigger.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.2.0...v2.2.2


Configuration

📅 Schedule: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles.

🚦 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 Mend Renovate. View repository job log here.

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.77%. Comparing base (7eca572) to head (eb48595).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5157   +/-   ##
=======================================
  Coverage   85.76%   85.77%           
=======================================
  Files         740      740           
  Lines       30029    30029           
  Branches     5180     5180           
=======================================
+ Hits        25755    25757    +2     
+ Misses       4038     4036    -2     
  Partials      236      236           

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7eca572...eb48595. Read the comment docs.

@renovate renovate bot force-pushed the renovate/reduxjs-toolkit-2.x branch from 47c21b9 to eb48595 Compare March 26, 2024 03:52
@renovate renovate bot added this pull request to the merge queue Mar 26, 2024
Merged via the queue into main with commit 9a16795 Mar 26, 2024
17 checks passed
@renovate renovate bot deleted the renovate/reduxjs-toolkit-2.x branch March 26, 2024 04:42
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@reduxjs/toolkit](https://redux-toolkit.js.org)
([source](https://togithub.com/reduxjs/redux-toolkit)) | [`^2.2.1` ->
`^2.2.2`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/2.2.1/2.2.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@reduxjs%2ftoolkit/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@reduxjs%2ftoolkit/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@reduxjs%2ftoolkit/2.2.1/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@reduxjs%2ftoolkit/2.2.1/2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>reduxjs/redux-toolkit (@&#8203;reduxjs/toolkit)</summary>

###
[`v2.2.2`](https://togithub.com/reduxjs/redux-toolkit/releases/tag/v2.2.2)

[Compare
Source](https://togithub.com/reduxjs/redux-toolkit/compare/v2.2.1...v2.2.2)

This patch release fixes an incorrect build setting for the `legacy-esm`
artifacts, and fixes an issue with RTKQ query hooks didn't always remove
the cache entries if arguments were changed rapidly.

#### Changes

##### `legacy-esm` Artifact Transpilation

The `legacy-esm` build artifacts are intended for use by Webpack 4.
Those were *supposed* to be transpiled to target `"es2017"`, but were in
fact still set to target `"esnext"` - an oversight during the 2.0
development cycle. This release fixes that setting, so those artifacts
are now correctly transpiled.

##### Other Fixes

RTKQ query hooks now handle additional actions around argument changes
that should result in cache entries being removed.

Additionally, 2.2.1 contained a fix to an incorrectly named type:
`TypedUseMutationTrigger` is now `TypedMutationTrigger`.

#### What's Changed

- rename TypedUseMutationTrigger to TypedMutationTrigger, and add
deprecated alias by
[@&#8203;EskiMojo14](https://togithub.com/EskiMojo14) in
[reduxjs/redux-toolkit#4204
- Fixed memory leak in rapid hook arg changing by
[@&#8203;riqts](https://togithub.com/riqts) in
[reduxjs/redux-toolkit#4268
- Fix incorrect legacy-esm target by
[@&#8203;markerikson](https://togithub.com/markerikson) in
[reduxjs/redux-toolkit#4284

**Full Changelog**:
reduxjs/redux-toolkit@v2.2.0...v2.2.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants