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

   Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 
1.9.7 to 2.13.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.13.0</h2>
   <p>This <strong>feature release</strong> updates our build tooling to TSDown 
and PNPM, adds official TypeScript 7 support, and includes a long list of 
bugfixes across RTK Query, <code>createAsyncThunk</code>, 
<code>createEntityAdapter</code>, and <code>combineSlices</code>.</p>
   <h2>Changelog</h2>
   <h3>Build Tooling Updates</h3>
   <p>We've fully modernizing modernized our build tooling across all of the 
Redux repos. That included switching from Yarn to PNPM, ESLint to Oxlint, 
Prettier to Oxfmt, and TSUp to TSDown.</p>
   <p>The part that matters for users is that we now build the package with <a 
href="https://tsdown.dev";>TSDown</a> instead of <code>tsup</code>. The package 
layout, <code>exports</code> definitions, and exported APIs are all unchanged 
from 2.12. We've checked the new build with <code>attw</code>, and verified 
that CJS and ESM entry points load in both dev and prod builds, and that the 
<code>legacy-esm</code> artifacts still target ES2017. The contents of the 
bundles do look a bit different (smaller CJS artifacts, slightly different 
helper output in the <code>legacy-esm</code> files). If you see any behavior 
differences that look build-related, please file an issue!</p>
   <p>This is also our first release published via the updated PNPM-based 
workflow, still using NPM Trusted Publishing. We've also added 
<code>pkg.pr.new</code> previews for every commit, so you can try out a PR 
build before it's released.</p>
   <h3>Docs Updates</h3>
   <p>We've shipped a new combined Redux libraries docs site!  The core docs 
site at <a href="https://redux.js.org";>https://redux.js.org</a> now contains 
the docs for <em>all</em> of our libraries: Redux core and usage guides, Redux 
Toolkit, React Redux, and Reselect.  The prior standalone docs sites for RTK, 
R-R, and Reselect now redirect to their respective sections of the combined 
docs.  We've also done a major cleanup pass on the docs, deduplicating pages 
that had similarities (like the Next.js or RTK2 migration pages that lived in 
both the core and RTK docs), and updating outdated content (modernizing example 
code snippets, deleting dead links, and making RTK and hooks the default 
patterns shown).  The RTK content now lives at <a 
href="https://redux.js.org/toolkit/";>https://redux.js.org/toolkit/</a> .</p>
   <h3>TypeScript 7 Support</h3>
   <p>TS 7.0 (the native Go port) is now out! We fixed the remaining type 
errors in RTK when checked by TS 7.0 and 7.1, and TS 7.0 is now part of our CI 
test matrix.</p>
   <p>Per our TS support policy of matching DefinitelyTyped's support window, 
we've also updated our support matrix to TS 5.6+. As always, RTK may still work 
with earlier versions, but we no longer test against them.</p>
   <h3>RTK Query Fixes</h3>
   <p><code>useQueryState</code> (and thus <code>useQuery</code>) was passing a 
new inline selector to <code>useSelector</code> on every render, and also 
reading the store directly during render. The selector is now memoized, and the 
direct store read is gone. This also fixes a bug where <code>isSuccess</code> 
could flip from <code>false</code> to <code>true</code> on an unrelated 
re-render while a query was refetching after an error. <code>isSuccess</code> 
now correctly stays <code>false</code> in that case.</p>
   <p><code>data</code> now reflects cache updates made via 
<code>updateQueryData</code> while a refetch is in flight, instead of showing 
the previous result.</p>
   <p>Polling now reads the current cache state when each poll fires, rather 
than the state at the time the poll was scheduled. This means 
<code>skipPollingIfUnfocused</code> respects focus loss that happens after 
scheduling, and polls stop if their cache entry was removed.</p>
   <p>We fixed a race where a duplicate query request rejected by the thunk 
condition could cause queued tag invalidations to run too early and be lost, 
leaving stale data in the cache.</p>
   <p>Tags with falsy ids like <code>0</code> now invalidate and clean up 
correctly.</p>
   <p>Lazy query hooks now re-subscribe correctly when effects restart while 
the hook state is preserved, such as with Fast Refresh or 
<code>&lt;Activity&gt;</code>.</p>
   <p>Infinite queries no longer trigger <code>onQueryStarted</code> when 
fetching past the end of the list, and the infinite query hook result type now 
includes the page error flags.</p>
   <p><code>fetchBaseQuery</code> only treats a URL as absolute if it starts 
with a scheme.</p>
   <p>We also fixed an error when rehydrating state for an endpoint name that 
has no definition.</p>
   <h3>Other Fixes</h3>
   <p><code>createAsyncThunk</code> no longer swallows aborts that happen 
before the <code>pending</code> action is dispatched, and now correctly sets 
<code>rejectedWithValue</code> when <code>rejectWithValue</code> is called with 
a falsy payload.</p>
   <p><code>createEntityAdapter</code>'s <code>setAll</code> now keeps the last 
item when given duplicate IDs, matching <code>setMany</code>. The sorted 
adapter's <code>updateMany</code> now merges multiple updates for the same ID 
before applying them.</p>
   <p><code>combineSlices</code> now keeps its internal state proxy cache per 
instance, so multiple combined reducers no longer interfere with each other.</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/370f7eb6403bdfdb1a2ab5b90fbcfd8eaee7d57b";><code>370f7eb</code></a>
 Release 2.13.0</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/8c40241546d97cbe3a67c676e28945fad56ab92c";><code>8c40241</code></a>
 Fix release-it commands for PNPM</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/483f0fb5b5c28f233d2243c8524abd8cffa70cc1";><code>483f0fb</code></a>
 Fix unstable selector reference inside of <code>useQueryState</code> and 
<code>isSuccess</code> dur...</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/62103f5409a9e153bb66af4a413308e1ac0f82de";><code>62103f5</code></a>
 Fix TS7 errors and update TS matrix (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5455";>#5455</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/71db2d41646cf4d297c611612a6c0e1b74ee63ba";><code>71db2d4</code></a>
 Fetch the other libraries' docs from master in previews (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5454";>#5454</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/0eeae5cfb16d0fdd0bfca87c5c3283e096e5cfd4";><code>0eeae5c</code></a>
 Convert Redux Toolkit docs to the combined site format (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5451";>#5451</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/c9dac937d77adc3bf04842a43955e81d0e7a46da";><code>c9dac93</code></a>
 docs: clarify browser ESM import map usage (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5375";>#5375</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/00b133f5e63182c7095c0c7d962c1564d9ac718d";><code>00b133f</code></a>
 fix(toolkit): handle circular references in immutable state middleware (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5433";>#5433</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/ded675e0c844b02b26f99a2dc5e73a449ef3e038";><code>ded675e</code></a>
 docs site: fix pagefind search by preloading window.pagefind (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5447";>#5447</a>)</li>
   <li><a 
href="https://github.com/reduxjs/redux-toolkit/commit/322c01a6869e6fbb93dbd369397c3b5460919b9e";><code>322c01a</code></a>
 Reinstate lazy queries after preserved effects restart (<a 
href="https://redirect.github.com/reduxjs/redux-toolkit/issues/5424";>#5424</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/reduxjs/redux-toolkit/compare/v1.9.7...v2.13.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.13.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