Skip to content

Commit

Permalink
fix(deps): update dependency @reduxjs/toolkit to ^1.9.7 (#4290)
Browse files Browse the repository at this point in the history
[![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)) | [`^1.9.6` ->
`^1.9.7`](https://renovatebot.com/diffs/npm/@reduxjs%2ftoolkit/1.9.6/1.9.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@reduxjs%2ftoolkit/1.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@reduxjs%2ftoolkit/1.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@reduxjs%2ftoolkit/1.9.6/1.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@reduxjs%2ftoolkit/1.9.6/1.9.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/reduxjs/redux-toolkit/compare/v1.9.6...v1.9.7)

This bugfix release rewrites the RTKQ hook TS types to significantly
improve TS perf.

#### Changelog

##### RTKQ TS Perf

A number of users had reported that Intellisense for RTKQ API objects
was extremely slow (multiple seconds) - see discussion in
[#&#8203;3214](https://togithub.com/reduxjs/redux-toolkit/issues/3214) .
We did some perf investigation on user-provided examples, and concluded
that the biggest factor to slow RTKQ TS perf was the calculation of hook
names like `useGetPokemonQuery`, which was generating a large TS union
of types.

We've rewritten that hook names type calculation to use mapped types and
a couple of intersections. In a specific user-provided stress test repo,
it dropped TS calculation time by 60% (2600ms to 1000ms).

There's more potential work we can do to improve things, but this seems
like a major perf improvement worth shipping now.

#### What's Changed

- chore: Switch 4.9.2-rc to 4.9.5 since 4.9.5 has been released in
TypeScript by [@&#8203;kahirokunn](https://togithub.com/kahirokunn) in
[https://github.com/reduxjs/redux-toolkit/pull/3772](https://togithub.com/reduxjs/redux-toolkit/pull/3772)
- Copy of "Work around known TS bug with type inference
[#&#8203;3761](https://togithub.com/reduxjs/redux-toolkit/issues/3761)"
by [@&#8203;julian-ford](https://togithub.com/julian-ford) in
[https://github.com/reduxjs/redux-toolkit/pull/3777](https://togithub.com/reduxjs/redux-toolkit/pull/3777)
- Rework named hooks type (v1.9) by
[@&#8203;EskiMojo14](https://togithub.com/EskiMojo14) in
[https://github.com/reduxjs/redux-toolkit/pull/3769](https://togithub.com/reduxjs/redux-toolkit/pull/3769)

**Full Changelog**:
reduxjs/redux-toolkit@v1.9.6...v1.9.7

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 11, 2023
1 parent 9c45e04 commit 74c9546
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"@react-navigation/material-top-tabs": "^5.3.19",
"@react-navigation/native": "^6.1.8",
"@react-navigation/native-stack": "^6.9.14",
"@reduxjs/toolkit": "^1.9.6",
"@reduxjs/toolkit": "^1.9.7",
"@segment/analytics-react-native": "^2.15.0",
"@segment/analytics-react-native-plugin-adjust": "^0.6.2",
"@segment/analytics-react-native-plugin-clevertap": "^1.0.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2929,10 +2929,10 @@
resolved "https://registry.yarnpkg.com/@redux-saga/types/-/types-1.2.1.tgz#9403f51c17cae37edf870c6bc0c81c1ece5ccef8"
integrity sha512-1dgmkh+3so0+LlBWRhGA33ua4MYr7tUOj+a9Si28vUi0IUFNbff1T3sgpeDJI/LaC75bBYnQ0A3wXjn0OrRNBA==

"@reduxjs/toolkit@^1.9.6":
version "1.9.6"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.9.6.tgz#fc968b45fe5b17ff90932c4556960d9c1078365a"
integrity sha512-Gc4ikl90ORF4viIdAkY06JNUnODjKfGxZRwATM30EdHq8hLSVoSrwXne5dd739yenP5bJxAX7tLuOWK5RPGtrw==
"@reduxjs/toolkit@^1.9.7":
version "1.9.7"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.9.7.tgz#7fc07c0b0ebec52043f8cb43510cf346405f78a6"
integrity sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==
dependencies:
immer "^9.0.21"
redux "^4.2.1"
Expand Down

0 comments on commit 74c9546

Please sign in to comment.