dependabot[bot] opened a new pull request, #32109: URL: https://github.com/apache/superset/pull/32109
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.9.7 to 2.5.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.5.1</h2> <p>This <strong>bugfix release</strong> fixes a logic issue with the new <code>upsertQueryEntries</code> util that sometimes kept entries in a <code>pending</code> state indefinitely.</p> <h2>Changelog</h2> <h3><code>upsertQueryEntries</code> fixes</h3> <p>Users reported that in some cases, use of <code>upsertQueryEntries</code> to insert RTKQ cache entries prevented any further refetches of that data from happening. After investigation, we found a logic mismatch for how we handle upserts vs the existing <code>upsertQueryData</code> util, which meant that sometimes the entry would be left in a <code>pending</code> state expecting a <code>fulfilled</code> action from a request ID that would never happen.</p> <p>This release fixes that issue and ensures the updates and refetches happen correctly.</p> <h2>What's Changed</h2> <ul> <li>Ensure upserted cache entries always get written by <a href="https://github.com/markerikson"><code>@markerikson</code></a> in <a href="https://redirect.github.com/reduxjs/redux-toolkit/pull/4768">reduxjs/redux-toolkit#4768</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...v2.5.1">https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...v2.5.1</a></p> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/801d7ead06368c98312b770c15d032dfcd50ab15"><code>801d7ea</code></a> Release 2.5.1</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/aaeda1538993dbdbd9264d784f6b1bf78ebc94b0"><code>aaeda15</code></a> Remove <code>console-testing-library</code> (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4603">#4603</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/fa97936994e7764d88222a1159c3012777a3fc09"><code>fa97936</code></a> Update Docusaurus to v3 (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4774">#4774</a>)</li> <li><a href="https://github.com/reduxjs/redux-toolkit/commit/4f3bc9fb178d13b008c0c32ae7241fc87dddc66b"><code>4f3bc9f</code></a> Ensure upserted cache entries always get written (<a href="https://redirect.github.com/reduxjs/redux-toolkit/issues/4768">#4768</a>)</li> <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>Additional commits viewable in <a href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.5.1">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]
