Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 19, 2022

This PR contains the following updates:

Package Change Age Confidence
@testing-library/react 13.4.0 -> 16.3.0 age confidence
eslint-plugin-react-hooks (source) 4.6.2 -> 7.0.1 age confidence
qrcode.react (source) 3.2.0 -> 4.2.0 age confidence
react (source) 18.3.1 -> 19.2.0 age confidence
react-dom (source) 18.3.1 -> 19.2.0 age confidence
react-helmet-async 1.3.0 -> 2.0.5 age confidence
react-router-dom (source) 6.30.0 -> 7.9.6 age confidence
react-test-renderer (source) 18.3.1 -> 19.2.0 age confidence

Release Notes

testing-library/react-testing-library (@​testing-library/react)

v16.3.0

Compare Source

Features
  • add bernardobelchior as a contributor for code, and doc (#​1391) (9fc6a75)

v16.2.0

Compare Source

Features

v16.1.0

Compare Source

Features

v16.0.1

Compare Source

Bug Fixes
  • Add support for exactOptionalPropertyTypes in TypeScript (#​1351) (3dcd8a9)

v16.0.0

Compare Source

Features
  • Move @testing-library/dom and @types/react-dom to peer dependencies (#​1305) (a4744fa)
BREAKING CHANGES
  • @testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
    @types/react-dom needs to be installed if you're typechecking files using @testing-library/react.

v15.0.7

Compare Source

Bug Fixes
  • Ensure act is not any when React.act is not declared (#​1323) (c1f2957)

v15.0.6

Compare Source

Bug Fixes

v15.0.5

Compare Source

Bug Fixes

v15.0.4

Compare Source

Bug Fixes

v15.0.3

Compare Source

Bug Fixes
  • Don't raise TypeScript errors when hydating document (#​1304) (067d0c6)

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

Release
BREAKING CHANGES
  • Minimum supported Node.js version is 18.0
  • New version of @testing-library/dom changes various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed.

v14.3.1

Compare Source

Bug Fixes

v14.3.0

Compare Source

Features

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Bug Fixes
  • Update types to support all possible react component return values (#​1272) (55e79c2)

v14.2.0

Compare Source

Features
  • add reactStrictMode option to enable strict mode render (#​1241) (0880eba)

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Features

v14.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
facebook/react (eslint-plugin-react-hooks)

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
zpao/qrcode.react (qrcode.react)

v4.2.0

Compare Source

Added
  • Added React v19 to peerDependencies (#​381)

v4.1.0

Compare Source

Added
  • Added support for new boostLevel prop, allowing the disabling of the underlying encoder's default of automatically boosting the ECL. (#​374)
  • Added support for accepting an array of strings for value, which enables encoding of each part into independent segments. (#​374)

v4.0.1

Compare Source

Fixed
  • Corrected issue with loading types in Typescript when configured with "moduleResolution": "Bundler" or "module": "ESNext". (#​368)

v4.0.0

Compare Source

Added
  • Added proper support for ref, enabling direct access for underlying canvas or svg nodes. This also resulted in much more accurate type defitions. (#​202)
  • Added support for marginSize prop, replacing the now deprecated includeMargin. This enables margins of any value, not just 0 or 4. (#​281)
  • Added Support for Setting Image Opacity via imageSettings.opacity (#​292)
  • Added minVersion prop to give better control over QR Code generated (#​323)
  • Added support for specifying cross-origin for embedded images via imageSettings.crossOrigin. (#​324)
Changed
  • Improved accessibility for QRCodeSVG by rendering a <title> node instead of setting a title attribute. (#​284)
  • Improved accessibility with explicit role set on rendered SVG and Canvas. (#​321)
  • Improved documentation (#​358)
  • Used better types in TypeScript for ErrorCorrectionLevel, resulting in better developer experience. (#​291)
Deprecated
  • The includeMargin prop has been deprecated in favor of marginSize. (#​281)
Removed
  • Removed default export which was deprecated in v3. (#​208)
  • Remove explicit style prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via the ref changes (#​357)
Fixed
  • Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#​301)
  • Set explicit display names for improved debugging experience. (#​304)
  • Improved SVG compatibility by using href in place of xlink:href for embedded images. (#​336)
  • Mitigated warnings when using QRCodeSVG in server components (#​352)
facebook/react (react)

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

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.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 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 @​testing-library/react or @​testing-library/react-native
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 @​testing-library/react or @​testing-library/react-native instead.
R

Configuration

📅 Schedule: 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 is behind base branch, 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.

@github-actions
Copy link

github-actions bot commented Oct 19, 2022

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 2 0 0.01s
✅ JSON eslint-plugin-jsonc 1 0 0 0.92s
✅ JSON jsonlint 1 0 0.26s
✅ JSON npm-package-json-lint yes no 0.65s
✅ JSON prettier 1 0 0 0.34s
✅ JSON v8r 1 0 5.37s
✅ REPOSITORY checkov yes no 40.62s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY grype yes no 12.51s
✅ REPOSITORY trivy-sbom yes no 3.12s
✅ REPOSITORY trufflehog yes no 134.58s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@renovate renovate bot force-pushed the renovate/major-react-dependencies branch 20 times, most recently from 22ce80f to 5a681b4 Compare October 27, 2022 16:39
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch 9 times, most recently from ca1783f to 639cd7f Compare November 4, 2022 08:46
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 195f87b to 2952831 Compare September 29, 2025 14:09
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 2952831 to cf45299 Compare October 1, 2025 22:01
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from cf45299 to 4bba42b Compare October 1, 2025 22:01
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 4bba42b to 7231c0f Compare October 3, 2025 09:13
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 7231c0f to 74e96a5 Compare October 3, 2025 09:13
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 74e96a5 to 6b80a83 Compare October 4, 2025 01:56
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 6b80a83 to baf3d15 Compare October 4, 2025 01:56
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from baf3d15 to 37dae63 Compare October 8, 2025 21:26
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 37dae63 to 1c7a7d4 Compare October 8, 2025 21:26
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 1c7a7d4 to cf22cea Compare October 9, 2025 00:36
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from cf22cea to ad9a4dd Compare October 9, 2025 00:37
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from ad9a4dd to de40ba6 Compare October 9, 2025 09:05
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from de40ba6 to 642c687 Compare October 9, 2025 09:06
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 642c687 to 5f9a366 Compare October 21, 2025 23:58
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 5f9a366 to bd22315 Compare October 21, 2025 23:58
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from bd22315 to 5feca74 Compare October 22, 2025 10:40
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 5feca74 to eb34641 Compare October 22, 2025 10:40
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from eb34641 to 8f16587 Compare October 23, 2025 12:31
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 8f16587 to d738c79 Compare October 23, 2025 12:32
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from d738c79 to bca2199 Compare October 24, 2025 21:50
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from bca2199 to dcb7629 Compare October 24, 2025 21:50
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from dcb7629 to 588f8e2 Compare October 30, 2025 00:35
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 588f8e2 to 668aaf2 Compare October 30, 2025 00:35
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 668aaf2 to 220d913 Compare November 10, 2025 18:02
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from 220d913 to 35c96c7 Compare November 10, 2025 18:02
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 35c96c7 to fd82682 Compare November 13, 2025 19:02
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from fd82682 to 172fcaf Compare November 13, 2025 19:02
@renovate renovate bot force-pushed the renovate/major-react-dependencies branch from 172fcaf to f1dd7a5 Compare November 18, 2025 22:37
@github-actions github-actions bot force-pushed the renovate/major-react-dependencies branch from f1dd7a5 to 33b8a8b Compare November 18, 2025 22:37
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.

1 participant