dependabot[bot] opened a new pull request, #31555: URL: https://github.com/apache/superset/pull/31555
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.3 to 2.5.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.5.0</h2> <p>This <strong>feature release</strong> updates the React peer dependency to work with React 19, and fixes an additional skip token issue.</p> <h2>Changelog</h2> <h3>React 19 Compat</h3> <p><a href="https://react.dev/blog/2024/12/05/react-19">React 19 was just released</a>! We've updated our peer dep to accept React 19, and updated our runtime and type tests to check against both React 18 and 19.</p> <p>Also see <a href="https://github.com/reduxjs/react-redux/releases/tag/v9.2.0">React-Redux v9.2.0</a> for the same peer dep update.</p> <h3>Other Fixes</h3> <p>We previously fixed an issue with the RTKQ core where <code>serializeQueryArgs</code> callbacks could be called with <code>skipToken</code>, potentially leading to errors. We've fixed an additional location in the <code>useQuery</code> hooks where that could happen as well.</p> <h2>What's Changed</h2> <ul> <li>Migrate to React 19 by <a href="https://github.com/aryaemami59"><code>@aryaemami59</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4409">reduxjs/redux-toolkit#4409</a></li> <li>Handle additional <code>serializeQueryArgs</code> + <code>skipToken</code> case by <a href="https://github.com/markerikson"><code>@markerikson</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4762">reduxjs/redux-toolkit#4762</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux-toolkit/compare/v2.4.0...v2.5.0">https://github.com/reduxjs/redux-toolkit/compare/v2.4.0...v2.5.0</a></p> <h2>v2.4.0</h2> <p>This <strong>feature release</strong> includes multiple tweaks and fixes to RTK Query functionality, additional exported TS types, and drops support for TS versions earlier than 5.0.</p> <h2>Changelog</h2> <h3>RTK Query Improvements</h3> <p>Lazy query hooks can now be reset.</p> <p><code>retry.fail</code> now accepts <code>meta</code> as a second argument.</p> <p>Tag invalidation arrays now ignore nullish values.</p> <p>We did some small internal refactoring around Maps and default values that shrank bundle size slightly.</p> <h3>Bugfixes</h3> <p>Passing <code>skipToken</code> to a query hook now bails out before running any other logic, which fixes cases where <code>serializeQueryArgs</code> previously threw an error because there were no args to process.</p> <p>The <code>autoBatchEnhancer</code> now reads <code>window.requestAnimationFrame</code> later, which it to work properly with Jest fake timers.</p> <p>We fixed cases where the hook result <code>isSuccess</code> flag would briefly flicker to <code>false</code> when switched to a different cache entry that was uninitialized, and would briefly flicker to <code>true</code> when refetching a query that previously errored.</p> <p>The listener middleware previously had inconsistent logic checks for comparing against existing listener entries (effect + type, vs effect only). It now always checks both effect + type.</p> <h3>Additional TS Types</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/6590cec1cee83fcab165eb340f6b78762c4ad5a2"><code>6590cec</code></a> Release 2.5.0</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/2047f547358119e394f10b16629a66826a28f89a"><code>2047f54</code></a> Handle additional <code>serializeQueryArgs</code> + <code>skipToken</code> case (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4762">#4762</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/40b8aedf8bf3306795814e6a868881ae7a025171"><code>40b8aed</code></a> Migrate to React 19 (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4409">#4409</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/e848a552dec33c0c55951462c219ad00cb8d3978"><code>e848a55</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4686">#4686</a> from isqua/act</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/23a1c3f406f97ed53d54693ec7e33a51286e6853"><code>23a1c3f</code></a> Harden optimisticUpserts test</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/ef84607f49ed476049784449c3f2a940407cb81b"><code>ef84607</code></a> Tweak delay time</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/0536468772be56cdd3a16ed2520e54a9c0949c7a"><code>0536468</code></a> Silence "unhandled error" in ApiProvider error test</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/f8612448aca2fc62dfc54359ecb4443503f31aed"><code>f861244</code></a> Fix "unhandled request" warning</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/5255770adbdab2983a6336ff2dad586fe67dc3cf"><code>5255770</code></a> Remove stray console log</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/97f96adb1904a1b6d69044da81527e27485784e1"><code>97f96ad</code></a> Fix tests after upgrade <code>@testing-library/react</code></li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.3...v2.5.0">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 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]
