Skip to content

[Snyk] Upgrade react-dom from 18.3.1 to 19.2.1#952

Closed
0xk4b1r wants to merge 844 commits into
devfrom
snyk-upgrade-d7361eed3ed7c78bf3db135ad1d63eeb
Closed

[Snyk] Upgrade react-dom from 18.3.1 to 19.2.1#952
0xk4b1r wants to merge 844 commits into
devfrom
snyk-upgrade-d7361eed3ed7c78bf3db135ad1d63eeb

Conversation

@0xk4b1r

@0xk4b1r 0xk4b1r commented Dec 27, 2025

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to upgrade react-dom from 18.3.1 to 19.2.1.

ℹ️ 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 421 versions ahead of your current version.

  • The recommended version was released 24 days ago.

Release notes
Package name: react-dom
  • 19.2.1 - 2025-12-03
  • 19.2.0 - 2025-10-01

    Below is a list of all new features, APIs, and bug fixes.

    Read the React 19.2 release post for more information.

    New React Features

    • <Activity>: A new API to hide and restore the UI and internal state of its children.
    • useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
    • cacheSignal (for RSCs) lets your know when the cache() lifetime is over.
    • React Performance tracks appear on the Performance panel’s timeline in your browser developer tools

    New React DOM Features

    • Added resume APIs for partial pre-rendering with Web Streams:
    • Added resume APIs for partial pre-rendering with Node Streams:
    • Updated prerender APIs to return a postponed state that can be passed to the resume APIs.

    Notable changes

    • React DOM now batches suspense boundary reveals, matching the behavior of client side rendering. This change is especially noticeable when animating the reveal of Suspense boundaries e.g. with the upcoming <ViewTransition> Component. React will batch as much reveals as possible before the first paint while trying to hit popular first-contentful paint metrics.
    • Add Node Web Streams (prerender, renderToReadableStream) to server-side-rendering APIs for Node.js
    • Use underscore instead of : IDs generated by useId

    All Changes

    React

    React DOM

    React Server Components

    React Reconciler

    eslint-plugin-react-hooks@6.1.0

    Note: Version 6.0.0 was mistakenly released and immediately deprecated and untagged on npm. This is the first official 6.x major release and includes breaking changes.

    • Breaking: Require Node.js 18 or newer. (@ michaelfaith in #32458)
    • Breaking: Flat config is now the default recommended preset. Legacy config moved to recommended-legacy. (@ michaelfaith in #32457)
    • New Violations: Disallow calling use within try/catch blocks. (@ poteto in #34040)
    • New Violations: Disallow calling useEffectEvent functions in arbitrary closures. (@ jbrown215 in #33544)
    • Handle React.useEffect in addition to useEffect in rules-of-hooks. (@ Ayc0 in #34076)
    • Added react-hooks settings config option that to accept additionalEffectHooks that are used across exhaustive-deps and rules-of-hooks rules. (@ jbrown215) in #34497
  • 19.2.0-canary-fa3feba6-20250623 - 2025-06-23
  • 19.2.0-canary-f9ae0a4c-20250527 - 2025-05-27
  • 19.2.0-canary-f7396427-20250501 - 2025-05-02
  • 19.2.0-canary-f508edc8-20250818 - 2025-08-18
  • 19.2.0-canary-f3a80361-20250911 - 2025-09-11
  • 19.2.0-canary-f1e70b5e-20250811 - 2025-08-11
  • 19.2.0-canary-f1222f76-20250812 - 2025-08-13
  • 19.2.0-canary-ef8b6fa2-20250702 - 2025-07-03
  • 19.2.0-canary-ef889445-20250930 - 2025-09-30
  • 19.2.0-canary-edac0dde-20250723 - 2025-07-23
  • 19.2.0-canary-eaee5308-20250728 - 2025-07-28
  • 19.2.0-canary-ea05b750-20250408 - 2025-04-09
  • 19.2.0-canary-e9db3cc2-20250501 - 2025-05-01
  • 19.2.0-canary-e9638c33-20250721 - 2025-07-21
  • 19.2.0-canary-e6dc25da-20250709 - 2025-07-09
  • 19.2.0-canary-e5dd82a7-20250401 - 2025-04-01
  • 19.2.0-canary-e2332183-20250924 - 2025-09-24
  • 19.2.0-canary-dffacc7b-20250717 - 2025-07-17
  • 19.2.0-canary-df38ac9a-20250926 - 2025-09-26
  • 19.2.0-canary-de5a1b20-20250905 - 2025-09-05
  • 19.2.0-canary-d92056ef-20250627 - 2025-06-27
  • 19.2.0-canary-d85f86cf-20250514 - 2025-05-14
  • 19.2.0-canary-d85ec5f5-20250716 - 2025-07-16
  • 19.2.0-canary-d415fd3e-20250919 - 2025-09-19
  • 19.2.0-canary-d15d7fd7-20250929 - 2025-09-29
  • 19.2.0-canary-cee7939b-20250625 - 2025-06-25
  • 19.2.0-canary-c498bfce-20250426 - 2025-04-28
  • 19.2.0-canary-c4676e72-20250520 - 2025-05-20
  • 19.2.0-canary-c44e4a25-20250409 - 2025-04-10
  • 19.2.0-canary-c260b38d-20250731 - 2025-07-31
  • 19.2.0-canary-c129c242-20250505 - 2025-05-05
  • 19.2.0-canary-c0464aed-20250523 - 2025-05-26
  • 19.2.0-canary-befc1246-20250708 - 2025-07-08
  • 19.2.0-canary-be11cb5c-20250804 - 2025-08-04
  • 19.2.0-canary-bdb4a96f-20250801 - 2025-08-01
  • 19.2.0-canary-bc6184dd-20250417 - 2025-04-18
  • 19.2.0-canary-bbc13fa1-20250624 - 2025-06-24
  • 19.2.0-canary-bb6f0c8d-20250901 - 2025-09-01
  • 19.2.0-canary-b9cfa0d3-20250505 - 2025-05-05
  • 19.2.0-canary-b9a04536-20250904 - 2025-09-04
  • 19.2.0-canary-b94603b9-20250513 - 2025-05-13
  • 19.2.0-canary-b7e2de63-20250611 - 2025-06-11
  • 19.2.0-canary-b6c0aa88-20250609 - 2025-06-09
  • 19.2.0-canary-b4477d38-20250605 - 2025-06-05
  • 19.2.0-canary-b1b0955f-20250901 - 2025-09-01
  • 19.2.0-canary-b10cb4c0-20250403 - 2025-04-03
  • 19.2.0-canary-b0c1dc01-20250925 - 2025-09-25
  • 19.2.0-canary-b07717d8-20250528 - 2025-05-28
  • 19.2.0-canary-b04254fd-20250415 - 2025-04-16
  • 19.2.0-canary-ac7820a9-20250811 - 2025-08-11
  • 19.2.0-canary-ab859e31-20250606 - 2025-06-06
  • 19.2.0-canary-aad7c664-20250829 - 2025-08-29
  • 19.2.0-canary-a96a0f39-20250815 - 2025-08-15
  • 19.2.0-canary-a7a11657-20250708 - 2025-07-08
  • 19.2.0-canary-a00ca6f6-20250611 - 2025-06-11
  • 19.2.0-canary-9be531cd-20250729 - 2025-07-29
  • 19.2.0-canary-99efc627-20250523 - 2025-05-23
  • 19.2.0-canary-97cdd5d3-20250710 - 2025-07-11
  • 19.2.0-canary-9784cb37-20250730 - 2025-07-30
  • 19.2.0-canary-96c61b7f-20250709 - 2025-07-10
  • 19.2.0-canary-93d7aa69-20250912 - 2025-09-12
  • 19.2.0-canary-914319ae-20250423 - 2025-04-23
  • 19.2.0-canary-8e60cb7e-20250902 - 2025-09-02
  • 19.2.0-canary-8d7b5e49-20250827 - 2025-08-28
  • 19.2.0-canary-8ce15b0f-20250522 - 2025-05-22
  • 19.2.0-canary-8bb7241f-20250926 - 2025-09-26
  • 19.2.0-canary-8a8e9a7e-20250912 - 2025-09-12
  • 19.2.0-canary-89a803fc-20250828 - 2025-08-28
  • 19.2.0-canary-886b3d36-20250910 - 2025-09-10
  • 19.2.0-canary-873f7112-20250821 - 2025-08-21
  • 19.2.0-canary-86181134-20251001 - 2025-10-01
  • 19.2.0-canary-84af9085-20250917 - 2025-09-18
  • 19.2.0-canary-83c88ad4-20250923 - 2025-09-23
  • 19.2.0-canary-7deda941-20250804 - 2025-08-05
  • 19.2.0-canary-7a2c7045-20250506 - 2025-05-06
  • 19.2.0-canary-79d9aed7-20250620 - 2025-06-20
  • 19.2.0-canary-7513996f-20250722 - 2025-07-22
  • 19.2.0-canary-73aa744b-20250702 - 2025-07-02
  • 19.2.0-canary-7216c0f0-20250630 - 2025-07-01
  • 19.2.0-canary-72135096-20250421 - 2025-04-22
  • 19.2.0-canary-6eda5347-20250918 - 2025-09-19
  • 19.2.0-canary-6de32a5a-20250822 - 2025-08-22
  • 19.2.0-canary-6b70072c-20250909 - 2025-09-09
  • 19.2.0-canary-6a7650c7-20250405 - 2025-04-05
  • 19.2.0-canary-67a44bcd-20250915 - 2025-09-15
  • 19.2.0-canary-66f09bd0-20250806 - 2025-08-06
  • 19.2.0-canary-65c4decb-20250630 - 2025-06-30
  • 19.2.0-canary-63779030-20250328 - 2025-03-31
  • 19.2.0-canary-60b5271a-20250709 - 2025-07-09
  • 19.2.0-canary-5e0c951b-20250916 - 2025-09-16
  • 19.2.0-canary-5dc00d6b-20250428 - 2025-04-28
  • 19.2.0-canary-5d87cd22-20250704 - 2025-07-04
  • 19.2.0-canary-56408a5b-20250610 - 2025-06-10
  • 19.2.0-canary-548235db-20251001 - 2025-10-01
  • 19.2.0-canary-540cd652-20250403 - 2025-04-04
  • 19.2.0-canary-534bed5f-20250813 - 2025-08-13
  • 19.2.0-canary-526dd340-20250602 - 2025-06-02
  • 19.2.0-canary-4db4b21c-20250626 - 2025-06-26
  • 19.2.0-canary-4a45ba92-20250515 - 2025-05-15
  • 19.2.0-canary-4a36d3ea-20250416 - 2025-04-17
  • 19.2.0-canary-462d08f9-20250517 - 2025-05-19
  • 19.2.0-canary-4448b187-20250515 - 2025-05-16
  • 19.2.0-canary-4123f6b7-20250826 - 2025-08-26
  • 19.2.0-canary-408d055a-20250430 - 2025-04-30
  • 19.2.0-canary-3fbfb9ba-20250409 - 2025-04-09
  • 19.2.0-canary-3fb190f7-20250908 - 2025-09-08
  • 19.2.0-canary-3d14fcf0-20250724 - 2025-07-24
  • 19.2.0-canary-39cad7af-20250411 - 2025-04-14
  • 19.2.0-canary-3958d5d8-20250807 - 2025-08-07
  • 19.2.0-canary-38ef6550-20250508 - 2025-05-08
  • 19.2.0-canary-3820740a-20250509 - 2025-05-12
  • 19.2.0-canary-379a083b-20250813 - 2025-08-14
  • 19.2.0-canary-37054867-20250604 - 2025-06-04
  • 19.2.0-canary-33a1095d-20250827 - 2025-08-27
  • 19.2.0-canary-33661467-20250407 - 2025-04-07
  • 19.2.0-canary-3302d1f7-20250903 - 2025-09-03
  • 19.2.0-canary-2f0e7e57-20250715 - 2025-07-15
  • 19.2.0-canary-280ff6fe-20250606 - 2025-06-06
  • 19.2.0-canary-2805f0ed-20250903 - 2025-09-03
  • 19.2.0-canary-23884812-20250520 - 2025-05-21
  • 19.2.0-canary-223f81d8-20250707 - 2025-07-07
  • 19.2.0-canary-21fdf308-20250508 - 2025-05-09
  • 19.2.0-canary-1eca9a27-20250922 - 2025-09-22
  • 19.2.0-canary-1dc3bdea-20250812 - 2025-08-12
  • 19.2.0-canary-1d6c8168-20250411 - 2025-04-11
  • 19.2.0-canary-1bd1f01f-20251001 - 2025-10-01
  • 19.2.0-canary-1ae0a845-20250603 - 2025-06-03
  • 19.2.0-canary-19baee81-20250725 - 2025-07-25
  • 19.2.0-canary-197d6a04-20250424 - 2025-04-24
  • 19.2.0-canary-143d3e1b-20250425 - 2025-04-25
  • 19.2.0-canary-14094f80-20250529 - 2025-05-29
  • 19.2.0-canary-12bc60f5-20250613 - 2025-06-13
  • 19.2.0-canary-128abcfa-20250917 - 2025-09-17
  • 19.2.0-canary-0ff1d13b-20250507 - 2025-05-07
  • 19.2.0-canary-0bdb9206-20250818 - 2025-08-19
  • 19.2.0-canary-06e89951-20250620 - 2025-06-20
  • 19.2.0-canary-040f8286-20250402 - 2025-04-02
  • 19.2.0-canary-03fda05d-20250820 - 2025-08-20
  • 19.2.0-canary-0038c501-20250429 - 2025-04-29
  • 19.1.4 - 2025-12-11
  • 19.1.3 - 2025-12-11
  • 19.1.2 - 2025-12-03
  • 19.1.1 - 2025-07-28

    React

    • Fixed Owner Stacks to work with ES2015 function.name semantics (#33680 by @ hoxyq)
  • 19.1.0 - 2025-03-28

    Owner Stack

    An Owner Stack is a string representing the components that are directly responsible for rendering a particular component. You can log Owner Stacks when debugging or use Owner Stacks to enhance error overlays or other development tools. Owner Stacks are only available in development builds. Component Stacks in production are unchanged.

    • An Owner Stack is a development-only stack trace that helps identify which components are responsible for rendering a particular component. An Owner Stack is distinct from a Component Stacks, which shows the hierarchy of components leading to an error.
    • The captureOwnerStack API is only available in development mode and returns a Owner Stack, if available. The API can be used to enhance error overlays or log component relationships when debugging. #29923, #32353, #30306,
      #32538, #32529, #32538

    React

    • Enhanced support for Suspense boundaries to be used anywhere, including the client, server, and during hydration. #32069, #32163, #32224, #32252
    • Reduced unnecessary client rendering through improved hydration scheduling #31751
    • Increased priority of client rendered Suspense boundaries #31776
    • Fixed frozen fallback states by rendering unfinished Suspense boundaries on the client. #31620
    • Reduced garbage collection pressure by improving Suspense boundary retries. #31667
    • Fixed erroneous “Waiting for Paint” log when the passive effect phase was not delayed #31526
    • Fixed a regression causing key warnings for flattened positional children in development mode. #32117
    • Updated useId to use valid CSS selectors, changing format from :r123: to «r123». #32001
    • Added a dev-only warning for null/undefined created in useEffect, useInsertionEffect, and useLayoutEffect. #32355
    • Fixed a bug where dev-only methods were exported in production builds. React.act is no longer available in production builds. #32200
    • Improved consistency across prod and dev to improve compatibility with Google Closure Complier and bindings #31808
    • Improve passive effect scheduling for consistent task yielding. #31785
    • Fixed asserts in React Native when passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent rendering. #32528
    • Fixed component name resolution for Portal #32640
    • Added support for beforetoggle and toggle events on the dialog element. #32479 #32479

    React DOM

    • Fixed double warning when the href attribute is an empty string #31783
    • Fixed an edge case where getHoistableRoot() didn’t work properly when the container was a Document #32321
    • Removed support for using HTML comments (e.g. <!-- -->) as a DOM container. #32250
    • Added support for <script> and <template> tags to be nested within <select> tags. #31837
    • Fixed responsive images to be preloaded as HTML instead of headers #32445

    use-sync-external-store

    • Added exports field to package.json for use-sync-external-store to support various entrypoints. #25231

    React Server Components

    • Added unstable_prerender, a new experimental API for prerendering React Server Components on the server #31724
    • Fixed an issue where streams would hang when receiving new chunks after a global error #31840, #31851
    • Fixed an issue where pending chunks were counted twice. #31833
    • Added support for streaming in edge environments #31852
    • Added support for sending custom error names from a server so that they are available in the client for console replaying. #32116
    • Updated the server component wire format to remove IDs for hints and console.log because they have no return value #31671
    • Exposed registerServerReference in client builds to handle server references in different environments. #32534
    • Added react-server-dom-parcel package which integrates Server Components with the Parcel bundler #31725, #32132, #31799, #32294, #31741
  • 19.1.0-canary-ff628334-20250205 - 2025-02-06
  • 19.1.0-canary-fcb4e0f1-20250219 - 2025-02-20
  • 19.1.0-canary-fc8a898d-20241226 - 2024-12-27
  • 19.1.0-canary-fbcda19a-20250317 - 2025-03-17
  • 19.1.0-canary-f9d78089-20250306 - 2025-03-07
  • 19.1.0-canary-f83903bf-20250212 - 2025-02-12
  • 19.1.0-canary-f457d0b4-20250313 - 2025-03-13
  • 19.1.0-canary-f0edf41e-20250115 - 2025-01-14
  • 19.1.0-canary-ef979d47-20241218 - 2024-12-18
  • 19.1.0-canary-ef4bc8b4-20250328 - 2025-03-28
  • 19.1.0-canary-ebc22ef7-20250225 - 2025-02-26
  • 19.1.0-canary-e670e72f-20250214 - 2025-02-14
  • 19.1.0-canary-e1e74071-20250321 - 2025-03-21
  • 19.1.0-canary-e06c72fc-20241215 - 2024-12-16
  • 19.1.0-canary-e03ac20f-20250305 - 2025-03-05
  • 19.1.0-canary-de82912e-20241220 - 2024-12-20
  • 19.1.0-canary-de1eaa26-20250124 - 2025-01-24
  • 19.1.0-canary-db7dfe05-20250319 - 2025-03-19
  • 19.1.0-canary-d85cf3e5-20250205 - 2025-02-05
  • 19.1.0-canary-d55cc79b-20250228 - 2025-02-28
  • 19.1.0-canary-d46b04a2-20250117 - 2025-01-17
  • 19.1.0-canary-d4287258-20241217 - 2024-12-17
  • 19.1.0-canary-d331ba04-20250307 - 2025-03-10
  • 19.1.0-canary-cd90a4d8-20250210 - 2025-02-11
  • 19.1.0-canary-cbbe8666-20250213 - 2025-02-13
  • 19.1.0-canary-cabd8a0e-20250113 - 2025-01-13
  • 19.1.0-canary-c69a5fc5-20250318 - 2025-03-18
  • 19.1.0-canary-c492f975-20250128 - 2025-01-29
  • 19.1.0-canary-c01b8058-20241229 - 2024-12-30
  • 19.1.0-canary-bb9a24d9-20250130 - 2025-01-30
  • 19.1.0-canary-b3a95caf-20250113 - 2025-01-14
  • 19.1.0-canary-b158439a-20250115 - 2025-01-15
  • 19.1.0-canary-ae9017ce-20250122 - 2025-01-23
  • 19.1.0-canary-a84862db-20250218 - 2025-02-19
  • 19.1.0-canary-a4f9bd58-20250319 - 2025-03-20
  • 19.1.0-canary-a4b2d0d5-20250203 - 2025-02-03
  • 19.1.0-canary-9ff42a87-20250130 - 2025-01-31
  • 19.1.0-canary-9eabb373-20250124 - 2025-01-27
  • 19.1.0-canary-9b62ee71-20250122 - 2025-01-22
  • 19.1.0-canary-97d79495-20241223 - 2024-12-24
  • 19.1.0-canary-9463d51e-20241219 - 2024-12-19
  • 19.1.0-canary-93b58361-20250209 - 2025-02-10
  • 19.1.0-canary-8a7b487e-20250218 - 2025-02-18
  • 19.1.0-canary-8759c5c8-20250207 - 2025-02-07
  • 19.1.0-canary-7eb8234f-20241218 - 2024-12-18
  • 19.1.0-canary-7b402084-20250107 - 2025-01-07
  • 19.1.0-canary-74ea0c73-20250109 - 2025-01-09
  • 19.1.0-canary-740a4f7a-20250325 - 2025-03-25
  • 19.1.0-canary-7130d0c6-20241212 - 2024-12-12
  • 19.1.0-canary-6aa8254b-20250312 - 2025-03-12
  • 19.1.0-canary-694d3e1a-20241231 - 2025-01-01
  • 19.1.0-canary-6907aa2a-20241220 - 2024-12-23
  • 19.1.0-canary-662957cc-20250221 - 2025-02-21
  • 19.1.0-canary-62208bee-20250102 - 2025-01-02
  • 19.1.0-canary-5b51a2b9-20250116 - 2025-01-16
  • 19.1.0-canary-540efebc-20250112 - 2025-01-12
  • 19.1.0-canary-5398b711-20250314 - 2025-03-14
  • 19.1.0-canary-518d06d2-20241219 - 2024-12-19
  • 19.1.0-canary-4dff0e62-20241213 - 2024-12-13
  • 19.1.0-canary-4632e36a-20250216 - 2025-02-17
  • 19.1.0-canary-443b7ff2-20250303 - 2025-03-04
  • 19.1.0-canary-4280563b-20250326 - 2025-03-27
  • 19.1.0-canary-42687267-20250108 - 2025-01-08
  • 19.1.0-canary-3ce77d55-20250106 - 2025-01-06
  • 19.1.0-canary-3b009b4c-20250102 - 2025-01-03
  • 19.1.0-canary-37906d4d-20250127 - 2025-01-28
  • 19.1.0-canary-32b0cad8-20250213 - 2025-02-13
  • 19.1.0-canary-313332d1-20250326 - 2025-03-26
  • 19.1.0-canary-2980f277-20250301 - 2025-03-03
  • 19.1.0-canary-25677265-20250224 - 2025-02-24
  • 19.1.0-canary-22e39ea7-20250225 - 2025-02-25
  • 19.1.0-canary-18eaf51b-20250118 - 2025-01-20
  • 19.1.0-canary-130095f7-20241212 - 2024-12-12
  • 19.1.0-canary-0ca3deeb-20250311 - 2025-03-11
  • 19.1.0-canary-0a82580b-20250203 - 2025-02-04
  • 19.1.0-canary-056073de-20250109 - 2025-01-10
  • 19.1.0-canary-029e8bd6-20250306 - 2025-03-06
  • 19.0.3 - 2025-12-11
  • 19.0.2 - 2025-12-11
  • 19.0.1 - 2025-12-03

    React Server Components

  • 19.0.0 - 2024-12-05

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

    Note: To help make the upgrade to React 19 easier, we’ve published a react@18.3 release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.

    New Features

    React

    • Actions: startTransition can now accept async functions. Functions passed to startTransition are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects like fetch() in the pending state, and provides support for error handling, and optimistic updates.
    • useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form action prop to support progressive enhancement in forms.
    • useOptimistic: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.
    • use: is a new API that allows reading resources in render. In React 19, use accepts a promise or Context. If provided a promise, use will suspend until a value is resolved. use can only be used in render but can be called conditionally.
    • ref as a prop: Refs can now be used as props, removing the need for forwardRef.
    • Suspense sibling pre-warming: When a component suspends, React will immediately commit the fallback of the nearest Suspense boundary, without waiting for the entire sibling tree to render. After the fallback commits, React will schedule another render for the suspended siblings to “pre-warm” lazy requests.

    React DOM Client

    • <form> action prop: Form Actions allow you to manage forms automatically and integrate with useFormStatus. When a <form> action succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the new requestFormReset API.
    • <button> and <input> formAction prop: Actions can be passed to the formAction prop to configure form submission behavior. This allows using different Actions depending on the input.
    • useFormStatus: is a new hook that provides the status of the parent <form> action, as if the form was a Context provider. The hook returns the values: pending, data, method, and action.
    • Support for Document Metadata: We’ve added support for rendering document metadata tags in components natively. React will automatically hoist them into the <head> section of the document.
    • Support for Stylesheets: React 19 will ensure stylesheets are inserted into the <head> on the client before revealing the content of a Suspense boundary that depends on that stylesheet.
    • Support for async scripts: Async scripts can be rendered anywhere in the component tree and React will handle ordering and deduplication.
    • Support for preloading resources: React 19 ships with preinit, preload, prefetchDNS, and preconnect APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.

    React DOM Server

    • Added prerender and prerenderToNodeStream APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. Unlike renderToString, they wait for data to load for HTML generation.

    React Server Components

    • RSC features such as directives, server components, and server functions are now stable. This means libraries that ship with Server Components can now target React 19 as a peer dependency with a react-server export condition for use in frameworks that support the Full-stack React Architecture. The underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. See docs for how to support React Server Components.

    Deprecations

    • Deprecated: element.ref access: React 19 supports ref as a prop, so we’re deprecating element.ref in favor of element.props.ref. Accessing will result in a warning.
    • react-test-renderer: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @ testinglibrary.com/docs/react-testing-library/intro/) or @ testingesting-library.com/docs/react-native-testing-library/intro)

    Breaking Changes

    React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to 18.3.1, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.

    React

    • New JSX Transform is now required: We introduced a new JSX transform in 2020 to improve bundle size and use JSX without importing React. In React 19, we’re adding additional improvements like using ref as a prop and JSX speed improvements that require the new transform.
    • Errors in render are not re-thrown: Errors that are not caught by an Error Boundary are now reported to window.reportError. Errors that are caught by an Error Boundary are reported to console.error. We’ve introduced onUncaughtError and onCaughtError methods to createRoot and hydrateRoot to customize this error handling.
    • Removed: propTypes: Using propTypes will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.
    • Removed: defaultProps for functions: ES6 default parameters can be used in place. Class components continue to support defaultProps since there is no ES6 alternative.
    • Removed: contextTypes and getChildContext: Legacy Context for class components has been removed in favor of the contextType API.
    • Removed: string refs: Any usage of string refs need to be migrated to ref callbacks.
    • Removed: Module pattern factories: A rarely used pattern that can be migrated to regular functions.
    • Removed: React.createFactory: Now that JSX is broadly supported, all createFactory usage can be migrated to JSX components.
    • Removed: react-test-renderer/shallow: This has been a re-export of react-shallow-renderer since React 18. If needed, you can continue to use the third-party package directly. We recommend using @ testinglibrary.com/docs/react-testing-library/intro/) or @ testingesting-library.com/docs/react-native-testing-library/intro) instead.

    React DOM

    • Removed: react-dom/test-utils: We’ve moved act from react-dom/test-utils to react. All other utilities have been removed.
    • Removed: ReactDOM.render, ReactDOM.hydrate: These have been removed in favor of the concurrent equivalents: ReactDOM.createRoot and ReactDOM.hydrateRoot.
    • Removed: unmountComponentAtNode: Removed in favor of root.unmount().
    • Removed: ReactDOM.findDOMNode: You can replace ReactDOM.findDOMNode with DOM Refs.

    Notable Changes

    React

    • <Context> as a provider: You can now render <Context> as a provider instead of <Context.Provider>.
    • Cleanup functions for refs: When the component unmounts, React will call the cleanup function returned from the ref callback.
    • useDeferredValue initial value argument: When provided, useDeferredValue will return the initial value for the initial render of a component, then schedule a re-render in the background with the deferredValue returned.
    • Support for Custom Elements: React 19 now passes all tests on Custom Elements Everywhere.
    • StrictMode changes: useMemo and useCallback will now reuse the memoized results from the first render, during the second render. Additionally, StrictMode will now double-invoke ref callback functions on initial mount.
    • UMD builds removed: To load React 19 with a script tag, we recommend using an ESM-based CDN such as esm.sh.

    React DOM

    • Diffs for hyd...

Conventional Changelog Action and others added 30 commits November 8, 2022 08:32
* add: view events

* add: events view page
* add: view events

* add: events view page
* [feat]: single event page

* fix: minor details

* fix: minor details

Co-authored-by: Kabir <44284877+kabir0x23@users.noreply.github.com>
* fix: exents and navbar

* fix: exents and navbar

* fix: navbar projects etx
* add: sponsors

* fix: sponsors height

* fix: sponsors page issues
* add: sponsors

* fix: sponsors height

* fix: sponsors page issues

* fix: sponsors page issues

* fix: sponsors page issues
0xk4b1r and others added 26 commits June 9, 2024 23:24
* fix: cherry pick of pr 848 (#854)

* fix:remove comments

* fix:minor comments

* fix: fix the paste functionality and some refactoring

* refactor: image upload hook | create + use in modify feed and create blog (#843)

* refactor: create useUploadImages hook and use inside ModifyFeed

why: to separate this functionality outside of the components
how: create hook and common components related to it

* refactor: add submit option in the useUploadImages hook

* refactor: change variable name

* refactor: use the useUploadImages hook inside CreateBlogV2 component

* fix: validate max number of uploaded images

* fix: remove unnecessary useRef, extract imageUploadApi and more fixes

* fix:minor fix

* chore:upgrade @reduxjs/toolkit by snyk suggestion (#856)

* fix: AIChat responsive fix - cherry pick of pr 844 (#855)

* AIChat responsive fix

* AIChat responsive fix - requested changes (#861)

---------

Co-authored-by: SinanovicAhmed <ahmedsinanovic20@gmail.com>
Co-authored-by: Ahmed Sinanović <93159428+SinanovicAhmed@users.noreply.github.com>

* Create CNAME

* Fix: upload images+feeds (#863)

* fix: related to image uploads

* fix:can't see feed when user is not logged in

* feat: feeds| add image compression for large files

how: with the use of canvas

* fix: move canvas inside input component

* fix: fix problem when upload one image, add option to modify width and height of image

* fix:upload many images

* fix: blogs name, and path, categories component for blogs (#864)

* fix: blogs URL, feat: categories

* Update ViewComments.jsx

* fix: blogs URL, feat: categories

* Update package.json

* fix: upgrade axios from 1.6.8 to 1.7.2 (#866)

Snyk has created this PR to upgrade axios from 1.6.8 to 1.7.2.

See this package in npm:
axios

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* feat: notes | Multiple Categories deletion feature  - cherry pick of pr 770 (#858)

* Multiple Notes deletion feature

* Added Multiselect toggler

* Added Multiselect toggler

* fix:toggle button in the bottom even when creating new category

* fix:minor things

* fix:move delete button to bottom

* fix:change multiselect icons and more fixes

* refactor: remove from redux, change the element of checked

what: remove the selected categories from redux, change from checked input
to div element.
why: user select categories locally , div element is enough
how: do some refactoring

* fix:manage turn off multiselect clean selected categories

* fix:add box shadow for checked option

---------

Co-authored-by: Jazz <jazzxbusiness@outlook.com>

* [Snyk] Upgrade sass from 1.77.1 to 1.77.4 (#870)

* fix: upgrade sass from 1.77.1 to 1.77.4

Snyk has created this PR to upgrade sass from 1.77.1 to 1.77.4.

See this package in npm:
sass

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

* chore: prettier

* chore: store changes of package-lock.json

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>

* fix: AI Chat | responsive (#874)

* Hide triple dot icon

* Added responsive and fixed button misalignment

* Left menu on top of right menu and added button to go back

* Same button style

* Removed unnecesary lines

---------

Co-authored-by: paella <paella@paellas-Mac-Pro.local>

* refactor: image upload | use web worker (#879)

* fix: add error handling for image upload

* feat: move the compression of image to web worker

why: to not block the main thread
how: use web worker

* fix: hide three dots and modal will show (#873)

* fix: bug responsiveness of explore search left container (#876)

* fix: Redirect to articles page after creating new articale #877 (#880)

* fix: Blog validation failed: category: "Blog" is not a valid enum value for path "category" #878 (#881)

* Redirect to articles page after creating new articale #877

* Fix Blog validation failed: category: "Blog" is not a valid enum value for path "category" #878

* feat: tools/Google Dorks (#882)

Co-authored-by: saed <saed@kali>

* feat: tools and resources (#883)

* feat: tools and resources

* feat: tools and resources

* feat: tools and resources

* feat: tools and resources

* feat: tool | reconage (#886)

* reconage

* reconage

* feat: tools | reconage (#887)

* reconage

* fix: package.json & package-lock.json to reduce vulnerabilities (#885)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-7361793

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: tool export issue

* fix: tool export issue

* feat: topics | Business Logic/Race Conditions (#888)

* feat: topics | Report added Broken Auth and Info Disclosure (#889)

* fix: upgrade @radix-ui/react-slot from 1.0.2 to 1.1.0 (#884)

Snyk has created this PR to upgrade @radix-ui/react-slot from 1.0.2 to 1.1.0.

See this package in npm:
@radix-ui/react-slot

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* feat: Refator enchanement (#891)

* Refator and Enchanement

* enhancements'

* Refator enchanement (#892)

* Refator and Enchanement

* enhancements'

* enhancements'

* enhancements'

---------

Co-authored-by: Arkadi Koifman <76536506+ArkadiK94@users.noreply.github.com>
Co-authored-by: SinanovicAhmed <ahmedsinanovic20@gmail.com>
Co-authored-by: Ahmed Sinanović <93159428+SinanovicAhmed@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Jazz <jazzxbusiness@outlook.com>
Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>
Co-authored-by: Gabriel Ferreiro Sedlovskij <131366333+GFerreiroS@users.noreply.github.com>
Co-authored-by: paella <paella@paellas-Mac-Pro.local>
Co-authored-by: UTKARSH SINGH <119475896+iutkarsh077@users.noreply.github.com>
Co-authored-by: $@#il <sahilsadekar249775@gmail.com>
Co-authored-by: Sreekar Gadasu <36098162+sr33kar@users.noreply.github.com>
Co-authored-by: Saedbhati <105969318+Saedbhati@users.noreply.github.com>
Co-authored-by: saed <saed@kali>
Co-authored-by: Kunal Rajour <97209296+VictoriousKnight@users.noreply.github.com>
Co-authored-by: Shubham Bhardwaj <71768868+Shubham-2k1@users.noreply.github.com>
* performance

* performance
* fix: sidebar responsiveness

* fix: sidebar responsiveness

* feat: sidebar_responsiveness fixed

* fixing the sidebar responsiveness

* fix: social handles (#921)

* feat: navbar | design (#922)

* fix: corrected the footer link (#923)

* feat: homepage, socials and contact | design (#924)

* feat: homepage, socials and contact | design

* feat: homepage, socials and contact | design

* feat: tool | CodeSnippet (#925)

* feat: rename community to TheCyberHUB (th3cyb3rhub) (#926)

* fix: build for desktop

* fix: build for desktop, and fiex autofocus option in contact form for moving it to contact page issue

---------

Co-authored-by: Ayush Goyal <126490041+AayushhGoyal@users.noreply.github.com>
* Feat/add release please (#928)

* feat(ci): add release-please GitHub Action for automated releases

Added the release-please github action to automate release versioning
and changelog generation. This workflow will create release pull
requests based on conventional commit messages and update the changelog
accordingly upon merging.

- Configured to trigger on pushes to the main branch
- Set the release type to 'simple'

* docs:ADD ADDITIONAL STYLE GUIDE FOR COMMIT MESSAGE

- Add the conventional commit link to the documentation
- Add the most important prefix types to have in mind when writing a
  commit message

* feat: Design | Homepage

---------

Co-authored-by: kabszac <69686216+kabszac@users.noreply.github.com>
Snyk has created this PR to upgrade react-dom from 18.3.1 to 19.2.1.

See this package in npm:
react-dom

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr
@vercel

vercel Bot commented Dec 27, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
thecyberhub-nextjs Error Error Dec 27, 2025 11:49am

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.