[PR #290] Bump react-redux from 7.2.4 to 8.0.5 in /ui #1015

Open
opened 2026-03-15 21:47:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynqmon/pull/290
Author: @dependabot[bot]
Created: 2/6/2023
Status: 🔄 Open

Base: masterHead: dependabot/npm_and_yarn/ui/react-redux-8.0.5


📝 Commits (1)

  • 1c775cd Bump react-redux from 7.2.4 to 8.0.5 in /ui

📊 Changes

2 files changed (+28 additions, -20 deletions)

View changed files

📝 ui/package.json (+1 -1)
📝 ui/yarn.lock (+27 -19)

📄 Description

Bumps react-redux from 7.2.4 to 8.0.5.

Release notes

Sourced from react-redux's releases.

v8.0.5

This release fixes a few minor TS issues.

What's Changed

Full Changelog: https://github.com/reduxjs/react-redux/compare/v8.0.4...v8.0.5

v8.0.4

This patch release fixes some minor TS types issues, and updates the rarely-used areStatesEqual option for connect to now pass through ownProps for additional use in determining which pieces of state to compare if desired.

Note: 8.0.3 was accidentally published without one of these fixes. Use 8.0.4 instead.

Changelog

TS Fixes

We've fixed an import of React that caused issues with the allowSyntheticDefaultImports TS compiler flag in user projects.

connect already accepted a custom context instance as props.context, and had runtime checks in case users were passing through a real value with app data as props.context instead. However, the TS types did not handle that case, and this would fail to compile. If your own component expects props.context with actual data, connect's types now use that type instead.

The ConnectedProps<T> type had a mismatch with React's built-in React.ComponentProps<Component> type, and that should now work correctly.

Other Changes

The areStatesEqual option to connect now receives ownProps as well, in case you need to make a more specific comparison with certain sections of state.

The new signature is:

{
  areStatesEqual?: (
    nextState: State,
    prevState: State,
    nextOwnProps: TOwnProps,
    prevOwnProps: TOwnProps
  ) => boolean
}

What's Changed

... (truncated)

Commits
  • 8d03182 Release 8.0.5
  • 32e40e4 Merge pull request #1928 from marconi1992/fix/1927
  • ff7d96b fix: type when passing nullish mapDispathToProps
  • 5082af7 Merge pull request #1965 from reduxjs/draft/amazing-rosalind
  • bafe55e Add typetests
  • fc3954a Update test matrix to Node 16 and TS 4.9
  • 401250e also update TypedUseSelectorHook
  • 3b06061 wrap type in
  • ad40b97 Merge pull request #1960 from OliverJAsh/patch-1
  • 8cf538c Merge pull request #1966 from ethen001/chores/custom-equality-fn-docs
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynqmon/pull/290 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/6/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/ui/react-redux-8.0.5` --- ### 📝 Commits (1) - [`1c775cd`](https://github.com/hibiken/asynqmon/commit/1c775cd1eaca312fa0d58479afeb584fb3a34465) Bump react-redux from 7.2.4 to 8.0.5 in /ui ### 📊 Changes **2 files changed** (+28 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `ui/package.json` (+1 -1) 📝 `ui/yarn.lock` (+27 -19) </details> ### 📄 Description Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.4 to 8.0.5. <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.0.5</h2> <p>This release fixes a few minor TS issues.</p> <h2>What's Changed</h2> <ul> <li><code>Provider</code>: pass state (<code>S</code>) generic through to <code>ProviderProps</code> by <a href="https://github.com/OliverJAsh"><code>@​OliverJAsh</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1960">reduxjs/react-redux#1960</a></li> <li>wrap <code>equalityFn</code> type in <code>NoInfer</code> by <a href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1965">reduxjs/react-redux#1965</a></li> <li>Fix wrapped component prop types when passing nullish mapDispatchToProps by <a href="https://github.com/marconi1992"><code>@​marconi1992</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1928">reduxjs/react-redux#1928</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/react-redux/compare/v8.0.4...v8.0.5">https://github.com/reduxjs/react-redux/compare/v8.0.4...v8.0.5</a></p> <h2>v8.0.4</h2> <p>This patch release fixes some minor TS types issues, and updates the rarely-used <code>areStatesEqual</code> option for <code>connect</code> to now pass through <code>ownProps</code> for additional use in determining which pieces of state to compare if desired.</p> <blockquote> <p><strong>Note</strong>: 8.0.3 was accidentally published without one of these fixes. Use 8.0.4 instead.</p> </blockquote> <h2>Changelog</h2> <h3>TS Fixes</h3> <p>We've fixed an import of <code>React</code> that caused issues with the <code>allowSyntheticDefaultImports</code> TS compiler flag in user projects.</p> <p><code>connect</code> already accepted a custom context instance as <code>props.context</code>, and had runtime checks in case users were passing through a real value with app data as <code>props.context</code> instead. However, the TS types did not handle that case, and this would fail to compile. If your own component expects <code>props.context</code> with actual data, <code>connect</code>'s types now use that type instead.</p> <p>The <code>ConnectedProps&lt;T&gt;</code> type had a mismatch with React's built-in <code>React.ComponentProps&lt;Component&gt;</code> type, and that should now work correctly.</p> <h3>Other Changes</h3> <p>The <code>areStatesEqual</code> option to <code>connect</code> now receives <code>ownProps</code> as well, in case you need to make a more specific comparison with certain sections of state.</p> <p>The new signature is:</p> <pre lang="ts"><code>{ areStatesEqual?: ( nextState: State, prevState: State, nextOwnProps: TOwnProps, prevOwnProps: TOwnProps ) =&gt; boolean } </code></pre> <h2>What's Changed</h2> <ul> <li>Don't require allowSyntheticDefaultImports: true by <a href="https://github.com/apepper"><code>@​apepper</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1924">reduxjs/react-redux#1924</a></li> <li>Fixed type issue with <code>ComponentProps</code> from older <code>@types/react</code> by <a href="https://github.com/Andarist"><code>@​Andarist</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1956">reduxjs/react-redux#1956</a></li> <li>connect: pass ownProps to areStatesEqual by <a href="https://github.com/jspurlin"><code>@​jspurlin</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1951">reduxjs/react-redux#1951</a></li> <li>Omit built-in context prop if user component props include context by <a href="https://github.com/markerikson"><code>@​markerikson</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1958">reduxjs/react-redux#1958</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/reduxjs/react-redux/commit/8d03182d36abe91cb0cc883478f3b0c2d7f9e17f"><code>8d03182</code></a> Release 8.0.5</li> <li><a href="https://github.com/reduxjs/react-redux/commit/32e40e45d2df13922e318ededc9b90a983e31ab9"><code>32e40e4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1928">#1928</a> from marconi1992/fix/1927</li> <li><a href="https://github.com/reduxjs/react-redux/commit/ff7d96befaf28e3d4975071161c51c5ec2e4cf06"><code>ff7d96b</code></a> fix: type when passing nullish mapDispathToProps</li> <li><a href="https://github.com/reduxjs/react-redux/commit/5082af73d145949e34eba74033ffe9b623985008"><code>5082af7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1965">#1965</a> from reduxjs/draft/amazing-rosalind</li> <li><a href="https://github.com/reduxjs/react-redux/commit/bafe55eab475589efc2c1aaee89bde244e2fb44e"><code>bafe55e</code></a> Add typetests</li> <li><a href="https://github.com/reduxjs/react-redux/commit/fc3954a680649d5aae74df03155147b363dafd40"><code>fc3954a</code></a> Update test matrix to Node 16 and TS 4.9</li> <li><a href="https://github.com/reduxjs/react-redux/commit/401250ebee03435bdf23e8b55bf490fd56567438"><code>401250e</code></a> also update TypedUseSelectorHook</li> <li><a href="https://github.com/reduxjs/react-redux/commit/3b0606109ab5463281c4c50696932b393f44ab08"><code>3b06061</code></a> wrap type in</li> <li><a href="https://github.com/reduxjs/react-redux/commit/ad40b970915a1311bce654329b8df2c76bddbf7f"><code>ad40b97</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1960">#1960</a> from OliverJAsh/patch-1</li> <li><a href="https://github.com/reduxjs/react-redux/commit/8cf538c05b21433eba2106a6609c6ccbfce471de"><code>8cf538c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1966">#1966</a> from ethen001/chores/custom-equality-fn-docs</li> <li>Additional commits viewable in <a href="https://github.com/reduxjs/react-redux/compare/v7.2.4...v8.0.5">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=7.2.4&new-version=8.0.5)](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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#1015
No description provided.