dependabot[bot] opened a new pull request, #36788: URL: https://github.com/apache/superset/pull/36788
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.7 to 2.11.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>v2.11.2</h2> <p>This <strong>bugfix release</strong> updates the <code>AbortSignal</code> handling to fall back if <code>DOMException</code> isn't available (such as RN environments), and updates the <code>TypedUseInfiniteQueryHookResult</code> type to correctly include <code>fetchNextPage/fetchPreviousPage</code> fields.</p> <h2>Changelog</h2> <h3>Bugfixes</h3> <p>The <code>AbortSignal</code> changes in 2.11.1 used <code>DOMException</code> in a couple places to match the expected behavior of <code>AbortSignal</code>, but turns out that's not available in environments like React Native. We've updated the logic to fall back to a plain <code>Error</code> if <code>DOMException</code> isn't available.</p> <p>The <code>TypedUseInfiniteQueryHookResult</code> type wasn't correctly including the <code>fetchNextPage/fetchPreviousPage</code> fields, and now it does.</p> <h2>What's Changed</h2> <ul> <li>fix: use a normal Error when DOMException isn't available by <a href="https://github.com/EskiMojo14"><code>@EskiMojo14</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5161">reduxjs/redux-toolkit#5161</a></li> <li>Include page functions in <code>TypedUseInfiniteQueryHookResult</code> by <a href="https://github.com/markerikson"><code>@markerikson</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5165">reduxjs/redux-toolkit#5165</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux-toolkit/compare/v2.11.1...v2.11.2">https://github.com/reduxjs/redux-toolkit/compare/v2.11.1...v2.11.2</a></p> <h2>v2.11.1</h2> <p>This <strong>bugfix release</strong> fixes an issue with our internal <code>AbortSignal</code> handling that was reported as causing an error in a rare reset situation. We've also restructured our publishing process to use NPM Trusted Publishing, and updated our TS support matrix to only support TS 5.4+.</p> <h2>Changelog</h2> <h3>Publishing Changes</h3> <p>We've previously done most of our releases semi-manually locally, with various release process CLI tools. With the changes to NPM publishing security and the recent wave of NPM attacks, we've updated our publishing process to solely use NPM Trusted Publishing via workflows. We've also done a hardening pass on our own CI setup.</p> <p>We had done a couple releases via CI workflows previously, and later semi-manual releases caused PNPM to warn that RTK was no longer trusted. This release should be trusted and will resolve that issue.</p> <p>Thanks to the e18e folks and their excellent guide at <a href="https://e18e.dev/docs/publishing">https://e18e.dev/docs/publishing</a> for making this process easier!</p> <h3>TS Support Matrix Updates</h3> <p>We've previously mentioned rolling changes to our TS support matrix in release notes, but didn't officially document our support policy. We've added a description of the support policy (last 2 years of TS releases, matching DefinitelyTyped) and the current oldest TS version we support in the docs:</p> <ul> <li><a href="https://redux-toolkit.js.org/introduction/getting-started#typescript">https://redux-toolkit.js.org/introduction/getting-started#typescript</a></li> <li><a href="https://redux-toolkit.js.org/usage/usage-with-typescript#introduction">https://redux-toolkit.js.org/usage/usage-with-typescript#introduction</a></li> </ul> <p>As of today, we've updated the support matrix to be TS 5.4+ . As always, it's <em>possible</em> RTK will work if you're using an earlier version of TS, but we don't test against earlier versions and don't support any issues with those versions.</p> <p>We <em>have</em> run an initial test with the upcoming TS 7.0 native <code>tsgo</code> release. We found a couple minor issues with our own TS build and test setup, but no obvious issues with using RTK with TS 7.0.</p> <h3>Bug Fixes</h3> <p>A user reported a rare edge case where the combination of <code>resetApiState</code> and <code>retry()</code> could lead to an error calling an <code>AbortController</code>. We've restructured our <code>AbortController</code> handling logic to avoid that (and simplified a bit of our internals in the process).</p> <h2>What's Changed</h2> <ul> <li>Use trusted publishing and harden workflows by <a href="https://github.com/markerikson"><code>@markerikson</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5152">reduxjs/redux-toolkit#5152</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/646d54c1f7040342cdaf109ca81a344c88cda9ba"><code>646d54c</code></a> Release 2.11.2</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/819b29c5020062dfa87092a9400a4db7d9132ba6"><code>819b29c</code></a> Include page functions in <code>TypedUseInfiniteQueryHookResult</code> (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5165">#5165</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/9af97ca717ec4b2e22df232120cea57800e9d79f"><code>9af97ca</code></a> fix: use a normal Error when DOMException isn't available (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5161">#5161</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/3615d1ae680690727edc148c8bd0dbe1f2fa215c"><code>3615d1a</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5120">#5120</a> from reduxjs/vitest-bumps</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/fae3b9508ee2e949c91f2ddae14059afe2957de2"><code>fae3b95</code></a> avoid excessive type instantiation</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/d296e33e48364a6a7894ef05d8b31caa1a249a50"><code>d296e33</code></a> fix type issue with RTKQ and reselect</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/9ce71b9ac93f7a23e34b8f798e7c954ea3f792c0"><code>9ce71b9</code></a> add node to types field</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/d14d4278209f5d551b42fbbcb9bfa06a5610b462"><code>d14d427</code></a> remove unused tests</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/324dd05b36d5bb0bf39c1178ebbaa3bf016eeb3e"><code>324dd05</code></a> bump vite to match</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/b0887c4945937b66a88a6f7c0287f2c647c969c0"><code>b0887c4</code></a> bump to vitest v4</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.11.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@reduxjs/toolkit</code> since your current version.</p> </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 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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
