Skip to content

Update react monorepo (major) - #274

Open
renovate[bot] wants to merge 1 commit into
nextfrom
renovate/major-react-monorepo
Open

Update react monorepo (major)#274
renovate[bot] wants to merge 1 commit into
nextfrom
renovate/major-react-monorepo

Conversation

@renovate

@renovaterenovateBot commented Mar 26, 2020

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeConfidence
eslint-plugin-react-hooks (source)2.5.17.1.1ageconfidence
react (source)17.0.219.2.8ageconfidence
react-dom (source)17.0.219.2.8ageconfidence

Release Notes

facebook/react (eslint-plugin-react-hooks)

v7.1.1

Compare Source

Note: 7.1.0 accidentally removed the component-hook-factories rule, causing errors for users who referenced it in their ESLint config. This is now fixed.

  • Add deprecated no-op component-hook-factories rule for backwards compatibility. (@​mofeiZ in #​36307)

v7.1.0

Compare Source

This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better set-state-in-effect detection, improved ref validation, and more helpful error reporting.

v7.0.1

Compare Source

v7.0.0

Compare Source

This release slims down presets to just 2 configurations (recommended and recommended-latest), and all compiler rules are enabled by default.

  • Breaking: Removed recommended-latest-legacy and flat/recommended configs. The plugin now provides recommended (legacy and flat configs with all recommended rules), and recommended-latest (legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@​poteto in #​34757)

v6.1.1

Compare Source

Note: 6.1.0 accidentally allowed use of recommended without flat config, causing errors when used with ESLint v9's defineConfig() helper. This has been fixed in 6.1.1.

v6.1.0

Compare Source

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

v6.0.0

Compare Source

Accidentally released. See 6.1.0 for the actual changes.

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.0

Compare Source

  • New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@​kassens) in #​25162

v4.6.2

Compare Source

v4.6.1

Compare Source

v4.6.0

v4.5.0

v4.4.0

  • No changes, this was an automated release together with React 18.

v4.3.0

v4.2.0

  • No changes, this was an automated release together with React 17.

v4.1.2

v4.1.1

v4.1.0

v4.0.8

v4.0.7

v4.0.6

v4.0.5

v4.0.4

v4.0.3

  • Remove the heuristic that checks all Hooks ending with Effect due to too many false positives. (@​gaearon in #​19004)

v4.0.2

v4.0.1

v4.0.0

v3.0.0

react/react (react)

v19.2.8

Compare Source

v19.2.7

Compare Source

React Server Components

v19.2.6

Compare Source

React Server Components

v19.2.5

Compare Source

React Server Components

v19.2.4

Compare Source

React Server Components

v19.2.3

Compare Source

React Server Components

v19.2.2

Compare Source

React Server Components

v19.2.1

Compare Source

React Server Components

v19.2.0

Compare Source

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

v19.1.9

Compare Source

v19.1.8

Compare Source

React Server Components

v19.1.7

Compare Source

React Server Components

v19.1.6

Compare Source

React Server Components

v19.1.5

Compare Source

React Server Components

v19.1.4

Compare Source

React Server Components

v19.1.3

Compare Source

React Server Components

v19.1.2

Compare Source

React Server Components

v19.1.1

Compare Source

React

v19.1.0

Compare Source

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

v19.0.8

Compare Source

v19.0.7

Compare Source

React Server Components

v19.0.6

Compare Source

React Server Components

v19.0.5

Compare Source

React Server Components

v19.0.4

Compare Source

React Server Components

v19.0.3

Compare Source

React Server Components

v19.0.2

Compare Source

React Server Components

v19.0.1

Compare Source

React Server Components

v19.0.0

Compare Source

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 impleme

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codesandbox-ci

codesandbox-ciBot commented Mar 26, 2020

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ffadddf:

SandboxSource
currying-feather-q5by3Configuration

@renovaterenovateBot changed the title chore(deps): update dependency eslint-plugin-react-hooks to v3Update dependency eslint-plugin-react-hooks to v3Mar 27, 2020
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 7435718 to f364777CompareMarch 28, 2020 09:17
@codecov

codecovBot commented Mar 28, 2020

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.58%. Comparing base (3a9319c) to head (1bc4d94).
Report is 15 commits behind head on next.

❗ Current head 1bc4d94 differs from pull request most recent head 06d738e. Consider uploading reports for the commit 06d738e to get more accurate results

Additional details and impacted files
@@ Coverage Diff @@## next #274 +/- ##
=======================================
Coverage 98.58% 98.58% =======================================
Files 8 8 Lines 424 424 Branches 148 148 =======================================
Hits 418 418 Misses 6 6 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from f364777 to 57e8245CompareMay 1, 2020 16:19
@renovaterenovateBot changed the title Update dependency eslint-plugin-react-hooks to v3Update dependency eslint-plugin-react-hooks to v4May 1, 2020
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from ffadddf to a7e5a8dCompareMay 13, 2020 16:27
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from 0b58b58 to edc4e23CompareMay 27, 2020 00:58
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from edc4e23 to da7ba37CompareJune 30, 2020 11:31
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 3 times, most recently from 028b18e to 668fc0cCompareJuly 13, 2020 17:03
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 668fc0c to 3f56904CompareAugust 17, 2020 12:45
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 3f56904 to a94b097CompareOctober 28, 2020 10:01
@renovaterenovateBot changed the title Update dependency eslint-plugin-react-hooks to v4chore(deps): update react monorepo (major)Oct 28, 2020
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from a94b097 to 2aeeb84CompareApril 26, 2021 15:17
@renovaterenovateBot changed the title chore(deps): update react monorepo (major)Update dependency eslint-plugin-react-hooks to v4Apr 26, 2021
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 2aeeb84 to f25fe4dCompareMarch 7, 2022 13:52
@renovaterenovateBot changed the title Update dependency eslint-plugin-react-hooks to v4Update react monorepo (major)Apr 24, 2022
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from f25fe4d to a70c17cCompareApril 24, 2022 18:14
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from a70c17c to 09a06a2CompareMay 15, 2022 23:46
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 09a06a2 to 8bf161eCompareJune 18, 2022 21:16
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 8bf161e to fd8a749CompareSeptember 25, 2022 11:50
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from fd8a749 to 4fc99a1CompareNovember 20, 2022 09:59
@renovaterenovateBot changed the title Update react monorepo (major)chore(deps): update react monorepo (major)Mar 17, 2023
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from 0687b40 to 06d738eCompareApril 26, 2024 20:15
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 06d738e to 893a48bCompareOctober 11, 2024 16:07
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 893a48b to 1795323CompareDecember 5, 2024 20:08
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 1795323 to 5ad5d54CompareFebruary 28, 2025 18:50
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 5ad5d54 to 435ebc4CompareMarch 28, 2025 22:41
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from 240afef to 92adb54CompareApril 21, 2025 21:38
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 92adb54 to a93fdf1CompareJuly 28, 2025 18:50
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from aee7a27 to 3ac03c2CompareOctober 4, 2025 00:38
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 3ac03c2 to 1ec89c8CompareOctober 9, 2025 01:41
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 1ec89c8 to 24f3d4bCompareOctober 24, 2025 22:40
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 24f3d4b to aa2e8a4CompareDecember 3, 2025 19:48
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from a94b6c5 to 8551a8aCompareDecember 12, 2025 04:35
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 8551a8a to 5e7fb8dCompareJanuary 26, 2026 21:25
@renovaterenovateBot changed the title chore(deps): update react monorepo (major)Update react monorepo (major)Apr 8, 2026
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 5e7fb8d to 67eb9b8CompareApril 9, 2026 00:04
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch 2 times, most recently from 5bb8018 to a7b101aCompareApril 17, 2026 22:10
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from a7b101a to 57e3b6bCompareMay 6, 2026 17:53
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 57e3b6b to 56896a0CompareJune 1, 2026 20:50
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 56896a0 to 4328cb9CompareJuly 21, 2026 18:40
@renovaterenovateBot changed the title Update react monorepo (major)Update dependency eslint-plugin-react-hooks to v7Jul 21, 2026
@renovate
renovateBotforce-pushed the renovate/major-react-monorepo branch from 4328cb9 to ed34119CompareJuly 24, 2026 17:01
@renovaterenovateBot changed the title Update dependency eslint-plugin-react-hooks to v7Update react monorepo (major)Jul 24, 2026
Sign up for freeto 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.

0 participants