diff --git a/.changeset/calm-types-travel.md b/.changeset/calm-types-travel.md deleted file mode 100644 index 44b74e46d7b..00000000000 --- a/.changeset/calm-types-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-docgen': patch ---- - -Preserve function types wrapped in parentheses when parsing TypeScript unions. diff --git a/.changeset/mixin-class-props.md b/.changeset/mixin-class-props.md deleted file mode 100644 index 2ce3ca4d25e..00000000000 --- a/.changeset/mixin-class-props.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'react-docgen': patch ---- - -Find TypeScript props of class components extending a mixin call such as -`class X extends withFoo(React.Component)`. diff --git a/.changeset/quiet-hooks-listen.md b/.changeset/quiet-hooks-listen.md deleted file mode 100644 index c28e0a744ee..00000000000 --- a/.changeset/quiet-hooks-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-docgen': patch ---- - -Document methods declared with `useCallback` and exposed through `useImperativeHandle` diff --git a/.changeset/tidy-beans-smile.md b/.changeset/tidy-beans-smile.md deleted file mode 100644 index 627d1d9ef34..00000000000 --- a/.changeset/tidy-beans-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-docgen': patch ---- - -Support Babel 8 dependency overrides for parsing and traversal, including TypeScript generic props, inherited interfaces, function types, and mapped types. Preserve Babel 7 compatibility. diff --git a/packages/react-docgen-cli/CHANGELOG.md b/packages/react-docgen-cli/CHANGELOG.md index e67f19302b0..e823306620d 100644 --- a/packages/react-docgen-cli/CHANGELOG.md +++ b/packages/react-docgen-cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Release Notes +## 3.0.8 + +### Patch Changes + +- Updated dependencies + [[`a27d723`](https://github.com/reactjs/react-docgen/commit/a27d723633c6ef49c4c7e92b344fa18a7f119638), + [`18c902b`](https://github.com/reactjs/react-docgen/commit/18c902b60ccbf1c9209ebb40455dc53515e5e88f), + [`3a12e4f`](https://github.com/reactjs/react-docgen/commit/3a12e4f59e8447da2af752590b3c266f93d53d3e), + [`27167ae`](https://github.com/reactjs/react-docgen/commit/27167ae52b3f623780c65292182849acbe41ce6f)]: + - react-docgen@8.0.5 + ## 3.0.7 ### Patch Changes diff --git a/packages/react-docgen-cli/package.json b/packages/react-docgen-cli/package.json index 2a9c9aec336..5187687dad2 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.7", + "version": "3.0.8", "description": "A CLI to extract information from React components for documentation generation.", "repository": { "type": "git", @@ -35,7 +35,7 @@ "commander": "14.0.3", "debug": "4.4.3", "fast-glob": "3.3.3", - "react-docgen": "workspace:8.0.4", + "react-docgen": "workspace:8.0.5", "slash": "5.1.0" }, "devDependencies": { diff --git a/packages/react-docgen/CHANGELOG.md b/packages/react-docgen/CHANGELOG.md index 853a70d6fce..c5f174a7be1 100644 --- a/packages/react-docgen/CHANGELOG.md +++ b/packages/react-docgen/CHANGELOG.md @@ -1,5 +1,30 @@ # Release Notes +## 8.0.5 + +### Patch Changes + +- [`a27d723`](https://github.com/reactjs/react-docgen/commit/a27d723633c6ef49c4c7e92b344fa18a7f119638) + Thanks [@sean0407](https://github.com/sean0407)! - Preserve function types + wrapped in parentheses when parsing TypeScript unions. + +- [#1157](https://github.com/reactjs/react-docgen/pull/1157) + [`18c902b`](https://github.com/reactjs/react-docgen/commit/18c902b60ccbf1c9209ebb40455dc53515e5e88f) + Thanks [@danez](https://github.com/danez)! - Find TypeScript props of class + components extending a mixin call such as + `class X extends withFoo(React.Component)`. + +- [`3a12e4f`](https://github.com/reactjs/react-docgen/commit/3a12e4f59e8447da2af752590b3c266f93d53d3e) + Thanks [@askalf](https://github.com/askalf)! - Document methods declared with + `useCallback` and exposed through `useImperativeHandle` + +- [#1103](https://github.com/reactjs/react-docgen/pull/1103) + [`27167ae`](https://github.com/reactjs/react-docgen/commit/27167ae52b3f623780c65292182849acbe41ce6f) + Thanks [@Stanzilla](https://github.com/Stanzilla)! - Support Babel 8 + dependency overrides for parsing and traversal, including TypeScript generic + props, inherited interfaces, function types, and mapped types. Preserve Babel + 7 compatibility. + ## 8.0.4 ### Patch Changes diff --git a/packages/react-docgen/package.json b/packages/react-docgen/package.json index 16114d780c1..16512a4ce23 100644 --- a/packages/react-docgen/package.json +++ b/packages/react-docgen/package.json @@ -1,6 +1,6 @@ { "name": "react-docgen", - "version": "8.0.4", + "version": "8.0.5", "description": "A library to extract information from React components for documentation generation.", "repository": { "type": "git", diff --git a/packages/website/package.json b/packages/website/package.json index 5b3e7e584b6..2be15a23817 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -29,7 +29,7 @@ "postcss": "8.5.23", "postcss-lightningcss": "1.1.0", "react": "19.2.5", - "react-docgen": "workspace:8.0.4", + "react-docgen": "workspace:8.0.5", "react-dom": "19.2.5", "tailwindcss": "4.2.4" }, 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 e67f19302b0..e823306620d 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,16 @@ # Release Notes +## 3.0.8 + +### Patch Changes + +- Updated dependencies + [[`a27d723`](https://github.com/reactjs/react-docgen/commit/a27d723633c6ef49c4c7e92b344fa18a7f119638), + [`18c902b`](https://github.com/reactjs/react-docgen/commit/18c902b60ccbf1c9209ebb40455dc53515e5e88f), + [`3a12e4f`](https://github.com/reactjs/react-docgen/commit/3a12e4f59e8447da2af752590b3c266f93d53d3e), + [`27167ae`](https://github.com/reactjs/react-docgen/commit/27167ae52b3f623780c65292182849acbe41ce6f)]: + - react-docgen@8.0.5 + ## 3.0.7 ### 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 853a70d6fce..c5f174a7be1 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,30 @@ # Release Notes +## 8.0.5 + +### Patch Changes + +- [`a27d723`](https://github.com/reactjs/react-docgen/commit/a27d723633c6ef49c4c7e92b344fa18a7f119638) + Thanks [@sean0407](https://github.com/sean0407)! - Preserve function types + wrapped in parentheses when parsing TypeScript unions. + +- [#1157](https://github.com/reactjs/react-docgen/pull/1157) + [`18c902b`](https://github.com/reactjs/react-docgen/commit/18c902b60ccbf1c9209ebb40455dc53515e5e88f) + Thanks [@danez](https://github.com/danez)! - Find TypeScript props of class + components extending a mixin call such as + `class X extends withFoo(React.Component)`. + +- [`3a12e4f`](https://github.com/reactjs/react-docgen/commit/3a12e4f59e8447da2af752590b3c266f93d53d3e) + Thanks [@askalf](https://github.com/askalf)! - Document methods declared with + `useCallback` and exposed through `useImperativeHandle` + +- [#1103](https://github.com/reactjs/react-docgen/pull/1103) + [`27167ae`](https://github.com/reactjs/react-docgen/commit/27167ae52b3f623780c65292182849acbe41ce6f) + Thanks [@Stanzilla](https://github.com/Stanzilla)! - Support Babel 8 + dependency overrides for parsing and traversal, including TypeScript generic + props, inherited interfaces, function types, and mapped types. Preserve Babel + 7 compatibility. + ## 8.0.4 ### Patch Changes diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b09e9a7c29..d5e1ff16005 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -150,7 +150,7 @@ importers: specifier: 3.3.3 version: 3.3.3 react-docgen: - specifier: workspace:8.0.4 + specifier: workspace:8.0.5 version: link:../react-docgen slash: specifier: 5.1.0 @@ -214,7 +214,7 @@ importers: specifier: 19.2.5 version: 19.2.5 react-docgen: - specifier: workspace:8.0.4 + specifier: workspace:8.0.5 version: link:../react-docgen react-dom: specifier: 19.2.5