Skip to content

Commit

Permalink
Bump @reduxjs/toolkit from 2.0.1 to 2.1.0 in /webapp (microsoft#798)
Browse files Browse the repository at this point in the history
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from
2.0.1 to 2.1.0.
<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>v2.1.0</h2>
<p>This <em>minor release</em>:</p>
<ul>
<li>adds withTypes methods to <code>listenerMiddleware</code> and
<code>createDraftSafeSelector</code></li>
<li>adds a <code>skipPollingIfUnfocused</code> option to RTK Query</li>
<li>adds the ability to customise the <code>createSelector</code>
instance used by RTK Query</li>
<li>reworks slice selector logic to avoid depending on <code>this</code>
value</li>
<li>fixes the order and inference of <code>create.asyncThunk</code> type
parameters</li>
<li>fixes requirements for meta fields returned from
<code>queryFn</code>s</li>
<li>marks promises that will never reject as safe, in preparation for <a
href="https://github.com/typescript-eslint/typescript-eslint/issues/7008">typescript-eslint/typescript-eslint#7008</a></li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Update docs to avoid circular type by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3948">reduxjs/redux-toolkit#3948</a></li>
<li>Copy &quot;Migrating to Modern Redux&quot; and &quot;RTK is
Redux&quot; docs from core site by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/3956">reduxjs/redux-toolkit#3956</a></li>
<li>Fix store path rtk-query pokemon api tutorial by <a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li>tweak RTKQ without hooks section, and add note regarding memoization
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3963">reduxjs/redux-toolkit#3963</a></li>
<li>Add section regarding overriding deps by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3968">reduxjs/redux-toolkit#3968</a></li>
<li>Add section re: RR custom context typing change by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3995">reduxjs/redux-toolkit#3995</a></li>
<li>Add Expo demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/3985">reduxjs/redux-toolkit#3985</a></li>
<li>docs: fix a typo in queries markdown file by <a
href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li>Preserve nullable store state type by avoiding intersection with {}
by <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4011">reduxjs/redux-toolkit#4011</a></li>
<li>Upgrade version of &quot;graphql-request&quot; by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4026">reduxjs/redux-toolkit#4026</a></li>
<li>[graphql-request-base-query] update RTK peerDependency by <a
href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4027">reduxjs/redux-toolkit#4027</a></li>
<li>fix: improve selectFromResult memoization by <a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
<li>Rename &quot;createSliceWithThunks&quot; and
&quot;createThunkSlice&quot; to &quot;createAppSlice&quot; by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4035">reduxjs/redux-toolkit#4035</a></li>
<li>Bump Vitest to latest version by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4047">reduxjs/redux-toolkit#4047</a></li>
<li>fix inference and order of async thunk generics by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4061">reduxjs/redux-toolkit#4061</a></li>
<li>Fix markdown links on Next.js page by <a
href="https://github.com/DmitryScaletta"><code>@​DmitryScaletta</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4069">reduxjs/redux-toolkit#4069</a></li>
<li>Introduce pre-typed listener middleware via
<code>listenerMiddleware.withTypes&lt;RootState,
AppDispatch&gt;()</code> method by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4049">reduxjs/redux-toolkit#4049</a></li>
<li>Add <code>.withTypes</code> to <code>createDraftSafeSelector</code>
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4080">reduxjs/redux-toolkit#4080</a></li>
<li>Task/remove all settled by <a
href="https://github.com/bever1337"><code>@​bever1337</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3917">reduxjs/redux-toolkit#3917</a></li>
<li>Allow customising createSelector instance used by RTKQ by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4048">reduxjs/redux-toolkit#4048</a></li>
<li>cacheLifecycle fix for fixedCacheKey in mutationThunk by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4082">reduxjs/redux-toolkit#4082</a></li>
<li>avoid relying on <code>this</code> in createSlice by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4071">reduxjs/redux-toolkit#4071</a></li>
<li>documentation: fix grammar in redux and redux toolkit comparison by
<a href="https://github.com/untilhamza"><code>@​untilhamza</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4086">reduxjs/redux-toolkit#4086</a></li>
<li>Update <code>tsconfig.typetests.json</code> to include all TS files
by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4091">reduxjs/redux-toolkit#4091</a></li>
<li>Remove abort event listner for AbortController by <a
href="https://github.com/Fonger"><code>@​Fonger</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3951">reduxjs/redux-toolkit#3951</a></li>
<li>Docs: unused value 'isRejected' in code snippet by <a
href="https://github.com/alphonsotran"><code>@​alphonsotran</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3301">reduxjs/redux-toolkit#3301</a></li>
<li>fix/kitchen-sink-isAuthenticated: fixed isAuthenticated state change
on login fullfilled by <a
href="https://github.com/shrijan00003"><code>@​shrijan00003</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3588">reduxjs/redux-toolkit#3588</a></li>
<li>Fix <code>composeWithDevTools</code> spy by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4093">reduxjs/redux-toolkit#4093</a></li>
<li>require queryFn meta to match base query by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4098">reduxjs/redux-toolkit#4098</a></li>
<li>Added 'SafePromise' branded Promises for createAsyncThunk by <a
href="https://github.com/JoshuaKGoldberg"><code>@​JoshuaKGoldberg</code></a>
in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4102">reduxjs/redux-toolkit#4102</a></li>
<li>Add React Native demo app to CI workflow by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/3984">reduxjs/redux-toolkit#3984</a></li>
<li>Modernize unit test setup by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4114">reduxjs/redux-toolkit#4114</a></li>
<li>Add missing reducer field to ConfigureStoreOptions docs by <a
href="https://github.com/nickgirardo"><code>@​nickgirardo</code></a> in
<a
href="https://github.com/reduxjs/redux-toolkit/pull/4116">reduxjs/redux-toolkit#4116</a></li>
<li>Option for queries to pause polling when unfocused by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4055">reduxjs/redux-toolkit#4055</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/suspiciousRaccoon"><code>@​suspiciousRaccoon</code></a>
made their first contribution in <a
href="https://github.com/reduxjs/redux-toolkit/pull/3611">reduxjs/redux-toolkit#3611</a></li>
<li><a href="https://github.com/fatihgnc"><code>@​fatihgnc</code></a>
made their first contribution in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4013">reduxjs/redux-toolkit#4013</a></li>
<li><a
href="https://github.com/thisjeremiah"><code>@​thisjeremiah</code></a>
made their first contribution in <a
href="https://github.com/reduxjs/redux-toolkit/pull/4029">reduxjs/redux-toolkit#4029</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f5b07fee734bb75288c64e1a4b8c14d005fa22a4"><code>f5b07fe</code></a>
bump RTK to 2.1.0</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/bb28db36835df7128cddb1baff23cd9ccabddd69"><code>bb28db3</code></a>
Merge pull request <a
href="https://github.com/reduxjs/redux-toolkit/issues/4055">#4055</a>
from riqts/Pause-Polling-When-Unfocused</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/8cbf2a1c9fbe50037a00f376a2cd274b83f3b27f"><code>8cbf2a1</code></a>
skipPollOnFocused lost to skipPollingIfUnfocused and yarn format</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/4ae5a9bbdfe4e7f941b6b156ad07f130eca52269"><code>4ae5a9b</code></a>
Polling skipPollOnFocusLost behavior changed to skip if any subscription
has ...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e676ee8d28c1929e5963558c9740491d5e0de3cf"><code>e676ee8</code></a>
Removed redundant createListenerMiddleware from tests</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/b9d37c3d56157b9b99daaff4fae3ce4e59c54491"><code>b9d37c3</code></a>
changed polling test name to represent actual behaviour</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65b448f9099a378d3db9ba48fb000b0fa2cc8647"><code>65b448f</code></a>
Update skipPollOnFocusLost to use listenerMiddleware</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/823c3b70b907a6ee5e2e2676011960cca641c6e6"><code>823c3b7</code></a>
Format skipPollOnFocusLost test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65a6ae32a21223527a81bff8b46bbdadd4e3fe20"><code>65a6ae3</code></a>
Added mockClear() to mockBaseQuery in failing test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/e7fce612d6f0be73ebc08862dc7905ec794b6d5b"><code>e7fce61</code></a>
Add tests for 'skipPollOnFocusLost' option</li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.0.1...v2.1.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~phryneas">phryneas</a>, a new releaser for
<code>@​reduxjs/toolkit</code> since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@reduxjs/toolkit&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.1.0)](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
dependabot[bot] authored Feb 12, 2024
1 parent 6887500 commit e6dd3f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@fluentui/react-northstar": "^0.66.4",
"@microsoft/signalr": "^8.0.0",
"@playwright/test": "^1.41.2",
"@reduxjs/toolkit": "^2.0.1",
"@reduxjs/toolkit": "^2.1.0",
"debug": "^4.3.4",
"microsoft-cognitiveservices-speech-sdk": "^1.35.0",
"react": "^18.2.0",
Expand Down
18 changes: 9 additions & 9 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2735,13 +2735,13 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.4.4.tgz#11d5db19bd178936ec89cd84519c4de439574398"
integrity sha512-1oO6+dN5kdIA3sKPZhRGJTfGVP4SWV6KqlMOwry4J3HfyD68sl/3KmG7DeYUzvN+RbhXDnv/D8vNNB8168tAMg==

"@reduxjs/toolkit@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.0.1.tgz#0a5233c1e35c1941b03aece39cceade3467a1062"
integrity sha512-fxIjrR9934cmS8YXIGd9e7s1XRsEU++aFc9DVNMFMRTM5Vtsg2DCRMj21eslGtDt43IUf9bJL3h5bwUlZleibA==
"@reduxjs/toolkit@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.1.0.tgz#b613226669557080d5d683f3dbbd95462f94b965"
integrity sha512-nfJ/b4ZhzUevQ1ZPKjlDL6CMYxO4o7ZL7OSsvSOxzT/EN11LsBDgTqP7aedHtBrFSVoK7oTP1SbMWUwGb30NLg==
dependencies:
immer "^10.0.3"
redux "^5.0.0"
redux "^5.0.1"
redux-thunk "^3.1.0"
reselect "^5.0.1"

Expand Down Expand Up @@ -9691,10 +9691,10 @@ redux-thunk@^3.1.0:
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-3.1.0.tgz#94aa6e04977c30e14e892eae84978c1af6058ff3"
integrity sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==

redux@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/redux/-/redux-5.0.0.tgz#29572e29a439e094ff8fec46883fc45053f6736d"
integrity sha512-blLIYmYetpZMET6Q6uCY7Jtl/Im5OBldy+vNPauA8vvsdqyt66oep4EUpAMWNHauTC6xa9JuRPhRB72rY82QGA==
redux@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/redux/-/redux-5.0.1.tgz#97fa26881ce5746500125585d5642c77b6e9447b"
integrity sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==

regenerate-unicode-properties@^10.1.0:
version "10.1.0"
Expand Down

0 comments on commit e6dd3f8

Please sign in to comment.