dependabot[bot] opened a new pull request, #45810: URL: https://github.com/apache/superset/pull/45810
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.9 to 8.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/reduxjs/react-redux/releases">react-redux's releases</a>.</em></p> <blockquote> <h2>v8.1.3</h2> <p>This bugfix release fixes an issue with subscriptions being lost when lazy-loaded components are used with React Suspense, and includes stack traces in <code>useSelector</code> usage warnings .</p> <h2>What's Changed</h2> <ul> <li>Add stack to dev mode checks by <a href="https://github.com/EskiMojo14"><code>@EskiMojo14</code></a> in <a href="https://redirect.github.com/reduxjs/react-redux/pull/2064">reduxjs/react-redux#2064</a></li> <li>Fix useSelector() in combination with lazy loaded components breaks with react v18 (<a href="https://redirect.github.com/reduxjs/react-redux/issues/1977">#1977</a>) by <a href="https://github.com/jeroenpx"><code>@jeroenpx</code></a> in <a href="https://redirect.github.com/reduxjs/react-redux/pull/2068">reduxjs/react-redux#2068</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/react-redux/compare/v8.1.2...v8.1.3">https://github.com/reduxjs/react-redux/compare/v8.1.2...v8.1.3</a></p> <h2>v8.1.2</h2> <p>This version changes imports from the React package to namespace imports so the package can safely be imported in React Server Components as long as you don't actually use it - this is for example important if you want to use the React-specifc <code>createApi</code> function from Redux Toolkit.</p> <p>Some other changes:</p> <ul> <li>The behaviour of the "React Context Singletons" from 8.1.1 has been adjusted to also work if you have multiple React instances of the same version (those will now be separated) and if you are in an environment without <code>globalThis</code> (in this case it will fall back to the previous behaviour).</li> <li>We do no longer use Proxies, which should help with some very outdated consumers, e.g. smart TVs, that cannot even polyfill Proxies.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/react-redux/compare/v8.1.1...v8.1.2">https://github.com/reduxjs/react-redux/compare/v8.1.1...v8.1.2</a></p> <h2>v8.1.1</h2> <p>This bugfix release tweaks the recent lazy context setup logic to ensure a single React context instance per React version, and removes the recently added RTK peerdep to fix an issue with Yarn workspaces.</p> <h2>Changelog</h2> <h3>React Context Singletons</h3> <p>React Context has always relied on reference identity. If you have two different copies of React or a library in a page, that can cause multiple versions of a context instance to be created, leading to problems like the infamous "Could not find react-redux context" error.</p> <p>In <a href="https://github.com/reduxjs/react-redux/releases/tag/v8.1.0">v8.1.0</a>, we reworked the internals to lazily create our single <code>ReactReduxContext</code> instance to avoid issues in a React Server Components environment.</p> <p>This release further tweaks that to stash a single context instance per React version found in the page, thus hopefully avoiding the "multiple copies of the same context" error in the future.</p> <h2>What's Changed</h2> <ul> <li>fix: fix typescript error on non exported type by <a href="https://github.com/luzzif"><code>@luzzif</code></a> in <a href="https://redirect.github.com/reduxjs/react-redux/pull/2034">reduxjs/react-redux#2034</a></li> <li>create singleton context by React version by <a href="https://github.com/phryneas"><code>@phryneas</code></a> in <a href="https://redirect.github.com/reduxjs/react-redux/pull/2039">reduxjs/react-redux#2039</a></li> <li>remove RTK peerDep by <a href="https://github.com/markerikson"><code>@markerikson</code></a> in 44fc725</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/react-redux/compare/v8.1.0...v8.1.1">https://github.com/reduxjs/react-redux/compare/v8.1.0...v8.1.1</a></p> <h2>v8.1.0</h2> <p>This <strong>feature release</strong> adds new development-mode safety checks for common errors (like poorly-written selectors), adds a workaround to fix crash errors when React-Redux hooks are imported into React Server Component files, and updates our hooks API docs page with improved explanations and updated links.</p> <h2>Changelog</h2> <h3>Development Mode Checks for <code>useSelector</code></h3> <p>We've had a number of users tell us over time that it's common to accidentally write selectors that have bad behavior and cause performance issues. The most common causes of this are either selectors that unconditionally return a new reference (such as <code>state => state.todos.map()</code> without any memoization ), or selectors that actually return the <em>entire</em> root state ( <code>state => state</code> ).</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/react-redux/commit/854f3e1687382925952712399f93c0e7d271cdbb"><code>854f3e1</code></a> Release 8.1.3</li> <li><a href="https://github.com/reduxjs/react-redux/commit/2057c5e488da5a1bf595b0ba35383f064cc3f9af"><code>2057c5e</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/react-redux/issues/2068">#2068</a> from jeroenpx/feature/useSelector-in-combination-wit...</li> <li><a href="https://github.com/reduxjs/react-redux/commit/6ca0567c63d62470db53801916c368c9ca8fe5b6"><code>6ca0567</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/react-redux/issues/2072">#2072</a> from reduxjs/feature/master-ci-checks</li> <li><a href="https://github.com/reduxjs/react-redux/commit/f0324a1fdf8a05582e76afa4c90a0f4db7ab1cb2"><code>f0324a1</code></a> Copy CI setup for RTK examples</li> <li><a href="https://github.com/reduxjs/react-redux/commit/6c0ad9ee038bdfa65ab1ad1d2b905a9d8f8a06ef"><code>6c0ad9e</code></a> Fix useSelector() in combination with lazy loaded components breaks with reac...</li> <li><a href="https://github.com/reduxjs/react-redux/commit/a1a32d1ed99b4e3608576ee3800ff0f608f86dd8"><code>a1a32d1</code></a> Merge pull request <a href="https://redirect.github.com/reduxjs/react-redux/issues/2064">#2064</a> from reduxjs/warning-stack</li> <li><a href="https://github.com/reduxjs/react-redux/commit/bc328d90879870b3555eae5c51e9b09c51cc4741"><code>bc328d9</code></a> Add stack to dev mode checks</li> <li><a href="https://github.com/reduxjs/react-redux/commit/4a7e129ee537d35c53da258ccf7924a0376391ee"><code>4a7e129</code></a> Release 8.1.2</li> <li><a href="https://github.com/reduxjs/react-redux/commit/2ac527bc1681b9cf82b269369814419fa8e7a2bc"><code>2ac527b</code></a> RSC-specific workarounds (<a href="https://redirect.github.com/reduxjs/react-redux/issues/2050">#2050</a>)</li> <li><a href="https://github.com/reduxjs/react-redux/commit/a669a94e0968386eacedddac30031e14c8204ae3"><code>a669a94</code></a> add "publish" workflow</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/react-redux/compare/v7.2.9...v8.1.3">compare view</a></li> </ul> </details> <details> <summary>Install script changes</summary> <p>This version modifies <code>prepare</code> script that runs during installation. Review the package contents before updating.</p> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | react-redux | [>= 9.a, < 10] | </details> [](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]
