Skip to content

Conversation

@ahochsteger
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade react from 19.1.0 to 19.1.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 1 version ahead of your current version.

  • The recommended version was released 25 days ago.

Release notes
Package name: react
  • 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
from react GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade react from 19.1.0 to 19.1.1.

See this package in npm:
react

See this project in Snyk:
https://app.snyk.io/org/ahochsteger/project/4bfef8d7-65d9-4f21-9fe9-4f4da3b75f06?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @ahochsteger, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, updates the react dependency from version 19.1.0 to 19.1.1. The primary purpose of this minor version bump is to incorporate a specific bug fix related to 'Owner Stacks' in React, ensuring the project benefits from the latest stability improvements and security updates. This is a routine maintenance update to keep the project's dependencies current.

Highlights

  • Automated Dependency Upgrade: This pull request automates the update of the react library from version 19.1.0 to 19.1.1.
  • Bug Fix for Owner Stacks: The upgrade specifically addresses a bug fix where 'Owner Stacks' now correctly work with ES2015 function.name semantics.
  • Package File Updates: The update involves changes to docs/package.json and docs/package-lock.json to reflect the new react version.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades react from 19.1.0 to 19.1.1. While this is a good update, I've noticed that react-dom has not been updated to match. It's crucial to keep react and react-dom versions synchronized to prevent potential issues. I've left a comment with a suggestion to update react-dom as well.

"prism-react-renderer": "2.4.1",
"raw-loader": "4.0.2",
"react": "19.1.0",
"react": "19.1.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

It's important to keep react and react-dom versions in sync to avoid potential bugs. Since react is being upgraded to 19.1.1, react-dom should be upgraded as well to maintain consistency and prevent issues.

I suggest pinning react-dom to 19.1.1 as well:

...
    "react": "19.1.1",
    "react-dom": "19.1.1",
...

After making this change, please run npm install to update the package-lock.json file.

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.

3 participants