Skip to content

Commit

Permalink
Bump @reduxjs/toolkit from 2.1.0 to 2.2.1 in /webapp (microsoft#812)
Browse files Browse the repository at this point in the history
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from
2.1.0 to 2.2.1.
<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.2.0</h2>
<p>This <em>minor release</em>:</p>
<ul>
<li>Adds a second parameter to
<code>entityAdapter.getInitialState(additionalProps, entities)</code> to
allow prefilling state
<ul>
<li>Equivalent to
<code>entityAdapter.setAll(entityAdapter.getInitialState(additionalProps),
entities)</code></li>
<li>First parameter can be <code>undefined</code> if no additional
properties are desired</li>
</ul>
</li>
<li>Allows initialising <code>combineSlices</code> with no static
reducers
<ul>
<li>Previously <code>const combinedReducer =
combineSlices().withLazyLoadedSlices&lt;LazyLoadedSlices&gt;()</code>
would have thrown an error</li>
<li>Now returns a &quot;no-op&quot; reducer that just returns an empty
object until first reducer injected</li>
</ul>
</li>
<li>Allows a new <code>'throw'</code> value for
<code>overrideExisting</code> in <code>injectEndpoints</code>, which
throws an error if a definition is injected with a name which is already
used</li>
<li>Exports more type helpers for RTKQ hook and trigger types</li>
<li>Exports types related to overriding result types in
<code>enhanceEndpoints</code></li>
<li>Fixes state inference for injected slices when undeclared (i.e. not
in <code>LazyLoadedSlices</code>)</li>
<li>Adds a <code>action.meta.arg.isPrefetch</code> value to query thunk
actions when prefetched</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Revamp type tests setup by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4095">reduxjs/redux-toolkit#4095</a></li>
<li>Bump Prettier and Prettier related packages by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4126">reduxjs/redux-toolkit#4126</a></li>
<li>Fix codemods to work with TypeScript 4.7+ by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4081">reduxjs/redux-toolkit#4081</a></li>
<li>Export types related to overriding the result types by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4134">reduxjs/redux-toolkit#4134</a></li>
<li>Migrate type tests to Vitest by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4127">reduxjs/redux-toolkit#4127</a></li>
<li>Fix RetryOptions type test by flipping order by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4136">reduxjs/redux-toolkit#4136</a></li>
<li>Format all files by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4135">reduxjs/redux-toolkit#4135</a></li>
<li>[Docs/Website] skipPollingIfUnfocused added to polling overview and
query options by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4131">reduxjs/redux-toolkit#4131</a></li>
<li>[Docs] Changed create.asyncThunk setup admonition to caution by <a
href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4150">reduxjs/redux-toolkit#4150</a></li>
<li>Temporarily revert node-fetch bump until ESM issues are sorted by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4151">reduxjs/redux-toolkit#4151</a></li>
<li>Contributing Markdown Refresh by <a
href="https://github.com/itz-Me-Pj"><code>@​itz-Me-Pj</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4139">reduxjs/redux-toolkit#4139</a></li>
<li>investigate re-adding size limit action by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4083">reduxjs/redux-toolkit#4083</a></li>
<li>Add size limit imports for more commonly used RTK exports by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4155">reduxjs/redux-toolkit#4155</a></li>
<li>pure some things by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4157">reduxjs/redux-toolkit#4157</a></li>
<li>cut back on suffixes tested for size by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4160">reduxjs/redux-toolkit#4160</a></li>
<li>Incorrect builder method referenced by <a
href="https://github.com/kantbtrue"><code>@​kantbtrue</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4161">reduxjs/redux-toolkit#4161</a></li>
<li>Rename <code>cli.js</code> to <code>cli.mjs</code> by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4169">reduxjs/redux-toolkit#4169</a></li>
<li>Migrate Codegen OpenAPI's unit tests to Vitest by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4137">reduxjs/redux-toolkit#4137</a></li>
<li>Fix wrong state for injected slices when not declared via
<code>withLazyLoadedSlices</code> by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4172">reduxjs/redux-toolkit#4172</a></li>
<li>[Docs, createEntityAdapter API]: add missing setOne and setMany
signature by <a
href="https://github.com/kyselberg"><code>@​kyselberg</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4173">reduxjs/redux-toolkit#4173</a></li>
<li>Corrected the &quot;Observing cache behaviour&quot; example point
no.4 by <a
href="https://github.com/721-atikshaikh"><code>@​721-atikshaikh</code></a>
in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4174">reduxjs/redux-toolkit#4174</a></li>
<li>feat: add isPrefetch property in query action by <a
href="https://github.com/juliengbt"><code>@​juliengbt</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4177">reduxjs/redux-toolkit#4177</a></li>
<li>allow initialising combined slice reducer with no static slices by
<a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4184">reduxjs/redux-toolkit#4184</a></li>
<li>Create more Typed wrappers for RTKQ hook types by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4147">reduxjs/redux-toolkit#4147</a></li>
<li>proposal fix for axios base query types by <a
href="https://github.com/smff"><code>@​smff</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4186">reduxjs/redux-toolkit#4186</a></li>
<li>Provide 'throw' option for <code>overrideExisting</code> by <a
href="https://github.com/ffluk3"><code>@​ffluk3</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4189">reduxjs/redux-toolkit#4189</a></li>
<li>Use vite-tsconfig-paths to make path aliasing easier by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4175">reduxjs/redux-toolkit#4175</a></li>
<li>Remove trailing commas in <code>tsconfig.json</code> files of all
CodesandBox examples by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4190">reduxjs/redux-toolkit#4190</a></li>
<li>[Docs] Added withTypes documentation in createDraftSafeSelector by
<a href="https://github.com/riqts"><code>@​riqts</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4143">reduxjs/redux-toolkit#4143</a></li>
<li>Add second parameter to getInitialState to prefill entities by <a
href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a> in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4183">reduxjs/redux-toolkit#4183</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/itz-Me-Pj"><code>@​itz-Me-Pj</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4139">reduxjs/redux-toolkit#4139</a></li>
<li><a href="https://github.com/kantbtrue"><code>@​kantbtrue</code></a>
made their first contribution in <a
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4161">reduxjs/redux-toolkit#4161</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/20df6f08472150ee874632197669320f3118c9be"><code>20df6f0</code></a>
2.2.1</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/6f2d782bec482b7e5f480162529b806befd30068"><code>6f2d782</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4204">#4204</a>
from reduxjs/typed-use-mutation-trigger</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/a131b32729a4c42e13bc5c86e7d0c833c00cc356"><code>a131b32</code></a>
fix imports and exports</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/9a4cdaa6a127eb357d4fb000c2611fb6505d1045"><code>9a4cdaa</code></a>
remove alias</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/65d5a64e76c26a9b9c4976847da6da11ab43f4dc"><code>65d5a64</code></a>
rename TypedUseMutationTrigger to TypedMutationTrigger, and add
deprecated alias</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/d712ab34152f011a3859babc3f724f4c74bb325d"><code>d712ab3</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4202">#4202</a>
from aryaemami59/bump-prettier</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/a181a5c167a9a15b6ccdb8bb117e47bf279239a0"><code>a181a5c</code></a>
Format all files</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/0213df57e003dd0d148f3f5c95758b147ee506aa"><code>0213df5</code></a>
Remove <code>overrides</code> field in
<code>.prettierrc.json</code></li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f8683a603161fd3db9597b1f7e7aa7a8b3eb3acc"><code>f8683a6</code></a>
Bump prettier for all packages</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/34c3b5f207e385c46441058e23d266202dec6283"><code>34c3b5f</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4191">#4191</a>
from reduxjs/update-entityadapter-docs</li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v2.1.0...v2.2.1">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=2.1.0&new-version=2.2.1)](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 26, 2024
1 parent dcea4c9 commit 6150ed0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.1.0",
"@reduxjs/toolkit": "^2.2.1",
"debug": "^4.3.4",
"microsoft-cognitiveservices-speech-sdk": "^1.35.0",
"react": "^18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2735,10 +2735,10 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.4.4.tgz#11d5db19bd178936ec89cd84519c4de439574398"
integrity sha512-1oO6+dN5kdIA3sKPZhRGJTfGVP4SWV6KqlMOwry4J3HfyD68sl/3KmG7DeYUzvN+RbhXDnv/D8vNNB8168tAMg==

"@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==
"@reduxjs/toolkit@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-2.2.1.tgz#3dce4906fb33da9e0122468ef21438dd7f2277a9"
integrity sha512-8CREoqJovQW/5I4yvvijm/emUiCCmcs4Ev4XPWd4mizSO+dD3g5G6w34QK5AGeNrSH7qM8Fl66j4vuV7dpOdkw==
dependencies:
immer "^10.0.3"
redux "^5.0.1"
Expand Down

0 comments on commit 6150ed0

Please sign in to comment.