Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @reduxjs/toolkit from 1.9.6 to 1.9.7 in /webapp (microsoft#503)
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.6 to 1.9.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/reduxjs/redux-toolkit/releases"><code>@reduxjs/toolkit</code>'s releases</a>.</em></p> <blockquote> <h2>v1.9.7</h2> <p>This bugfix release rewrites the RTKQ hook TS types to significantly improve TS perf.</p> <h2>Changelog</h2> <h3>RTKQ TS Perf</h3> <p>A number of users had reported that Intellisense for RTKQ API objects was extremely slow (multiple seconds) - see discussion in <a href="https://github.com/reduxjs/redux-toolkit/issues/3214">#3214</a> . 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 <code>useGetPokemonQuery</code>, which was generating a large TS union of types.</p> <p>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).</p> <p>There's more potential work we can do to improve things, but this seems like a major perf improvement worth shipping now.</p> <h2>What's Changed</h2> <ul> <li>chore: Switch 4.9.2-rc to 4.9.5 since 4.9.5 has been released in TypeScript by <a href="https://github.com/kahirokunn"><code>@kahirokunn</code></a> in <a href="https://github.com/reduxjs/redux-toolkit/pull/3772">reduxjs/redux-toolkit#3772</a></li> <li>Copy of "Work around known TS bug with type inference <a href="https://github.com/reduxjs/redux-toolkit/issues/3761">#3761</a>" by <a href="https://github.com/julian-ford"><code>@julian-ford</code></a> in <a href="https://github.com/reduxjs/redux-toolkit/pull/3777">reduxjs/redux-toolkit#3777</a></li> <li>Rework named hooks type (v1.9) by <a href="https://github.com/EskiMojo14"><code>@EskiMojo14</code></a> in <a href="https://github.com/reduxjs/redux-toolkit/pull/3769">reduxjs/redux-toolkit#3769</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.6...v1.9.7">https://github.com/reduxjs/redux-toolkit/compare/v1.9.6...v1.9.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2fe9e737eb9bee6bdc3a116e682f5b350bbebc72"><code>2fe9e73</code></a> Release 1.9.7</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/aaf615a9bb284af58c576c21be6ccf80ebb0608e"><code>aaf615a</code></a> Merge pull request <a href="https://github.com/reduxjs/redux-toolkit/issues/3769">#3769</a> from reduxjs/v1.9-rework-named-hooks</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/49e00b45c14e14efe9f562043385b8ef198600df"><code>49e00b4</code></a> Merge pull request <a href="https://github.com/reduxjs/redux-toolkit/issues/3777">#3777</a> from julian-ford/bugfix/copy-cat-ts-version-compat</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/59b2de7307b2f5575bdc0f87349602275cd88bd3"><code>59b2de7</code></a> Work around known TS bug with type inference</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/cab18077a668e9a2a7865796ed94abbcc4a4d34e"><code>cab1807</code></a> Add phryneas/ts-version</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/ed7ce5e935e24e1b09a2cda7e0746b2e19aa6bd8"><code>ed7ce5e</code></a> Merge pull request <a href="https://github.com/reduxjs/redux-toolkit/issues/3772">#3772</a> from kahirokunn/use-stable</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/6234e63ceaebd836e0b512e35ac2227ef27e59e9"><code>6234e63</code></a> chore: Type testing is now also performed in 5.0, 5.1, and 5.2.</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/ad8d983b094f3d28ef686a99750edd858632fe8d"><code>ad8d983</code></a> Merge pull request <a href="https://github.com/reduxjs/redux-toolkit/issues/3774">#3774</a> from reza-sadeghzadeh/add-headers-to-axios-query</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/55bb5100587f44845fdc45c10b74a19ab727b8ee"><code>55bb510</code></a> docs(rtk-query): add headers argument to base query example using axios</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/79b400991b4ceecbedae0870835b32b23a484dce"><code>79b4009</code></a> chore: Switch 4.9.2-rc to 4.9.5 since 4.9.5 has been released in TypeScript</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.6...v1.9.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@reduxjs/toolkit&package-manager=npm_and_yarn&previous-version=1.9.6&new-version=1.9.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information