This repository was archived by the owner on Jan 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit e8458a8
authored
build(deps): Bump @reduxjs/toolkit from 1.8.6 to 1.9.2 in /api-editor/gui (#1228)
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from
1.8.6 to 1.9.2.
<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.2</h2>
<p>This bugfix release fixes a memory leak in
<code>createListenerMiddleware</code>, optimizes performance inside
<code>serializableMiddleware</code>, adds new options for
<code>fetchBaseQuery</code>, adds support for path <code>RegExp</code>
exclusions in <code>serializableMiddleware</code> and
<code>immutabilityMiddleware</code>, and improves some TS types.</p>
<h2>Changelog</h2>
<h3>Bug Fixes</h3>
<p><code>createListenerMiddleware</code> had a memory leak that turned
out to be <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/3020">due
to use of <code>Promise.race()</code></a>. We've restructured the logic
to fix that.</p>
<p><code>fetchBaseQuery</code> now correctly combines global options
with endpoint / default options in all cases.</p>
<h3>New Options</h3>
<p><code>fetchBaseQuery</code> now supports a <code>jsonReplacer</code>
option that will be used when processing JSON.</p>
<p>Both dev check middleware now support regular expressions in the
<code>ignoredPaths</code> array in addition to strings. This adds extra
flexibility in skipping certain fields.</p>
<h3>TS Changes</h3>
<p>The <code>CaseReducer</code> type was sometimes incorrectly inferring
its return type in rare cases. That's been fixed.</p>
<p>The <code>isAnyOf/isAllOf</code> matcher function TS types have been
tweaked to not require an individual first parameter. This allows
spreading arrays of matchers as arguments, like <code>const isLoading =
isAnyOf(...interestingPendingThunksArray)</code>.</p>
<h3>Other Changes</h3>
<p>The <code>serializableMiddleware</code> now uses a
<code>WeakSet</code> if available to cache values it's seen. This should
significantly speed up checks against large state values in development
builds.</p>
<h2>What's Changed</h2>
<ul>
<li>fix CaseReducer to infer from argument, not return value by <a
href="https://github.com/phryneas"><code>@phryneas</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3054">reduxjs/redux-toolkit#3054</a></li>
<li>fetchBaseQuery | Add jsonReplacer param by <a
href="https://github.com/tophep"><code>@tophep</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/2904">reduxjs/redux-toolkit#2904</a></li>
<li>Support RegExp in ignoredPaths/ignoredActionPaths by <a
href="https://github.com/markerikson"><code>@markerikson</code></a> in
<a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3129">reduxjs/redux-toolkit#3129</a></li>
<li>fix(types): export <code>ThunkWithReturnValue</code> interface by <a
href="https://github.com/giomogna"><code>@giomogna</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3108">reduxjs/redux-toolkit#3108</a></li>
<li>remove unnecessary fetchBaseQuery defaults by <a
href="https://github.com/phryneas"><code>@phryneas</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3062">reduxjs/redux-toolkit#3062</a></li>
<li>make isAnyOf friendly for mapped matchers, but making argument
optional by <a
href="https://github.com/megagon"><code>@megagon</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3123">reduxjs/redux-toolkit#3123</a></li>
<li><code>raceWithSignal</code> method instead of
<code>Promise.race</code> by <a
href="https://github.com/phryneas"><code>@phryneas</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3021">reduxjs/redux-toolkit#3021</a></li>
<li>Fix lint problems and enable linting on CI by <a
href="https://github.com/thorn0"><code>@thorn0</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/2992">reduxjs/redux-toolkit#2992</a></li>
<li>Add caching to serializableStateInvariantMiddleware by <a
href="https://github.com/GeorchW"><code>@GeorchW</code></a> in <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/3115">reduxjs/redux-toolkit#3115</a></li>
<li>Allow TS isolatedModules flag to be set for safer transpilation by
<a href="https://github.com/matmannion"><code>@matmannion</code></a> in
<a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/pull/2911">reduxjs/redux-toolkit#2911</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.1...v1.9.2">https://github.com/reduxjs/redux-toolkit/compare/v1.9.1...v1.9.2</a></p>
<h2>v1.9.1</h2>
<p>This bugfix release fixes assorted issues that were reported with RTK
1.9.0, and adds a few additional requested tweaks and improvements.</p>
<h2>Changelog</h2>
<h3>Fixes</h3>
<p>The <code>createAsyncThunk.withTypes</code> function was fully broken
(it type-checked correctly, but pointed to the wrong function due to a
name shadowing issue). That now works correctly.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/034b086ba798e80fca5c0e147a5612df21a801e3"><code>034b086</code></a>
Release 1.9.2</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/a72bee9be4cf5bded0a04bdcc576c46f9dbd4967"><code>a72bee9</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/2911">#2911</a>
from matmannion/isolated-modules</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/67a69e876812282ad7fe5590d173a88bd7b80282"><code>67a69e8</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/3115">#3115</a>
from GeorchW/serializable-state-invariant-middleware...</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/bcd0615bc0e1545ec7873a523c6f367fd71380a8"><code>bcd0615</code></a>
Simplify test</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f9049cca5cc9e9c938f4d4fb3d4ca7b6a5f56992"><code>f9049cc</code></a>
Add caching to serializableStateInvariantMiddleware</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f5f8bc22db2f6c370d65c01ec7e26eae7beea3d5"><code>f5f8bc2</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/2761">#2761</a>
from huyenltnguyen/docs/codegen</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/0678c2e195a70c34cd26bddbfd29043bc36d1362"><code>0678c2e</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/2992">#2992</a>
from thorn0/lint1</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/d9374c7287167e2295105c52da5d85a3a867c450"><code>d9374c7</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/3021">#3021</a>
from reduxjs/pr/fix-signal-race-memleak</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/59899f4795474788bda73b0a95e8f65d69d9cb78"><code>59899f4</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/reduxjs/redux-toolkit/issues/3123">#3123</a>
from megagon/type-error-anyoff-with-map</li>
<li><a
href="https://github.com/reduxjs/redux-toolkit/commit/f5d7d15758e4a599cbc2bf6df571486b99f59f8a"><code>f5d7d15</code></a>
make isAnyOf friendly for mapped matchers, but making argument
optional</li>
<li>Additional commits viewable in <a
href="https://github.com/reduxjs/redux-toolkit/compare/v1.8.6...v1.9.2">compare
view</a></li>
</ul>
</details>
<br />
[](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 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>1 parent b656648 commit e8458a8Copy full SHA for e8458a8
File tree
Expand file treeCollapse file tree
2 files changed
+40
-40
lines changedFilter options
- api-editor/gui
Expand file treeCollapse file tree
2 files changed
+40
-40
lines changedCollapse file: api-editor/gui/package-lock.json
api-editor/gui/package-lock.json
Copy file name to clipboardExpand all lines: api-editor/gui/package-lock.json+39-39Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file: api-editor/gui/package.json
api-editor/gui/package.json
Copy file name to clipboardExpand all lines: api-editor/gui/package.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
0 commit comments