Skip to content

Commit

Permalink
Bump react-redux from 9.1.1 to 9.1.2 in /webapp (microsoft#976)
Browse files Browse the repository at this point in the history
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 9.1.1
to 9.1.2.
<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>v9.1.2</h2>
<p>This <strong>bugfix release</strong> removes the no-longer-necessary
peer dependency on <code>react-native</code>, and tweaks a few TS types
for compat with the upcoming React 19 release.</p>
<h2>Changes</h2>
<h3>React Native Peer Dependency Removed</h3>
<p>We've always had an awkward peer dependency on <em>both</em> ReactDOM
and React Native, because of the need to import the
<code>unstable_batchedUpdates</code> API directly from each reconciler.
That's part of what led to the sequence of 9.x patch releases to deal
with RN compat.</p>
<p>As of 9.0.3, we dropped the batching imports completely, since React
18 now batches by default. That means we didn't even have any remaining
imports from <code>react-native</code>.</p>
<p>Meanwhile, React 18.3 just came out, but so did React Native 0.74. RN
0.74 still requires React 18.2.</p>
<p>This caused NPM users to have installation failures when trying to
use React-Redux:</p>
<ul>
<li>React-Redux has a peer dep on RN</li>
<li>RN has a peer dep on React 18.2</li>
<li>But the <em>latest</em> React, 18.3 would get installed in the
app</li>
<li>NPM errors with a peer dep mismatch</li>
</ul>
<p>We no longer need to list RN as a peer dep, and dropping that also
fixes the NPM installation issues as well.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix <code>useRef</code> usages to be called with an explicit
argument of <code>undefined</code>. by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/react-redux/pull/2164">reduxjs/react-redux#2164</a></li>
<li>Replace usage of deprecated <code>JSX</code> global namespace with
<code>React.JSX</code> by <a
href="https://github.com/aryaemami59"><code>@​aryaemami59</code></a> in
<a
href="https://redirect.github.com/reduxjs/react-redux/pull/2163">reduxjs/react-redux#2163</a></li>
<li>Drop now-unneeded RN peer dep by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/react-redux/pull/2167">reduxjs/react-redux#2167</a></li>
<li>Fix remaining React 19 types issues by <a
href="https://github.com/markerikson"><code>@​markerikson</code></a> in
<a
href="https://redirect.github.com/reduxjs/react-redux/pull/2168">reduxjs/react-redux#2168</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/reduxjs/react-redux/compare/v9.1.1...v9.1.2">https://github.com/reduxjs/react-redux/compare/v9.1.1...v9.1.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/reduxjs/react-redux/commit/1af75b3b3008251c3a9f21bea14b655659f3123f"><code>1af75b3</code></a>
Release 9.1.2</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/eec5f9b320e2d4787af83b599a0c517fef4b510f"><code>eec5f9b</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/react-redux/issues/2168">#2168</a>
from reduxjs/feature/react-19-types</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/a752cc66792b067b0494b501886986446cd581c2"><code>a752cc6</code></a>
Fix remaining React 19 types compat issues</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/23c0c228d6518be55366bec8c3367252749b84ef"><code>23c0c22</code></a>
Add explicit <code>@​types/prop-types</code> dep</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/bfa3c368f804f0fad9e91ca603582e51070ff872"><code>bfa3c36</code></a>
Merge pull request <a
href="https://redirect.github.com/reduxjs/react-redux/issues/2167">#2167</a>
from reduxjs/bugfix/remove-rn-peerdep</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/427791b1b0f17b6ce02be63ccf5ebd00401fb155"><code>427791b</code></a>
Drop now-unneeded RN peer dep</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/f404f82b3b1f5156330ae3d10775c092e88c87d6"><code>f404f82</code></a>
Replace usage of deprecated <code>JSX</code> global namespace with
<code>React.JSX</code> (<a
href="https://redirect.github.com/reduxjs/react-redux/issues/2163">#2163</a>)</li>
<li><a
href="https://github.com/reduxjs/react-redux/commit/5ec797029b9c096857b692280bda59037389f587"><code>5ec7970</code></a>
Fix <code>useRef</code> usages to be called with an explicit argument of
<code>undefined</code>. (#...</li>
<li>See full diff in <a
href="https://github.com/reduxjs/react-redux/compare/v9.1.1...v9.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-redux&package-manager=npm_and_yarn&previous-version=9.1.1&new-version=9.1.2)](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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 17, 2024
1 parent 0227094 commit ccec433
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"react-redux": "^9.1.1",
"react-redux": "^9.1.2",
"remark-gfm": "^4.0.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10040,10 +10040,10 @@ react-markdown@^9.0.1:
unist-util-visit "^5.0.0"
vfile "^6.0.0"

react-redux@^9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-9.1.1.tgz#852ec13084bd7375e26db697d2fc9027ffada204"
integrity sha512-5ynfGDzxxsoV73+4czQM56qF43vsmgJsO22rmAvU5tZT2z5Xow/A2uhhxwXuGTxgdReF3zcp7A80gma2onRs1A==
react-redux@^9.1.2:
version "9.1.2"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-9.1.2.tgz#deba38c64c3403e9abd0c3fbeab69ffd9d8a7e4b"
integrity sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==
dependencies:
"@types/use-sync-external-store" "^0.0.3"
use-sync-external-store "^1.0.0"
Expand Down

0 comments on commit ccec433

Please sign in to comment.