dependabot[bot] opened a new pull request, #40259:
URL: https://github.com/apache/superset/pull/40259

   Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 
1.9.7 to 2.12.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/reduxjs/redux-toolkit/releases";>@​reduxjs/toolkit's 
releases</a>.</em></p>
   <blockquote>
   <h2>v2.12.0</h2>
   <p>This <strong>feature release</strong> adds RTK usage skills files (via 
TanStack Intent) exports the RTK Query hook options types for reusability, 
fixes issues with infinite query status flags and batching handling, and makes 
some small TS improvements.</p>
   <h2>Changelog</h2>
   <h3>Skills Files</h3>
   <p>We've generated agent skill files that are now included in the RTK 
package itself in a <code>skills</code> folder.  They cover using and migrating 
to modern RTK, client and server state management, and handling side effects.  
You can point your agent at these skills yourself, or use <a 
href="https://tanstack.com/intent/latest/docs/getting-started/quick-start-consumers";>TanStack
 Intent</a> to pick them up.</p>
   <h3>TypeScript Improvements</h3>
   <p>The types for our RTK Query hook options are now exported, which lets you 
stop using <code>Parameters</code> to extract those types for use in your own 
code.</p>
   <p>The types for listener middleware matchers were tweaked to allow 
<code>interface</code>-based type guards, not just <code>type</code>-based 
definitions.</p>
   <p>The internal <code>IgnorePaths</code> type was renamed to 
<code>IgnoredPaths</code> for consistency.</p>
   <p>We now use the built-in <code>NoInfer</code> util that comes with TS 
5.4+.</p>
   <h3>Fixes</h3>
   <p>We fixed handling of the <code>isSuccess</code> status flag when 
switching infinite query cache entries. This should prevent accidental UI 
flashes that were occurring due to this flag accidentally flipping.</p>
   <p>We've added a 100ms timeout fallback to the <code>autoBatch</code> 
enhancer's <code>requestAnimationFrame</code> timer.  We had several reports 
that <code>rAF</code> didn't work correctly when used in background tabs / 
opened windows, and that RTK never updated the UI.  This should ensure that the 
updates flush correctly.</p>
   <h2>What's Changed</h2>
   <ul>
   <li>Export hook options types for RTK Query hooks by <a 
href="https://github.com/veeceey";><code>@​veeceey</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5218";>reduxjs/redux-toolkit#5218</a></li>
   <li>Add TanStack Intent skills for Redux Toolkit by <a 
href="https://github.com/phryneas";><code>@​phryneas</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5249";>reduxjs/redux-toolkit#5249</a></li>
   <li>Keep isSuccess: true when switching infinite query cache entries by <a 
href="https://github.com/riqts";><code>@​riqts</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5268";>reduxjs/redux-toolkit#5268</a></li>
   <li>fix: allow interface-based type guards as listener matcher by <a 
href="https://github.com/riqts";><code>@​riqts</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5269";>reduxjs/redux-toolkit#5269</a></li>
   <li>fix: add setTimeout fallback to raf autoBatch strategy for background 
tabs by <a href="https://github.com/riqts";><code>@​riqts</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5273";>reduxjs/redux-toolkit#5273</a></li>
   <li>chore(toolkit): rename <code>IgnorePaths</code> type to 
<code>IgnoredPaths</code> by <a 
href="https://github.com/Ri5ha6h";><code>@​Ri5ha6h</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5284";>reduxjs/redux-toolkit#5284</a></li>
   <li>feat(toolkit)!: switch to native <code>NoInfer</code> utility type by <a 
href="https://github.com/aryaemami59";><code>@​aryaemami59</code></a> in <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/pull/5289";>reduxjs/redux-toolkit#5289</a></li>
   </ul>
   <p><strong>Full Changelog</strong>: <a 
href="https://github.com/reduxjs/redux-toolkit/compare/v2.11.2...v2.12.0";>https://github.com/reduxjs/redux-toolkit/compare/v2.11.2...v2.12.0</a></p>
   <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>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/576a02f8056fbee2dcaddb4d2e4d2da3b7937c58";><code>576a02f</code></a>
 Release 2.12.0</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/de2d55e1a2b0bcf8873d96f8ac6bb0f8d1aacce7";><code>de2d55e</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5237";>#5237</a> 
from aryaemami59/fix/codegen/generateEndpoints-retur...</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/ac807c317aeb825cc03ca853d8da76d9506ff8db";><code>ac807c3</code></a>
 fix(codegen): narrow <code>generateEndpoints</code> return type</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/01ed3ba07cb045cdbec44ea00c2bda35ec85a00f";><code>01ed3ba</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5289";>#5289</a> 
from aryaemami59/feat/toolkit/switch-to-native-NoInfer</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/1f16db1c7c8eb3f5007cfdbab4e8b369103d806a";><code>1f16db1</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5290";>#5290</a> 
from aryaemami59/build/toolkit/exclude-test-files-fr...</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/23783c1335eec39d55cb8cd249e1b8251722aee1";><code>23783c1</code></a>
 build(toolkit): exclude test files from final bundle</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/91b8b0a38c52e2c26aaa481228ed47f9ca3f082a";><code>91b8b0a</code></a>
 feat(toolkit)!: switch to native <code>NoInfer</code> utility type</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/0b37f1a905930dc495c402d92b79a8e45c6bd29d";><code>0b37f1a</code></a>
 Merge pull request <a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5286";>#5286</a> 
from aryaemami59/docs/toolkit/fix-typos</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/3cd62c8e3d617f4b62d73067408a7039b659ba6d";><code>3cd62c8</code></a>
 fix <code>unforwardedActions</code></li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/64853cc12b06d6c22cea0a9bbaf30b4e6b32f9c8";><code>64853cc</code></a>
 chore: fix various typos</li>
   <li>Additional commits viewable in <a 
href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.12.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/~GitHub%20Actions";>GitHub Actions</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=1.9.7&new-version=2.12.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 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]

Reply via email to