Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade: react, react-dom #1009

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

q1blue
Copy link
Collaborator

@q1blue q1blue commented May 21, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ 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.

Name Versions Released on

react
from 17.0.2 to 18.3.1 | 626 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 24 days ago
on 2024-04-26
react-dom
from 17.0.2 to 18.3.1 | 626 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 24 days ago
on 2024-04-26

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
169/1000
Why? Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.00091, Social Trends: No, Days since published: 335, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 99, Impact: 5.99, Likelihood: 2.81, Score Version: V5
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: react
  • 18.3.1 - 2024-04-26
    • Export act from react f1338f
  • 18.3.0 - 2024-04-25

    This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.

    Read the React 19 Upgrade Guide for more info.

    React

    • Allow writing to this.refs to support string ref codemod 909071
    • Warn for deprecated findDOMNode outside StrictMode c3b283
    • Warn for deprecated test-utils methods d4ea75
    • Warn for deprecated Legacy Context outside StrictMode 415ee0
    • Warn for deprecated string refs outside StrictMode #25383
    • Warn for deprecated defaultProps for function components #25699
    • Warn when spreading key #25697
    • Warn when using act from test-utils d4ea75

    React DOM

    • Warn for deprecated unmountComponentAtNode 8a015b
    • Warn for deprecated renderToStaticNodeStream #28874
  • 18.3.0-next-fecc288b7-20221025 - 2022-10-25
  • 18.3.0-next-fccf3a9fb-20230213 - 2023-02-14
  • 18.3.0-next-fabef7a6b-20221215 - 2022-12-16
  • 18.3.0-next-fa4314841-20230502 - 2023-05-03
  • 18.3.0-next-f828bad38-20230313 - 2023-03-13
  • 18.3.0-next-f0efa1164-20220901 - 2022-09-02
  • 18.3.0-next-f0534ae94-20221202 - 2022-12-05
  • 18.3.0-next-efc6a08e9-20220923 - 2022-09-23
  • 18.3.0-next-ee8509801-20230117 - 2023-01-17
  • 18.3.0-next-edbfc6399-20221128 - 2022-11-29
  • 18.3.0-next-ed545ae3d-20230425 - 2023-04-25
  • 18.3.0-next-e98225485-20221129 - 2022-11-30
  • 18.3.0-next-e7c5af45c-20221023 - 2022-10-24
  • 18.3.0-next-e6a062bd2-20220913 - 2022-09-13
  • 18.3.0-next-e61fd91f5-20220630 - 2022-06-30
  • 18.3.0-next-e40893d09-20221005 - 2022-10-06
  • 18.3.0-next-e225fa43a-20220711 - 2022-07-12
  • 18.3.0-next-e1dd0a2f5-20221115 - 2022-11-16
  • 18.3.0-next-de7d1c907-20221223 - 2022-12-26
  • 18.3.0-next-dd5365878-20230407 - 2023-04-07
  • 18.3.0-next-dd2d65227-20220708 - 2022-07-11
  • 18.3.0-next-d962f35ca-20230418 - 2023-04-18
  • 18.3.0-next-d925a8d0b-20221024 - 2022-10-24
  • 18.3.0-next-d807eb52c-20221205 - 2022-12-06
  • 18.3.0-next-d49e0e0be-20230302 - 2023-03-02
  • 18.3.0-next-d1e35c703-20221110 - 2022-11-10
  • 18.3.0-next-d1bb1c586-20220922 - 2022-09-22
  • 18.3.0-next-d1432ba93-20220628 - 2022-06-29
  • 18.3.0-next-cf665c4b7-20220620 - 2022-06-21
  • 18.3.0-next-cf3932be5-20221027 - 2022-10-28
  • 18.3.0-next-cce18e350-20221023 - 2022-10-23
  • 18.3.0-next-cb5084d1c-20220924 - 2022-09-24
  • 18.3.0-next-ca990e9a7-20220804 - 2022-08-05
  • 18.3.0-next-ca2cf319f-20230223 - 2023-02-24
  • 18.3.0-next-c8b778b7f-20220825 - 2022-08-25
  • 18.3.0-next-c89a83695-20220923 - 2022-09-23
  • 18.3.0-next-c8369527e-20230420 - 2023-04-21
  • 18.3.0-next-c80e54116-20220907 - 2022-09-07
  • 18.3.0-next-c739cef2f-20220912 - 2022-09-12
  • 18.3.0-next-c54e3541b-20221111 - 2022-11-14
  • 18.3.0-next-c3b18571d-20220707 - 2022-07-07
  • 18.3.0-next-c28f313e6-20220908 - 2022-09-09
  • 18.3.0-next-c1f5884ff-20220705 - 2022-07-05
  • 18.3.0-next-c1d414d75-20220923 - 2022-09-23
  • 18.3.0-next-c08d8b804-20221118 - 2022-11-21
  • 18.3.0-next-bfb9cbd8c-20230223 - 2023-02-24
  • 18.3.0-next-b72ed698f-20230303 - 2023-03-03
  • 18.3.0-next-b4204ede6-20220803 - 2022-08-04
  • 18.3.0-next-b14f8da15-20230403 - 2023-04-03
  • 18.3.0-next-b14d7fa4b-20221209 - 2022-12-09
  • 18.3.0-next-b0671f9ea-20230130 - 2023-01-30
  • 18.3.0-next-afe664d9d-20220913 - 2022-09-14
  • 18.3.0-next-ae7ad8b4c-20220927 - 2022-09-27
  • 18.3.0-next-abbbdf4ce-20220930 - 2022-09-30
  • 18.3.0-next-aa9988e5e-20221010 - 2022-10-10
  • 18.3.0-next-a8c16a004-20221012 - 2022-10-13
  • 18.3.0-next-a8875eab7-20230310 - 2023-03-10
  • 18.3.0-next-a6bf46689-20221014 - 2022-10-14
  • 18.3.0-next-a4bed4696-20220627 - 2022-06-28
  • 18.3.0-next-a0619e26c-20221207 - 2022-12-07
  • 18.3.0-next-9ff738f53-20220826 - 2022-08-29
  • 18.3.0-next-9fcaf88d5-20220801 - 2022-08-02
  • 18.3.0-next-9fb2469a6-20230308 - 2023-03-08
  • 18.3.0-next-9e67e7a31-20220823 - 2022-08-23
  • 18.3.0-next-9cdf8a99e-20221018 - 2022-10-18
  • 18.3.0-next-9c54b29b4-20230322 - 2023-03-23
  • 18.3.0-next-9a9da7721-20230409 - 2023-04-10
  • 18.3.0-next-996e4c0d5-20221212 - 2022-12-12
  • 18.3.0-next-992911981-20220718 - 2022-07-19
  • 18.3.0-next-987292815-20221019 - 2022-10-19
  • 18.3.0-next-975b64464-20220914 - 2022-09-15
  • 18.3.0-next-955cad9bc-20220623 - 2022-06-24
  • 18.3.0-next-934177598-20221022 - 2022-10-22
  • 18.3.0-next-8e35b5060-20220706 - 2022-07-06
  • 18.3.0-next-8e17bfd14-20230322 - 2023-03-22
  • 18.3.0-next-8b9ac8175-20230131 - 2023-01-31
  • 18.3.0-next-8951c5fc9-20220915 - 2022-09-16
  • 18.3.0-next-86b0e9199-20230429 - 2023-05-01
  • 18.3.0-next-85de6fde5-20230328 - 2023-03-29
  • 18.3.0-next-85bb7b685-20230406 - 2023-04-06
  • 18.3.0-next-855b77c9b-20230202 - 2023-02-03
  • 18.3.0-next-84a0a171e-20221214 - 2022-12-15
  • 18.3.0-next-8342a0992-20230327 - 2023-03-27
  • 18.3.0-next-8310854ce-20230331 - 2023-03-31
  • 18.3.0-next-81d4ee9ca-20221223 - 2022-12-23
  • 18.3.0-next-819687279-20221208 - 2022-12-08
  • 18.3.0-next-7f8c501f6-20230420 - 2023-04-20
  • 18.3.0-next-7bcc68772-20220811 - 2022-08-11
  • 18.3.0-next-7b25b961d-20220930 - 2022-09-30
  • 18.3.0-next-7b0642bb9-20230412 - 2023-04-13
  • 18.3.0-next-7a4336c40-20220712 - 2022-07-13
  • 18.3.0-next-79c582981-20221021 - 2022-10-21
  • 18.3.0-next-796d31809-20220812 - 2022-08-15
  • 18.3.0-next-790ebc962-20230404 - 2023-04-05
  • 18.3.0-next-758fc7fde-20230207 - 2023-02-08
  • 18.3.0-next-703c67560-20230307 - 2023-03-07
  • 18.3.0-next-7028ce745-20220907 - 2022-09-08
  • 18.3.0-next-7002a6743-20230110 - 2023-01-11
  • 18.3.0-next-6ff1733e6-20230225 - 2023-02-27
  • 18.3.0-next-6fb8133ed-20221116 - 2022-11-17
  • 18.3.0-next-6ef466c68-20220816 - 2022-08-16
  • 18.3.0-next-6eadbe0c4-20230425 - 2023-04-26
  • 18.3.0-next-6ddcbd4f9-20230209 - 2023-02-09
  • 18.3.0-next-6883d7944-20221101 - 2022-11-01
  • 18.3.0-next-67a61d5bd-20230228 - 2023-03-01
  • 18.3.0-next-65e32e58b-20221019 - 2022-10-20
  • 18.3.0-next-65b3449c8-20221005 - 2022-10-05
  • 18.3.0-next-5fcf1a4b4-20221221 - 2022-12-22
  • 18.3.0-next-5f34b051d-20220725 - 2022-07-25
  • 18.3.0-next-5dd90c562-20230502 - 2023-05-02
  • 18.3.0-next-5d60a0b84-20221006 - 2022-10-07
  • 18.3.0-next-594093496-20230209 - 2023-02-09
  • 18.3.0-next-58742c21b-20230411 - 2023-04-11
  • 18.3.0-next-56ffca8b9-20221117 - 2022-11-18
  • 18.3.0-next-56a3c18e5-20230314 - 2023-03-14
  • 18.3.0-next-56389e81f-20220619 - 2022-06-20
  • 18.3.0-next-555ece0cd-20230112 - 2023-01-12
  • 18.3.0-next-55542bc73-20230210 - 2023-02-10
  • 18.3.0-next-54f297a60-20221017 - 2022-10-17
  • 18.3.0-next-5379b6123-20230105 - 2023-01-06
  • 18.3.0-next-522f47345-20220614 - 2022-06-15
  • 18.3.0-next-513417d69-20221007 - 2022-10-10
  • 18.3.0-next-4fcc9184a-20230217 - 2023-02-17
  • 18.3.0-next-4f8ffec45-20230115 - 2023-01-16
  • 18.3.0-next-4ea063b56-20221101 - 2022-11-02
  • 18.3.0-next-4dda96a40-20221213 - 2022-12-13
  • 18.3.0-next-4cd788aef-20220630 - 2022-07-01
  • 18.3.0-next-4bf2113a1-20230206 - 2023-02-06
  • 18.3.0-next-4bd245e9e-20221104 - 2022-11-04
  • 18.3.0-next-4a4ef2706-20230212 - 2023-02-13
  • 18.3.0-next-49f8254d6-20220722 - 2022-07-22
  • 18.3.0-next-49f741046-20230305 - 2023-03-06
  • 18.3.0-next-491aec5d6-20230501 - 2023-05-01
  • 18.3.0-next-47cf4e578-20230315 - 2023-03-15
  • 18.3.0-next-41b4714f1-20230328 - 2023-03-28
  • 18.3.0-next-41110021f-20230301 - 2023-03-01
  • 18.3.0-next-3f3b46c84-20220730 - 2022-08-01
  • 18.3.0-next-3de926449-20220927 - 2022-09-28
  • 18.3.0-next-3ddbedd05-20220719 - 2022-07-20
  • 18.3.0-next-3d615fc14-20220919 - 2022-09-19
  • 18.3.0-next-3d443cad7-20220823 - 2022-08-24
  • 18.3.0-next-3ba7add60-20221201 - 2022-12-01
  • 18.3.0-next-3b814327e-20221014 - 2022-10-14
  • 18.3.0-next-39a3b72c6-20230414 - 2023-04-14
  • 18.3.0-next-3706edb81-20230308 - 2023-03-09
  • 18.3.0-next-3554c8852-20230320 - 2023-03-20
  • 18.3.0-next-353c30252-20221202 - 2022-12-02
  • 18.3.0-next-338e6a967-20221004 - 2022-10-04
  • 18.3.0-next-32baab38f-20220811 - 2022-08-12
  • 18.3.0-next-30eb267ab-20220708 - 2022-07-08
  • 18.3.0-next-2ef24145e-20230202 - 2023-02-03
  • 18.3.0-next-2d80a0cd6-20221003 - 2022-10-03
  • 18.3.0-next-2cf4352e1-20221011 - 2022-10-11
  • 18.3.0-next-2c7dea736-20220726 - 2022-07-26
  • 18.3.0-next-2b1fb91a5-20221220 - 2022-12-21
  • 18.3.0-next-2ac77aab9-20221029 - 2022-10-31
  • 18.3.0-next-28a574ea8-20221027 - 2022-10-27
  • 18.3.0-next-2655c9354-20221121 - 2022-11-22
  • 18.3.0-next-2619886ac-20230105 - 2023-01-05
  • 18.3.0-next-229c86af0-20220616 - 2022-06-16
  • 18.3.0-next-21021fb0f-20230412 - 2023-04-12
  • 18.3.0-next-20a257c25-20220929 - 2022-09-29
  • 18.3.0-next-1f248bdd7-20230419 - 2023-04-19
  • 18.3.0-next-1e5245df8-20220817 - 2022-08-17
  • 18.3.0-next-1e3e30dae-20221108 - 2022-11-08
  • 18.3.0-next-1d3fc9c9c-20221023 - 2022-10-23
  • 18.3.0-next-1a08f1478-20221103 - 2022-11-03
  • 18.3.0-next-19e9a4c68-20220818 - 2022-08-18
  • 18.3.0-next-189f70e17-20230216 - 2023-02-16
  • 18.3.0-next-18282f881-20230428 - 2023-04-28
  • 18.3.0-next-17e2a15be-20220808 - 2022-08-08
  • 18.3.0-next-167853026-20220626 - 2022-06-27
  • 18.3.0-next-1528c5ccd-20230306 - 2023-03-06
  • 18.3.0-next-1308e49a6-20230330 - 2023-03-30
  • 18.3.0-next-12a1d140e-20230321 - 2023-03-21
  • 18.3.0-next-0ffc7f632-20230330 - 2023-03-30
  • 18.3.0-next-0f4a83596-20230110 - 2023-01-10
  • 18.3.0-next-0de3ddf56-20220825 - 2022-08-26
  • 18.3.0-next-0cac4d54c-20220921 - 2022-09-21
  • 18.3.0-next-0c11baa6a-20221022 - 2022-10-22
  • 18.3.0-next-0ba4698c7-20230201 - 2023-02-01
  • 18.3.0-next-0b974418c-20230106 - 2023-01-09
  • 18.3.0-next-0b54e0047-20220914 - 2022-09-15
  • 18.3.0-next-02206099a-20220714 - 2022-07-14
  • 18.3.0-canary-feed8f3f9-20240118 - 2024-01-19
  • 18.3.0-canary-fdc8c81e0-20230707 - 2023-07-07
  • 18.3.0-canary-fdb368d9e-20230725 - 2023-07-26
  • 18.3.0-canary-fda1f0b90-20230509 - 2023-05-09
  • 18.3.0-canary-fc801116c-20230629 - 2023-06-29
  • 18.3.0-canary-fbc9b68d6-20231123 - 2023-11-23
  • 18.3.0-canary-fb10a2c66-20240228 - 2024-02-29
  • 18.3.0-canary-f81c0f1ed-20230927 - 2023-09-27
  • 18.3.0-canary-f359f9b41-20230810 - 2023-08-10
  • 18.3.0-canary-f1039be4a-20240107 - 2024-01-08
  • 18.3.0-canary-f0e808e5b-20240214 - 2024-02-14
  • 18.3.0-canary-efb381bbf-20230505 - 2023-05-05
  • 18.3.0-canary-ee68446ff-20231115 - 2023-11-15
  • 18.3.0-canary-eb33bd747-20240312 - 2024-03-12
  • 18.3.0-canary-ea17cc18f-20230807 - 2023-08-07
  • 18.3.0-canary-e91142dd6-20230705 - 2023-07-06
  • 18.3.0-canary-e61a60fac-20231011 - 2023-10-12
  • 18.3.0-canary-e5205658f-20230913 - 2023-09-13
  • 18.3.0-canary-e3fb7c1de-20230621 - 2023-06-21
  • 18.3.0-canary-e373190fa-20240325 - 2024-03-25
  • 18.3.0-canary-e1d20fc0c-20240122 - 2024-01-22
  • 18.3.0-canary-e1ad4aa36-20230601 - 2023-06-02
  • 18.3.0-canary-df12d7eac-20230510 - 2023-05-11
  • 18.3.0-canary-ddff50469-20230829 - 2023-08-29
  • 18.3.0-canary-dddfe6882-20231005 - 2023-10-05
  • 18.3.0-canary-dd480ef92-20230822 - 2023-08-22
  • 18.3.0-canary-db69f95e4-20231002 - 2023-10-03
  • 18.3.0-canary-d900fadbf-20230929 - 2023-09-29
  • 18.3.0-canary-d803f519e-20231020 - 2023-10-20
  • 18.3.0-canary-d7a98a5e9-20230517 - 2023-05-17
  • 18.3.0-canary-d6dcad6a8-20230914 - 2023-09-14
  • 18.3.0-canary-d445cee60-20230718 - 2023-07-19
  • 18.3.0-canary-d3def4793-20240208 - 2024-02-08
  • 18.3.0-canary-d1c8cdae3-20230619 - 2023-06-20
  • 18.3.0-canary-ce6842d8f-20230610 - 2023-06-12
  • 18.3.0-canary-ce2bc58a9-20231102 - 2023-11-03
  • 18.3.0-canary-cb3404a0c-20230807 - 2023-08-08
  • 18.3.0-canary-cb2439624-20231219 - 2023-12-19
  • 18.3.0-canary-c8deb5db6-20230622 - 2023-06-22
  • 18.3.0-canary-c5b937576-20231219 - 2023-12-21
  • 18.3.0-canary-c47c306a7-20231109 - 2023-11-09
  • 18.3.0-canary-c3048aab4-20240326 - 2024-03-26
  • 18.3.0-canary-c29ca23af-20231205 - 2023-12-05
  • 18.3.0-canary-c17a27ef4-20231127 - 2023-11-28
  • 18.3.0-canary-bff6be8eb-20230925 - 2023-09-26
  • 18.3.0-canary-be67db46b-20231010 - 2023-10-10
  • 18.3.0-canary-bbc8530ed-20230912 - 2023-09-12
  • 18.3.0-canary-bbb9cb116-20231117 - 2023-11-17
  • 18.3.0-canary-bb0944fe5-20240313 - 2024-03-13
  • 18.3.0-canary-ba5e6a832-20240208 - 2024-02-09
  • 18.3.0-canary-b9be4537c-20230905 - 2023-09-06
  • 18.3.0-canary-b8e47d988-20231023 - 2023-10-23
  • 18.3.0-canary-b7972822b-20230503 - 2023-05-03
  • 18.3.0-canary-b5810163e-20230509 - 2023-05-10
  • 18.3.0-canary-b4cdd3e89-20230823 - 2023-08-23
  • 18.3.0-canary-b36ae8d7a-20231207 - 2023-12-07
  • 18.3.0-canary-b30030471-20240117 - 2024-01-18
  • 18.3.0-canary-b2d637128-20240123 - 2024-01-23
  • 18.3.0-canary-b27725923-20230821 - 2023-08-21
  • 18.3.0-canary-b00e27342-20230505 - 2023-05-05
  • 18.3.0-canary-aef7ce554-20230503 - 2023-05-03
  • 18.3.0-canary-aec521a96-20231114 - 2023-11-15
  • 18.3.0-canary-ade82b8dd-20230816 - 2023-08-17
  • 18.3.0-canary-ad720f36e-20240206 - 2024-02-06
  • 18.3.0-canary-aba93acb6-20231205 - 2023-12-06
  • 18.3.0-canary-ab31a9ed2-20230824 - 2023-08-25
  • 18.3.0-canary-a9cc32511-20240215 - 2024-02-16
  • 18.3.0-canary-a9985529f-20231025 - 2023-10-25
  • 18.3.0-canary-a870b2d54-20240314 - 2024-03-14
  • 18.3.0-canary-a6ed60a8e-20230929 - 2023-10-02
  • 18.3.0-canary-a515d753b-20240220 - 2024-02-20
  • 18.3.0-canary-a4939017f-20240320 - 2024-03-20
  • 18.3.0-canary-a41957507-20231017 - 2023-10-17
  • 18.3.0-canary-a3aae7fb0-20231208 - 2023-12-08
  • 18.3.0-canary-a389046a5-20230512 - 2023-05-12
  • 18.3.0-canary-a20eea251-20230809 - 2023-08-10
  • 18.3.0-canary-a1f97589f-20230526 - 2023-05-30
  • 18.3.0-canary-a1c62b8a7-20230627 - 2023-06-28
  • 18.3.0-canary-a17467e7e-20231102 - 2023-11-02
  • 18.3.0-canary-9f4fbec5f-20230717 - 2023-07-18
  • 18.3.0-canary-9ba1bbd65-20230922 - 2023-09-22
  • 18.3.0-canary-9b4f847d9-20230901 - 2023-09-01
  • 18.3.0-canary-9abf6fa31-20231017 - 2023-10-17
  • 18.3.0-canary-9a72e6227-20230525 - 2023-05-25
  • 18.3.0-canary-997f52fbb-20230803 - 2023-08-04
  • 18.3.0-canary-98f3f14d2-20230818 - 2023-08-18
  • 18.3.0-canary-98b8359f6-20240223 - 2024-02-23
  • 18.3.0-canary-971b62f47-20240129 - 2024-01-29
  • 18.3.0-canary-966d17483-20240305 - 2024-03-05
  • 18.3.0-canary-9617d39ec-20231018 - 2023-10-18
  • 18.3.0-canary-95ec12839-20240205 - 2024-02-05
  • 18.3.0-canary-953cb02f6-20230907 - 2023-09-07
  • 18.3.0-canary-9377e1010-20230712 - 2023-07-12
  • 18.3.0-canary-910045696-20230607 - 2023-06-07
  • 18.3.0-canary-8ec962d82-20230623 - 2023-06-23
  • 18.3.0-canary-8c8ee9ee6-20231026 - 2023-10-26
  • 18.3.0-canary-8bb6ee1d3-20240125 - 2024-01-25
  • 18.3.0-canary-88df88f94-20230613 - 2023-06-13
  • 18.3.0-canary-88d56b8e8-20231004 - 2023-10-04
  • 18.3.0-canary-87cb0bf18-20231129 - 2023-11-30
  • 18.3.0-canary-8039e6d0b-20231026 - 2023-10-26
  • 18.3.0-canary-7cd98ef2b-20230509 - 2023-05-10
  • 18.3.0-canary-7ac5e9a60-20230508 - 2023-05-08
  • 18.3.0-canary-77c4ac2ce-20231031 - 2023-11-01
  • 18.3.0-canary-763612647-20240126 - 2024-01-26
  • 18.3.0-canary-7508dcd5c-20231108 - 2023-11-08
  • 18.3.0-canary-746890329-20231108 - 2023-11-09
  • 18.3.0-canary-7118f5dd7-20230705 - 2023-07-05
  • 18.3.0-canary-6f1324395-20231004 - 2023-10-04
  • 18.3.0-canary-6db7f4209-20231021 - 2023-10-23
  • 18.3.0-canary-6c7b41da3-20231123 - 2023-11-24
  • 18.3.0-canary-6c3b8dbfe-20240226 - 2024-02-26
  • 18.3.0-canary-6b3834a45-20231110 - 2023-11-10
  • 18.3.0-canary-6aacd3fa1-20230626 - 2023-06-27
  • 18.3.0-canary-67cc9ba87-20231016 - 2023-10-16
  • 18.3.0-canary-670811593-20240322 - 2024-03-22
  • 18.3.0-canary-6639ed3b3-20240111 - 2024-01-11
  • 18.3.0-canary-640ccebb7-20231201 - 2023-12-04
  • 18.3.0-canary-627b7abd6-20230911 - 2023-09-11
  • 18.3.0-canary-62512bafc-20230928 - 2023-09-28
  • 18.3.0-canary-613e6f5fc-20230616 - 2023-06-16
  • 18.3.0-canary-60a927d04-20240113 - 2024-01-14
  • 18.3.0-canary-5dd35968b-20231201 - 2023-12-01
  • 18.3.0-canary-5c607369c-20240116 - 2024-01-17
  • 18.3.0-canary-5bcade5fc-20231208 - 2023-12-08
  • 18.3.0-canary-59831c98c-20240218 - 2024-02-19
  • 18.3.0-canary-596827f6a-20240205 - 2024-02-05
  • 18.3.0-canary-593ecee66-20231114 - 2023-11-14
  • 18.3.0-canary-587ae49d7-20230720 - 2023-07-20
  • 18.3.0-canary-56e20051c-20240311 - 2024-03-11
  • 18.3.0-canary-546fe4681-20230713 - 2023-07-13
  • 18.3.0-canary-546178f91-20231005 - 2023-10-05
  • 18.3.0-canary-53ac21937-20230703 - 2023-07-03
  • 18.3.0-canary-537228f9f-20231010 - 2023-10-11
  • 18.3.0-canary-535c038d1-20230522 - 2023-05-23
  • 18.3.0-canary-533fc28c1-20230810 - 2023-08-11
  • 18.3.0-canary-5309f1028-20230517 - 2023-05-18
  • 18.3.0-canary-52d542ad6-20231107 - 2023-11-08
  • 18.3.0-canary-51ffd3564-20231025 - 2023-10-25
  • 18.3.0-canary-4ddc019ac-20230614 - 2023-06-14
  • 18.3.0-canary-4cd706566-20230512 - 2023-05-14
  • 18.3.0-canary-4b877b6c6-20230519 - 2023-05-22
  • 18.3.0-canary-4b84f1161-20240318 - 2024-03-19
  • 18.3.0-canary-4b2a1115a-20240202 - 2024-02-02
  • 18.3.0-canary-49eba0193-20230926 - 2023-09-27
  • 18.3.0-canary-493f72b0a-20230727 - 2023-07-27
  • 18.3.0-canary-47beb96cc-20240222 - 2024-02-22
  • 18.3.0-canary-456d153bb-20230828 - 2023-08-28
  • 18.3.0-canary-432b9f1d9-20231110 - 2023-11-13
  • 18.3.0-canary-41f0e9dae-20230907 - 2023-09-08
  • 18.3.0-canary-3ff846d10-20230724 - 2023-07-24
  • 18.3.0-canary-3e00e58a6-20231217 - 2023-12-18
  • 18.3.0-canary-3d9b20132-20240124 - 2024-01-24
  • 18.3.0-canary-3c27178a2-20230920 - 2023-09-21
  • 18.3.0-canary-3bcd2de01-20240227 - 2024-02-27
  • 18.3.0-canary-388686f29-20230503 - 2023-05-03
  • 18.3.0-canary-3808b01b3-20230830 - 2023-08-31
  • 18.3.0-canary-338dddc08-20240307 - 2024-03-08
  • 18.3.0-canary-31603f19d-20240109 - 2024-01-09
  • 18.3.0-canary-2f8f77602-20240229 - 2024-03-01
  • 18.3.0-canary-2e470a788-20240214 - 2024-02-15
  • 18.3.0-canary-2cd19ed1d-20240207 - 2024-02-07
  • 18.3.0-canary-2c338b16f-20231116 - 2023-11-16
  • 18.3.0-canary-2bc7d336a-20240205 - 2024-02-06
  • 18.3.0-canary-2983249dd-20231107 - 2023-11-07
  • 18.3.0-canary-2807d781a-20230918 - 2023-09-18
  • 18.3.0-canary-247738465-20240130 - 2024-01-30
  • 18.3.0-canary-21a161fa3-20230609 - 2023-06-09
  • 18.3.0-canary-2153a2966-20230628 - 2023-06-29
  • 18.3.0-canary-20c91b653-20231018 - 2023-10-18
  • 18.3.0-canary-201becd3d-20230808 - 2023-08-09
  • 18.3.0-canary-1fdacbefd-20230630 - 2023-06-30
  • 18.3.0-canary-1d5667a12-20240102 - 2024-01-03
  • 18.3.0-canary-1cea38448-20230530 - 2023-05-31
  • 18.3.0-canary-1b1dcb8a4-20230920 - 2023-09-20
  • 18.3.0-canary-1a001dac6-20230812 - 2023-08-12
  • 18.3.0-canary-16d053d59-20230506 - 2023-05-07
  • 18.3.0-canary-151e75a12-20231010 - 2023-10-10
  • 18.3.0-canary-14fd9630e-20240213 - 2024-02-13
  • 18.3.0-canary-14898b6a9-20240318 - 2024-03-18
  • 18.3.0-canary-13d0225c7-20230928 - 2023-09-28
  • 18.3.0-canary-1219d57fc-20240201 - 2024-02-01
  • 18.3.0-canary-0fb5b61ac-20230814 - 2023-08-15
  • 18.3.0-canary-0e352ea01-20231109 - 2023-11-10
  • 18.3.0-canary-0cdfef19b-20231211 - 2023-12-11
  • 18.3.0-canary-0c6348758-20231030 - 2023-10-30
  • 18.3.0-canary-0ac3ea471-20240111 - 2024-01-12
  • 18.3.0-canary-0a360642d-20230711 - 2023-07-12
  • 18.3.0-canary-09fbee89d-20231013 - 2023-10-13
  • 18.3.0-canary-09285d5a7-20230925 - 2023-09-25
  • 18.3.0-canary-08cd087ca-20240110 - 2024-01-10
  • 18.3.0-canary-08a39539f-20231031 - 2023-11-01
  • 18.3.0-canary-03d6f7cf0-20240209 - 2024-02-09
  • 18.3.0-canary-035a41c4e-20230704 - 2023-07-04
  • 18.3.0-canary-034130c02-20240303 - 2024-03-04
  • 18.3.0-canary-0210f0b08-20230525 - 2023-05-26
  • 18.3.0-canary-01ab35a9a-20240228 - 2024-02-28
  • 18.3.0-canary-018c58c9c-20230601 - 2023-06-01
  • 18.3.0-canary-0066e0b68-20240306 - 2024-03-06
  • 18.2.0 - 2022-06-14

    React DOM

    React DOM Server

    • Pass information about server errors to the client. (@ salazarm and @ gnoff in #24551 and #24591)
    • Allow to provide a reason when aborting the HTML stream. (@ gnoff in #24680)
    • Eliminate extraneous text separators in the HTML where possible. (@ gnoff in #24630)
    • Disallow complex children inside <title> elements to match the browser constraints. (@ gnoff in #24679)
    • Fix buffering in some worker environments by explicitly setting highWaterMark to 0. (@ jplhomer in #24641)

    Server Components (Experimental)

    • Add support for useId() inside Server Components. (@ gnoff) in #24172
  • 18.2.0-next-f7b44539c-20220610 - 2022-06-10
  • 18.2.0-next-e531a4a62-20220505 - 2022-05-06
  • 18.2.0-next-d89657bc8-20220519 - 2022-05-19
  • 18.2.0-next-d4acbe85d-20220505 - 2022-05-05
  • 18.2.0-next-d300cebde-20220601 - 2022-06-03
  • 18.2.0-next-d2c9e834a-20220601 - 2022-06-01
  • 18.2.0-next-d20c3af9d-20220506 - 2022-05-09
  • 18.2.0-next-ce1386028-20220428 - 2022-04-29
  • 18.2.0-next-c7e494b55-20220503 - 2022-05-04
  • 18.2.0-next-c5e039d9b-20220516 - 2022-05-16
  • 18.2.0-next-be229c565-20220613 - 2022-06-14
  • 18.2.0-next-aec575914-20220529 - 2022-05-31
  • 18.2.0-next-a412d787e-20220518 - 2022-05-18
  • 18.2.0-next-a2505792e-20220524 - 2022-05-24
  • 18.2.0-next-9f80a48ad-20220427 - 2022-04-27
  • 18.2.0-next-99eef9e2d-20220503 - 2022-05-03
  • 18.2.0-next-82c64e1a4-20220520 - 2022-05-23
  • 18.2.0-next-8186b1937-20220608 - 2022-06-09
  • 18.2.0-next-7d9e17a98-20220511 - 2022-05-11
  • 18.2.0-next-7a5b8227c-20220602 - 2022-06-03
  • 18.2.0-next-6e2f38f3a-20220519 - 2022-05-20
  • 18.2.0-next-52c434be1-20220512 - 2022-05-12
  • 18.2.0-next-4ddd8b455-20220606 - 2022-06-06
  • 18.2.0-next-47944142f-20220608 - 2022-06-08
  • 18.2.0-next-357a61324-20220516 - 2022-05-17
  • 18.2.0-next-340060ccc-20220428 - 2022-04-28
  • 18.2.0-next-327e4a1f9-20220613 - 2022-06-13
  • 18.2.0-next-3133dfa6e-20220526 - 2022-05-26
  • 18.2.0-next-2c8a1452b-20220512 - 2022-05-13
  • 18.2.0-next-2c68776ab-20220525 - 2022-05-25
  • 18.1.0 - 2022-04-26

    React DOM

    React DOM Server

    • Fix escaping for the bootstrapScriptContent contents. (@ gnoff in #24385)
    • Significantly improve performance of renderToPipeableStream. (@ gnoff in #24291)

    ESLint Plugin: React Hooks

    • Fix false positive errors with a large number of branches. (@ scyron6 in #24287)
    • Don't consider a known dependency stable when the variable is reassigned. (@ afzalsayed96 in #24343)

    Use Subscription

    • Replace the implementation with the use-sync-external-store shim. (@ gaearon in #24289)
  • 18.1.0-next-fc47cb1b6-20220404 - 2022-04-04
  • 18.1.0-next-f7cf077cc-20220412 - 2022-04-12
  • 18.1.0-next-ebd7ff65b-20220401 - 2022-04-01
  • 18.1.0-next-df5d32f23-20220411 - 2022-04-11
  • 18.1.0-next-ddb1ab1e9-20220413 - 2022-04-14
  • 18.1.0-next-bd4784c8f-20220425 - 2022-04-26
  • 18.1.0-next-bd0813766-20220420 - 2022-04-21
  • 18.1.0-next-af730436c-20220405 - 2022-04-05
  • 18.1.0-next-aa05e7315-20220331 - 2022-03-31
  • 18.1.0-next-726ba8029-20220415 - 2022-04-15
  • 18.1.0-next-5b2e7253f-20220408 - 2022-04-08
  • 18.1.0-next-354772952-20220420 - 2022-04-20
  • 18.1.0-next-2bf5eba72-20220416 - 2022-04-18
  • 18.1.0-next-168da8d55-20220412 - 2022-04-13
  • 18.1.0-next-057915477-20220407 - 2022-04-07
  • 18.1.0-next-0568c0f8c-20220409 - 2022-04-11
  • 18.0.0 - 2022-03-29

    Below is a list of all new features, APIs, deprecations, and breaking changes.
    Read React 18 release post and React 18 upgrade guide for more information.

    New Features

    React

    • useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.
    • startTransition and useTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).
    • useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.
    • useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need for useEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.
    • useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.

    React DOM Client

    These new APIs are now exported from react-dom/client:

    • createRoot: New method to create a root to render or unmount. Use it instead of ReactDOM.render. New features in React 18 don't work without it.
    • hydrateRoot: New method to hydrate a server rendered application. Use it instead of ReactDOM.hydrate in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.

    Both createRoot and hydrateRoot accept a new option called onRecoverableError in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will use reportError, or console.error in the older browsers.

    React DOM Server

    These new APIs are now exported from react-dom/server and have full support for streaming Suspense on the server:

    • renderToPipeableStream: for streaming in Node environments.
    • renderToReadableStream: for modern edge runtime environments, such as Deno and Cloudflare workers.

    The existing renderToString method keeps working but is discouraged.

    Deprecations

    • react-dom: ReactDOM.render has been deprecated. Using it will warn and run your app in React 17 mode.
    • react-dom: ReactDOM.hydrate has been deprecated. Using it will warn and run your app in React 17 mode.
    • react-dom: ReactDOM.unmountComponentAtNode has been deprecated.
    • react-dom: ReactDOM.renderSubtreeIntoContainer has been deprecated.
    • react-dom/server: ReactDOMServer.renderToNodeStream has been deprecated.

    Breaking Changes

    React

    • Automatic batching: This release introduces a performance improvement that changes to the way React batches updates to do more batching automatically. See Automatic batching for fewer renders in React 18 for more info. In the rare case that you need to opt out, wrap the state update in flushSync.
    • Stricter Strict Mode: In the future, React will provide a feature that lets components preserve state between unmounts. To prepare for it, React 18 introduces a new development-only check to Strict Mode. React will automatically unmount and remount every component, whenever a component mounts for the first time, restoring the previous state on the second mount. If this breaks your app, consider removing Strict Mode until you can fix the components to be resilient to remounting with existing state.
    • Consistent useEffect timing: React now always synchronously flushes effect functions if the update was triggered during a discrete user input event such as a click or a keydown event. Previously, the behavior wasn't always predictable or consistent.
    • Stricter hydration errors: Hydration mismatches due to missing or extra text content are now treated like errors instead of warnings. React will no longer attempt to "patch up" individual nodes by inserting or deleting a node on the client in an attempt to match the server markup, and will revert to client rendering up to the closest <Suspense> boundary in the tree. This ensures the hydrated tree is consistent and avoids potential privacy and security holes that can be caused by hydration mismatches.
    • Suspense trees are always consistent: If a component suspends before it's fully added to the tree, React will not add it to the tree in an incomplete state or fire its effects. Instead, React will throw away the new tree completely, wait for the asynchronous operation to finish, and then retry rendering again from scratch. React will render the retry attempt concurrently, and without blocking the browser.
    • Layout Effects with Suspense: When a tree re-suspends and reverts to a fallback, React will now clean up layout effects, and then re-create them when the content inside the boundary is shown again. This fixes an issue which prevented component libraries from correctly measuring layout when used with Suspense.
    • New JS Environment Requirements: React now depends on modern browsers features including Promise, Symbol, and Object.assign. If you support older browsers and devices such as Internet Explorer which do not provide modern browser features natively or have non-compliant implementations, consider including a global polyfill in your bundled application.

    Scheduler (Experimental)

    • Remove unstable scheduler/tracing API

    Notable Changes

    React

    • Components can now render undefined: React no longer throws if you return undefined from a component. This makes the allowed component return values consistent with values that are allowed in the middle of a component tree. We suggest to use a linter to prevent mistakes like forgetting a return statement before JSX.
    • In tests, act warnings are now opt-in: If you're running end-to-end tests, the act warnings are unnecessary. We've introduced an opt-in mechanism so you can enable them only for unit tests where they are useful and beneficial.
    • No warning about setState on unmounted components: Previously, React warned about memory leaks when you call setState on an unmounted component. This warning was added for subscriptions, but people primarily run into it in scenarios where setting state is fine, and workarounds make the code worse. We've removed this warning.
    • No suppression of console logs: When you use Strict Mode, React renders each component twice to help you find unexpected side effects. In React 17, we've suppressed console logs for one of the two renders to make the logs easier to read. In response to community feedback about this being confusing, we've removed the suppression. Instead, if you have React DevTools installed, the second log's renders will be displayed in grey, and there will be an option (off by default) to suppress them completely.
    • Improved memory usage: React now cleans up more internal fields on unmount, making the impact from unfixed memory leaks that may exist in your application code less severe.

    React DOM Server

    • renderToString: Will no longer error when suspending on the server. Instead, it will emit the fallback HTML for the closest <Suspense> boundary and then retry rendering the same content on the client. It is still recommended that you switch to a streaming API like renderToPipeableStream or renderToReadableStream instead.
    • renderToStaticMarkup: Will no longer error when suspending on the server. Instead, it will emit the fallback HTML for the closest <Suspense> boundary and retry rendering on the client.

    All Changes

    React

Snyk has created this PR to upgrade:
  - react from 17.0.2 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react
  - react-dom from 17.0.2 to 18.3.1.
    See this package in npm: https://www.npmjs.com/package/react-dom

See this project in Snyk:
https://app.snyk.io/org/q1blue-rxw/project/af4b3468-e999-40c4-af5a-a1d5ed3e7158?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants