diff --git a/.changeset/ast-proptypes-imports.md b/.changeset/pre/ast-proptypes-imports.md similarity index 100% rename from .changeset/ast-proptypes-imports.md rename to .changeset/pre/ast-proptypes-imports.md diff --git a/.changeset/calm-types-travel.md b/.changeset/pre/calm-types-travel.md similarity index 100% rename from .changeset/calm-types-travel.md rename to .changeset/pre/calm-types-travel.md diff --git a/.changeset/crisp-dots-like.md b/.changeset/pre/crisp-dots-like.md similarity index 100% rename from .changeset/crisp-dots-like.md rename to .changeset/pre/crisp-dots-like.md diff --git a/.changeset/fuzzy-tools-smile.md b/.changeset/pre/fuzzy-tools-smile.md similarity index 100% rename from .changeset/fuzzy-tools-smile.md rename to .changeset/pre/fuzzy-tools-smile.md diff --git a/.changeset/gentle-cameras-march.md b/.changeset/pre/gentle-cameras-march.md similarity index 100% rename from .changeset/gentle-cameras-march.md rename to .changeset/pre/gentle-cameras-march.md diff --git a/.changeset/giant-worlds-swim.md b/.changeset/pre/giant-worlds-swim.md similarity index 100% rename from .changeset/giant-worlds-swim.md rename to .changeset/pre/giant-worlds-swim.md diff --git a/.changeset/initial-adapter-major.md b/.changeset/pre/initial-adapter-major.md similarity index 100% rename from .changeset/initial-adapter-major.md rename to .changeset/pre/initial-adapter-major.md diff --git a/.changeset/long-bikes-knock.md b/.changeset/pre/long-bikes-knock.md similarity index 100% rename from .changeset/long-bikes-knock.md rename to .changeset/pre/long-bikes-knock.md diff --git a/.changeset/mixin-class-props.md b/.changeset/pre/mixin-class-props.md similarity index 100% rename from .changeset/mixin-class-props.md rename to .changeset/pre/mixin-class-props.md diff --git a/.changeset/neutral-imperative-callbacks.md b/.changeset/pre/neutral-imperative-callbacks.md similarity index 100% rename from .changeset/neutral-imperative-callbacks.md rename to .changeset/pre/neutral-imperative-callbacks.md diff --git a/.changeset/quiet-hooks-listen.md b/.changeset/pre/quiet-hooks-listen.md similarity index 100% rename from .changeset/quiet-hooks-listen.md rename to .changeset/pre/quiet-hooks-listen.md diff --git a/.changeset/ripe-carrots-cry.md b/.changeset/pre/ripe-carrots-cry.md similarity index 100% rename from .changeset/ripe-carrots-cry.md rename to .changeset/pre/ripe-carrots-cry.md diff --git a/.changeset/thick-poets-follow.md b/.changeset/pre/thick-poets-follow.md similarity index 100% rename from .changeset/thick-poets-follow.md rename to .changeset/pre/thick-poets-follow.md diff --git a/packages/babel/CHANGELOG.md b/packages/babel/CHANGELOG.md new file mode 100644 index 00000000000..27c3453ab06 --- /dev/null +++ b/packages/babel/CHANGELOG.md @@ -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 diff --git a/packages/babel/package.json b/packages/babel/package.json index 4dce5f15bec..139fb0bea7f 100644 --- a/packages/babel/package.json +++ b/packages/babel/package.json @@ -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, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md new file mode 100644 index 00000000000..d6b6035fea7 --- /dev/null +++ b/packages/core/CHANGELOG.md @@ -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). diff --git a/packages/core/package.json b/packages/core/package.json index 32cd968974a..ac2d98ddc5e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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, diff --git a/packages/hermes/CHANGELOG.md b/packages/hermes/CHANGELOG.md new file mode 100644 index 00000000000..4598da941e8 --- /dev/null +++ b/packages/hermes/CHANGELOG.md @@ -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 diff --git a/packages/hermes/package.json b/packages/hermes/package.json index 36b7c1f3930..25434bac20b 100644 --- a/packages/hermes/package.json +++ b/packages/hermes/package.json @@ -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, diff --git a/packages/react-docgen-cli/CHANGELOG.md b/packages/react-docgen-cli/CHANGELOG.md index 2aa39ed9068..0f00afeaf05 100644 --- a/packages/react-docgen-cli/CHANGELOG.md +++ b/packages/react-docgen-cli/CHANGELOG.md @@ -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 diff --git a/packages/react-docgen-cli/package.json b/packages/react-docgen-cli/package.json index 8d6e55067ac..3a7f137cc58 100644 --- a/packages/react-docgen-cli/package.json +++ b/packages/react-docgen-cli/package.json @@ -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, @@ -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" diff --git a/packages/react-docgen/CHANGELOG.md b/packages/react-docgen/CHANGELOG.md index 037720f4ab0..cea1c951681 100644 --- a/packages/react-docgen/CHANGELOG.md +++ b/packages/react-docgen/CHANGELOG.md @@ -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 diff --git a/packages/react-docgen/package.json b/packages/react-docgen/package.json index 4cb2c051363..d417c8e5dfa 100644 --- a/packages/react-docgen/package.json +++ b/packages/react-docgen/package.json @@ -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, diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md new file mode 100644 index 00000000000..b56372daadc --- /dev/null +++ b/packages/typescript/CHANGELOG.md @@ -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 diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 9709189b7a6..af76b3a8dc8 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -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, diff --git a/packages/website/package.json b/packages/website/package.json index 756c78b1e52..17717eefc98 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -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" }, diff --git a/packages/website/src/app/docs/release-notes/cli/page.mdx b/packages/website/src/app/docs/release-notes/cli/page.mdx index 2aa39ed9068..0f00afeaf05 100644 --- a/packages/website/src/app/docs/release-notes/cli/page.mdx +++ b/packages/website/src/app/docs/release-notes/cli/page.mdx @@ -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 diff --git a/packages/website/src/app/docs/release-notes/react-docgen/page.mdx b/packages/website/src/app/docs/release-notes/react-docgen/page.mdx index 037720f4ab0..cea1c951681 100644 --- a/packages/website/src/app/docs/release-notes/react-docgen/page.mdx +++ b/packages/website/src/app/docs/release-notes/react-docgen/page.mdx @@ -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 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53f46be07c8..f28368e44f2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -346,7 +346,7 @@ importers: specifier: 3.3.3 version: 3.3.3 react-docgen: - specifier: workspace:8.0.3 + specifier: workspace:9.0.0-alpha.0 version: link:../react-docgen devDependencies: '@types/debug': @@ -426,7 +426,7 @@ importers: specifier: 19.3.1 version: 19.3.1 react-docgen: - specifier: workspace:8.0.3 + specifier: workspace:9.0.0-alpha.0 version: link:../react-docgen react-dom: specifier: 19.3.1 @@ -7818,7 +7818,7 @@ snapshots: estree-to-babel@3.2.1(supports-color@7.2.0): dependencies: '@babel/traverse': 7.29.10(supports-color@7.2.0) - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 c8: 7.14.0 transitivePeerDependencies: - supports-color @@ -9792,7 +9792,7 @@ snapshots: dependencies: '@babel/core': 7.29.7(supports-color@7.2.0) '@babel/traverse': 7.29.10(supports-color@7.2.0) - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.28.0 '@types/doctrine': 0.0.5