---
title: "react-docgen 8.0.0 Breaking Changes on npm | Since.dev"
description: "What each react-docgen release removed, renamed or changed: 44 breaking changes in 7 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/react-docgen
last_updated: 2026-12-04
---

# react-docgen breaking changes

react-docgen 8.0.0 (April 23, 2025) is its newest release with breaking changes. The first: react-docgen 8.0.0 drops support for Node.js 16, 17, 18, 19 and 21. Every breaking API change we have recorded in react-docgen on npm: 44 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.0.4`, released September 20, 2026. [Source repository](https://github.com/reactjs/react-docgen)

Its 8.0.0 release drops Node.js 16, 17, 18, 19 and [21](https://since.dev/calendar/nodejs/21.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 1 breaking change in 1 version.
- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 4 breaking changes in 2 versions.

## react-docgen 8.0.0 breaking changes

react-docgen 8.0.0, released April 23, 2025: 1 breaking change.

- **Removed**  

Node.js 16, 17, 18, 19 and 21 are no longer supported. Supported versions are Node.js 20.9.0 or newer 20.x and Node.js 22.0.0 or newer; upgrade Node.js before using this version. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%408.0.0)

## react-docgen 7.0.0 breaking changes

react-docgen 7.0.0, released October 19, 2023: 3 breaking changes.

- **Removed**  

Node.js 14 is no longer supported; the minimum supported version is now 16.14.0. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%407.0.0)
- **Behavior changed** `resolveToValue`  

resolveToValue now returns the specific import specifier instead of the ImportDeclaration, so checks for isImportDeclaration must look at the parent path. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%407.0.0)
- **Signature changed** `utils.getTypeFromReactComponent`  

It now returns an array of paths to types instead of a single path, so code that checks the result for truthiness must check for a non-empty array instead. [npmjs.com](https://www.npmjs.com/package/react-docgen/v/7.0.0)

## react-docgen 6.0.0 breaking changes

react-docgen 6.0.0, released June 16, 2023: 22 breaking changes.

- **Removed**  

Only Node.js 14.18.0 or newer is supported now. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `@extends React.Component annotation`  

Use the new @component annotation to mark a component, or define a custom FindAnnotatedDefinitionsResolver. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `ast-types`  

Integrations using ast-types will not work; migrate to babel APIs, since the AST no longer conforms to estree. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `findExportedComponentDefinition`  

Use new FindExportedDefinitionsResolver({ limit: 1 }) instead. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `match`  

Use babel helpers or explicit checks instead. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `parse`  

The parse method has only two arguments now, and its return value is always an array. Pass resolver, handlers, importer, filename and babelOptions inside the config object. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Removed** `resolveComponentDefinition`  

Use findComponentDefinition instead. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Renamed** `findAllComponentDefinitions`  

Replace with new FindAllDefinitionsResolver() and it is now a class. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Renamed** `findAllExportedComponentDefinitions`  

Replace with new FindExportedDefinitionsResolver() and it is now a class. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)
- **Renamed** `flowTypeHandler`  

Update imports and references to use codeTypeHandler. [react-docgen.dev](https://react-docgen.dev/docs/migrate/v6)

And 12 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## react-docgen 6.0.0-rc.7 breaking changes

react-docgen 6.0.0-rc.7, released June 16, 2023: 1 breaking change.

- **Renamed** `toObject`  

The method toObject on DocumentationBuilder was renamed to build; integrations must update the call. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-rc.7)

## react-docgen 6.0.0-beta.6 breaking changes

react-docgen 6.0.0-beta.6, released June 16, 2023: 1 breaking change.

- **Renamed** `propDocBlockHandler`  

The handler was renamed for consistency; update references to the new name. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.6)

## react-docgen 6.0.0-beta.5 breaking changes

react-docgen 6.0.0-beta.5, released June 16, 2023: 7 breaking changes.

- **Removed** `@extends React.Component`  

Class components annotated with @extends React.Component are no longer detected; use the @component annotation. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Removed** `findExportedComponentDefinition`  

Use FindExportedDefinitionsResolver with the limit option instead. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Removed** `isComponentDefinition`  

The named export isComponentDefinition was removed. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Removed** `match`  

The match utility was removed; use babel helpers or explicit checks instead. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Renamed** `findAllComponentDefinitions`  

The function was renamed to FindAllDefinitionsResolver and is now a class that must be instantiated with new. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Renamed** `findAllExportedComponentDefinitions`  

The function was renamed to FindExportedDefinitionsResolver and is now a class that must be instantiated with new. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)
- **Renamed** `resolveComponentDefinition`  

The utility was renamed and now does more than before; check the commit for details. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-beta.5)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### react-docgen 6.0.0-alpha.4 breaking changes

react-docgen 6.0.0-alpha.4, released June 16, 2023: 9 breaking changes.

- **Renamed** `flowTypeHandler`  

The flowTypeHandler export was renamed to codeTypeHandler because it handles Flow and TypeScript. Update references to use the new name. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-alpha.4)
- **Renamed** `handlers`  

The handlers export was renamed to builtinHandlers. [github.com](https://github.com/reactjs/react-docgen/releases/tag/react-docgen%406.0.0-alpha.4)

And 7 more in this version.

## Related packages

- [react-tabs](https://since.dev/packages/npm/react-tabs.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
