[Snyk] Upgrade react-redux from 7.2.8 to 7.2.9#242
Conversation
Snyk has created this PR to upgrade react-redux from 7.2.8 to 7.2.9. See this package in npm: react-redux See this project in Snyk: https://app.snyk.io/org/cognigy-gmbh/project/92bd593a-b4bf-439d-8778-29e930fdd262?utm_source=github&utm_medium=referral&page=upgrade-pr
There was a problem hiding this comment.
Pull request overview
This PR upgrades the react-redux dependency from version 7.2.8 to 7.2.9, a patch release from September 2022. The upgrade includes an enhancement to the areStatesEqual option in connect to pass through ownProps parameters, and a fix for React 18 StrictMode subscription issues.
Changes:
- Upgrade
react-reduxfrom 7.2.8 to 7.2.9
|
This is a patch version upgrade for react-redux. The changes consist of bug fixes, including resolving a potential race condition and improving internal performance. No breaking changes are present. Source: Release notes
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Snyk has created this PR to upgrade react-redux from 7.2.8 to 7.2.9.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 3 years ago.
Release notes
Package name: react-redux
-
7.2.9 - 2022-09-23
- connect: pass ownProps to areStatesEqual by @ jspurlin in #1952
-
7.2.8 - 2022-04-01
from react-redux GitHub release notesThis patch release updates the rarely-used
areStatesEqualoption forconnectto now pass throughownPropsfor additional use in determining which pieces of state to compare if desired.The new signature is:
What's Changed
Full Changelog: v7.2.8...v7.2.9
This release fixes a bug in the 7.x branch that caused
<Provider>to unsubscribe and stop updating completely when used inside of React 18's<StrictMode>. The new "strict effects" behavior double-mounts components, and the subscription needed to be set up inside of auseLayoutEffectinstead of auseMemo. This was previously fixed as part of v8 development, and we've backported it.Note: If you are now using React 18, we strongly recommend using the React-Redux v8 beta instead of v7.x!. v8 has been rewritten internally to work correctly with React 18's Concurrent Rendering capabilities. React-Redux v7 will run and generally work okay with existing code, but may have rendering issues if you start using Concurrent Rendering capabilities in your code.
Now that React 18 is out, we plan to finalize React-Redux v8 and release it live within the next couple weeks. Per an update yesterday in the "v8 roadmap" thread, React-Redux v8 will be updated in the next couple days to ensure support for React 16.8+ as part of the next beta release. We would really appreciate final feedback on using React-Redux v8 beta with React 18 before we publish the final version.
Full Changelog: v7.2.7...v7.2.8
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: