Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions packages/babel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# @react-docgen/babel

## 1.0.0-alpha.0

### Major Changes

- [#1158](https://github.com/reactjs/react-docgen/pull/1158)
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e)
Thanks [@danez](https://github.com/danez)! - Target 1.0.0 for the initial
release of the parser-neutral core and parser adapters.

### Patch Changes

- Updated dependencies
[[`6d5e108`](https://github.com/reactjs/react-docgen/commit/6d5e108ef70fd6a740c3308031ec81137589e778),
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e),
[`6227063`](https://github.com/reactjs/react-docgen/commit/6227063bd29bd30a9fd3bac72e545e9512a29d6c)]:
- @react-docgen/core@1.0.0-alpha.0
2 changes: 1 addition & 1 deletion packages/babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-docgen/babel",
"version": "0.0.0",
"version": "1.0.0-alpha.0",
"description": "Normalized Babel parser adapter for react-docgen.",
"publishConfig": {
"provenance": true,
Expand Down
28 changes: 28 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# @react-docgen/core

## 1.0.0-alpha.0

### Major Changes

- [#1158](https://github.com/reactjs/react-docgen/pull/1158)
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e)
Thanks [@danez](https://github.com/danez)! - Target 1.0.0 for the initial
release of the parser-neutral core and parser adapters.

### Patch Changes

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`6d5e108`](https://github.com/reactjs/react-docgen/commit/6d5e108ef70fd6a740c3308031ec81137589e778)
Thanks [@danez](https://github.com/danez)! - Recognize PropTypes imports from
the parsed AST instead of scanning source text with a potentially slow regular
expression. Comments and string literals no longer count as module imports.

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`6227063`](https://github.com/reactjs/react-docgen/commit/6227063bd29bd30a9fd3bac72e545e9512a29d6c)
Thanks [@danez](https://github.com/danez)! - Document methods wrapped in React
`useCallback` and exposed through `useImperativeHandle`, preserving their
parameters, return types, descriptions, and async/generator modifiers across
parser adapters.

Ported from [#1139](https://github.com/reactjs/react-docgen/pull/1139) by
[@askalf](https://github.com/askalf).
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-docgen/core",
"version": "0.0.0",
"version": "1.0.0-alpha.0",
"description": "Parser-neutral foundations for react-docgen.",
"publishConfig": {
"provenance": true,
Expand Down
18 changes: 18 additions & 0 deletions packages/hermes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# @react-docgen/hermes

## 1.0.0-alpha.0

### Major Changes

- [#1158](https://github.com/reactjs/react-docgen/pull/1158)
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e)
Thanks [@danez](https://github.com/danez)! - Target 1.0.0 for the initial
release of the parser-neutral core and parser adapters.

### Patch Changes

- Updated dependencies
[[`6d5e108`](https://github.com/reactjs/react-docgen/commit/6d5e108ef70fd6a740c3308031ec81137589e778),
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e),
[`6227063`](https://github.com/reactjs/react-docgen/commit/6227063bd29bd30a9fd3bac72e545e9512a29d6c)]:
- @react-docgen/core@1.0.0-alpha.0
2 changes: 1 addition & 1 deletion packages/hermes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-docgen/hermes",
"version": "0.0.0",
"version": "1.0.0-alpha.0",
"description": "Hermes and Flow parser adapter for react-docgen.",
"publishConfig": {
"provenance": true,
Expand Down
46 changes: 46 additions & 0 deletions packages/react-docgen-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Release Notes

## 4.0.0-alpha.0

### Major Changes

- [#1095](https://github.com/reactjs/react-docgen/pull/1095)
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059)
Thanks [@danez](https://github.com/danez)! - Drop support for Node.js 20, 21,
23, 25 and pre-LTS Node.js 26 releases.

Supported Node.js versions are now:

- Node.js 22.13.0 or newer 22.x releases
- Node.js 24.11.0 or newer 24.x releases
- Node.js 26.13.0 (the first Node.js 26 LTS release) or newer stable releases

- [#1100](https://github.com/reactjs/react-docgen/pull/1100)
[`70cb468`](https://github.com/reactjs/react-docgen/commit/70cb468c90ad85ccf0275e75f9287d744dad62f0)
Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update
dependency commander to v15

### Minor Changes

- [#1103](https://github.com/reactjs/react-docgen/pull/1103)
[`d34f28d`](https://github.com/reactjs/react-docgen/commit/d34f28d2e170ffd0000a3dca55ed556315f6c877)
Thanks [@Stanzilla](https://github.com/Stanzilla)! - Replace subcommand
structure with in-process commands for performance

### Patch Changes

- [#1121](https://github.com/reactjs/react-docgen/pull/1121)
[`2409437`](https://github.com/reactjs/react-docgen/commit/240943704167e5fa8308b36ad65f5176682f55b3)
Thanks [@danez](https://github.com/danez)! - Remove chalk dependency and
replace with builtin Node.js `styleText`

- [#1120](https://github.com/reactjs/react-docgen/pull/1120)
[`2f01acf`](https://github.com/reactjs/react-docgen/commit/2f01acf3fe12f52bd4bc1b51617263f42383580c)
Thanks [@danez](https://github.com/danez)! - Remove slash dependency
- Updated dependencies
[[`97bcba3`](https://github.com/reactjs/react-docgen/commit/97bcba327641ef6b83be1ac3a48f7eb2e122841b),
[`d797ca7`](https://github.com/reactjs/react-docgen/commit/d797ca74de190c5c75caa1ac6cb8bc109a2752ca),
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059),
[`bca6a64`](https://github.com/reactjs/react-docgen/commit/bca6a6463c44d44bf35183d4183070eb83568cf0),
[`c96cc79`](https://github.com/reactjs/react-docgen/commit/c96cc79c45591f1e53b38f2f82a1ccce61e26c6c),
[`5e4e0a9`](https://github.com/reactjs/react-docgen/commit/5e4e0a9d10bbe80012675f81b2ac4c55c017bce3)]:
- react-docgen@9.0.0-alpha.0

## 3.0.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-docgen-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-docgen/cli",
"version": "3.0.6",
"version": "4.0.0-alpha.0",
"description": "A CLI to extract information from React components for documentation generation.",
"publishConfig": {
"provenance": true,
Expand Down Expand Up @@ -38,7 +38,7 @@
"commander": "15.0.0",
"debug": "4.4.3",
"fast-glob": "3.3.3",
"react-docgen": "workspace:8.0.3"
"react-docgen": "workspace:9.0.0-alpha.0"
},
"devDependencies": {
"@types/debug": "4.1.13"
Expand Down
54 changes: 54 additions & 0 deletions packages/react-docgen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Release Notes

## 9.0.0-alpha.0

### Major Changes

- [#1095](https://github.com/reactjs/react-docgen/pull/1095)
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059)
Thanks [@danez](https://github.com/danez)! - Drop support for Node.js 20, 21,
23, 25 and pre-LTS Node.js 26 releases.

Supported Node.js versions are now:

- Node.js 22.13.0 or newer 22.x releases
- Node.js 24.11.0 or newer 24.x releases
- Node.js 26.13.0 (the first Node.js 26 LTS release) or newer stable releases

### Patch Changes

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`97bcba3`](https://github.com/reactjs/react-docgen/commit/97bcba327641ef6b83be1ac3a48f7eb2e122841b)
Thanks [@danez](https://github.com/danez)! - Preserve function types wrapped
in parentheses when parsing TypeScript unions.

Thanks [@sean0407](https://github.com/sean0407) for
[#1142](https://github.com/reactjs/react-docgen/pull/1142).

- [#1140](https://github.com/reactjs/react-docgen/pull/1140)
[`d797ca7`](https://github.com/reactjs/react-docgen/commit/d797ca74de190c5c75caa1ac6cb8bc109a2752ca)
Thanks [@danez](https://github.com/danez)! - Prevent stack overflows caused by
circular interface inheritance and type aliases. Thanks
[@router0mail](https://github.com/router0mail) for reporting this issue.

- [#1130](https://github.com/reactjs/react-docgen/pull/1130)
[`bca6a64`](https://github.com/reactjs/react-docgen/commit/bca6a6463c44d44bf35183d4183070eb83568cf0)
Thanks [@danez](https://github.com/danez)! - Fix recognition of
PropTypes.bigint as a built-in prop type

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`c96cc79`](https://github.com/reactjs/react-docgen/commit/c96cc79c45591f1e53b38f2f82a1ccce61e26c6c)
Thanks [@danez](https://github.com/danez)! - Extract TypeScript props from
React class components extending mixin calls, including aliased component
bases and wrapped props. Preserve declared props when a mixin receives
unrelated generic arguments.

Ported from [#1145](https://github.com/reactjs/react-docgen/pull/1145) by
[@mfazekas](https://github.com/mfazekas), merged with follow-up fixes in
[#1157](https://github.com/reactjs/react-docgen/pull/1157). Shared regression
fixtures cover the legacy parser, TypeScript adapter, and TypeScript handlers
composed with the normalized Babel adapter.

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`5e4e0a9`](https://github.com/reactjs/react-docgen/commit/5e4e0a9d10bbe80012675f81b2ac4c55c017bce3)
Thanks [@danez](https://github.com/danez)! - Document methods declared with
`useCallback` and exposed through `useImperativeHandle`

## 8.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-docgen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-docgen",
"version": "8.0.3",
"version": "9.0.0-alpha.0",
"description": "A library to extract information from React components for documentation generation.",
"publishConfig": {
"provenance": true,
Expand Down
31 changes: 31 additions & 0 deletions packages/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# @react-docgen/typescript

## 1.0.0-alpha.0

### Major Changes

- [#1158](https://github.com/reactjs/react-docgen/pull/1158)
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e)
Thanks [@danez](https://github.com/danez)! - Target 1.0.0 for the initial
release of the parser-neutral core and parser adapters.

### Patch Changes

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`c96cc79`](https://github.com/reactjs/react-docgen/commit/c96cc79c45591f1e53b38f2f82a1ccce61e26c6c)
Thanks [@danez](https://github.com/danez)! - Extract TypeScript props from
React class components extending mixin calls, including aliased component
bases and wrapped props. Preserve declared props when a mixin receives
unrelated generic arguments.

Ported from [#1145](https://github.com/reactjs/react-docgen/pull/1145) by
[@mfazekas](https://github.com/mfazekas), merged with follow-up fixes in
[#1157](https://github.com/reactjs/react-docgen/pull/1157). Shared regression
fixtures cover the legacy parser, TypeScript adapter, and TypeScript handlers
composed with the normalized Babel adapter.

- Updated dependencies
[[`6d5e108`](https://github.com/reactjs/react-docgen/commit/6d5e108ef70fd6a740c3308031ec81137589e778),
[`b4985cb`](https://github.com/reactjs/react-docgen/commit/b4985cb0359cc8625303f262b958a49602d9960e),
[`6227063`](https://github.com/reactjs/react-docgen/commit/6227063bd29bd30a9fd3bac72e545e9512a29d6c)]:
- @react-docgen/core@1.0.0-alpha.0
2 changes: 1 addition & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-docgen/typescript",
"version": "0.0.0",
"version": "1.0.0-alpha.0",
"description": "TypeScript parser adapter for react-docgen.",
"publishConfig": {
"provenance": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"postcss": "8.5.32",
"postcss-lightningcss": "1.1.2",
"react": "19.3.1",
"react-docgen": "workspace:8.0.3",
"react-docgen": "workspace:9.0.0-alpha.0",
"react-dom": "19.3.1",
"tailwindcss": "4.3.3"
},
Expand Down
46 changes: 46 additions & 0 deletions packages/website/src/app/docs/release-notes/cli/page.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Release Notes

## 4.0.0-alpha.0

### Major Changes

- [#1095](https://github.com/reactjs/react-docgen/pull/1095)
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059)
Thanks [@danez](https://github.com/danez)! - Drop support for Node.js 20, 21,
23, 25 and pre-LTS Node.js 26 releases.

Supported Node.js versions are now:

- Node.js 22.13.0 or newer 22.x releases
- Node.js 24.11.0 or newer 24.x releases
- Node.js 26.13.0 (the first Node.js 26 LTS release) or newer stable releases

- [#1100](https://github.com/reactjs/react-docgen/pull/1100)
[`70cb468`](https://github.com/reactjs/react-docgen/commit/70cb468c90ad85ccf0275e75f9287d744dad62f0)
Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update
dependency commander to v15

### Minor Changes

- [#1103](https://github.com/reactjs/react-docgen/pull/1103)
[`d34f28d`](https://github.com/reactjs/react-docgen/commit/d34f28d2e170ffd0000a3dca55ed556315f6c877)
Thanks [@Stanzilla](https://github.com/Stanzilla)! - Replace subcommand
structure with in-process commands for performance

### Patch Changes

- [#1121](https://github.com/reactjs/react-docgen/pull/1121)
[`2409437`](https://github.com/reactjs/react-docgen/commit/240943704167e5fa8308b36ad65f5176682f55b3)
Thanks [@danez](https://github.com/danez)! - Remove chalk dependency and
replace with builtin Node.js `styleText`

- [#1120](https://github.com/reactjs/react-docgen/pull/1120)
[`2f01acf`](https://github.com/reactjs/react-docgen/commit/2f01acf3fe12f52bd4bc1b51617263f42383580c)
Thanks [@danez](https://github.com/danez)! - Remove slash dependency
- Updated dependencies
[[`97bcba3`](https://github.com/reactjs/react-docgen/commit/97bcba327641ef6b83be1ac3a48f7eb2e122841b),
[`d797ca7`](https://github.com/reactjs/react-docgen/commit/d797ca74de190c5c75caa1ac6cb8bc109a2752ca),
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059),
[`bca6a64`](https://github.com/reactjs/react-docgen/commit/bca6a6463c44d44bf35183d4183070eb83568cf0),
[`c96cc79`](https://github.com/reactjs/react-docgen/commit/c96cc79c45591f1e53b38f2f82a1ccce61e26c6c),
[`5e4e0a9`](https://github.com/reactjs/react-docgen/commit/5e4e0a9d10bbe80012675f81b2ac4c55c017bce3)]:
- react-docgen@9.0.0-alpha.0

## 3.0.6

### Patch Changes
Expand Down
54 changes: 54 additions & 0 deletions packages/website/src/app/docs/release-notes/react-docgen/page.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Release Notes

## 9.0.0-alpha.0

### Major Changes

- [#1095](https://github.com/reactjs/react-docgen/pull/1095)
[`798e73d`](https://github.com/reactjs/react-docgen/commit/798e73dd4a73574c66dbee9dffb8e4af507b1059)
Thanks [@danez](https://github.com/danez)! - Drop support for Node.js 20, 21,
23, 25 and pre-LTS Node.js 26 releases.

Supported Node.js versions are now:

- Node.js 22.13.0 or newer 22.x releases
- Node.js 24.11.0 or newer 24.x releases
- Node.js 26.13.0 (the first Node.js 26 LTS release) or newer stable releases

### Patch Changes

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`97bcba3`](https://github.com/reactjs/react-docgen/commit/97bcba327641ef6b83be1ac3a48f7eb2e122841b)
Thanks [@danez](https://github.com/danez)! - Preserve function types wrapped
in parentheses when parsing TypeScript unions.

Thanks [@sean0407](https://github.com/sean0407) for
[#1142](https://github.com/reactjs/react-docgen/pull/1142).

- [#1140](https://github.com/reactjs/react-docgen/pull/1140)
[`d797ca7`](https://github.com/reactjs/react-docgen/commit/d797ca74de190c5c75caa1ac6cb8bc109a2752ca)
Thanks [@danez](https://github.com/danez)! - Prevent stack overflows caused by
circular interface inheritance and type aliases. Thanks
[@router0mail](https://github.com/router0mail) for reporting this issue.

- [#1130](https://github.com/reactjs/react-docgen/pull/1130)
[`bca6a64`](https://github.com/reactjs/react-docgen/commit/bca6a6463c44d44bf35183d4183070eb83568cf0)
Thanks [@danez](https://github.com/danez)! - Fix recognition of
PropTypes.bigint as a built-in prop type

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`c96cc79`](https://github.com/reactjs/react-docgen/commit/c96cc79c45591f1e53b38f2f82a1ccce61e26c6c)
Thanks [@danez](https://github.com/danez)! - Extract TypeScript props from
React class components extending mixin calls, including aliased component
bases and wrapped props. Preserve declared props when a mixin receives
unrelated generic arguments.

Ported from [#1145](https://github.com/reactjs/react-docgen/pull/1145) by
[@mfazekas](https://github.com/mfazekas), merged with follow-up fixes in
[#1157](https://github.com/reactjs/react-docgen/pull/1157). Shared regression
fixtures cover the legacy parser, TypeScript adapter, and TypeScript handlers
composed with the normalized Babel adapter.

- [#1156](https://github.com/reactjs/react-docgen/pull/1156)
[`5e4e0a9`](https://github.com/reactjs/react-docgen/commit/5e4e0a9d10bbe80012675f81b2ac4c55c017bce3)
Thanks [@danez](https://github.com/danez)! - Document methods declared with
`useCallback` and exposed through `useImperativeHandle`

## 8.0.3

### Patch Changes
Expand Down
Loading
Loading