diff --git a/.changeset/brave-cases-obey.md b/.changeset/brave-cases-obey.md deleted file mode 100644 index 1b74cded391..00000000000 --- a/.changeset/brave-cases-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-docgen': patch ---- - -Do not fail on new VoidPattern type diff --git a/packages/react-docgen-cli/CHANGELOG.md b/packages/react-docgen-cli/CHANGELOG.md index 9032947a6b4..d286b35c83e 100644 --- a/packages/react-docgen-cli/CHANGELOG.md +++ b/packages/react-docgen-cli/CHANGELOG.md @@ -1,5 +1,13 @@ # Release Notes +## 3.0.2 + +### Patch Changes + +- Updated dependencies + [[`4c7dd9d`](https://github.com/reactjs/react-docgen/commit/4c7dd9d12ffdb3ac1d6f9663124cc43ec7fabb08)]: + - react-docgen@8.0.1 + ## 3.0.1 ### Patch Changes diff --git a/packages/react-docgen-cli/package.json b/packages/react-docgen-cli/package.json index d0b77c24318..d9d850b5d0c 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.1", + "version": "3.0.2", "description": "A CLI to extract information from React components for documentation generation.", "repository": { "type": "git", @@ -35,7 +35,7 @@ "commander": "14.0.0", "debug": "4.4.1", "fast-glob": "3.3.3", - "react-docgen": "workspace:8.0.0", + "react-docgen": "workspace:8.0.1", "slash": "5.1.0" }, "devDependencies": { diff --git a/packages/react-docgen/CHANGELOG.md b/packages/react-docgen/CHANGELOG.md index febc3ca686a..4451c7ff11d 100644 --- a/packages/react-docgen/CHANGELOG.md +++ b/packages/react-docgen/CHANGELOG.md @@ -1,5 +1,14 @@ # Release Notes +## 8.0.1 + +### Patch Changes + +- [#1009](https://github.com/reactjs/react-docgen/pull/1009) + [`4c7dd9d`](https://github.com/reactjs/react-docgen/commit/4c7dd9d12ffdb3ac1d6f9663124cc43ec7fabb08) + Thanks [@danez](https://github.com/danez)! - Do not fail on new VoidPattern + type + ## 8.0.0 ### Major Changes @@ -10,7 +19,6 @@ 18, 19 and 21. With this `react-docgen` version Node.js support is: - - Node.js 20.9.0 or newer 20.x versions - Node.js 22.0.0 or any newer version @@ -221,7 +229,6 @@ [`d7a39af`](https://github.com/reactjs/react-docgen/commit/d7a39af7162c312daba2be428613cb378cce0727) Thanks [@danez](https://github.com/danez)! - Refactored `resolveComponentDefinition` utility. - - Renamed to `findComponentDefinition` - Removed named export `isComponentDefinition` - The utility now does a lot more than previously, check out the commit to see @@ -266,7 +273,6 @@ - [`96d6e9e`](https://github.com/reactjs/react-docgen/commit/96d6e9e6003b92604781553f6910812c74c18dad) Thanks [@danez](https://github.com/danez)! - The main `parse` API had some breaking changes. - - The arguments were changed from previously 5 to just 2. The following diff illustrates how to migrate: @@ -304,7 +310,6 @@ [`80e4c74`](https://github.com/reactjs/react-docgen/commit/80e4c747c19d80081c162118f9c7110916fc27a0) Thanks [@danez](https://github.com/danez)! - Renamed and migrated built-in resolvers to classes. - - `findAllComponentDefinitions` was renamed to `FindAllDefinitionsResolver` and is now a class. @@ -454,7 +459,6 @@ There is a new export `ERROR_CODES` that contains all possible error codes. The two errors that have codes right now are: - - `MISSING_DEFINITION`: No component found in a file - `MULTIPLE_DEFINITIONS`: Multiple components found in one file @@ -627,7 +631,6 @@ ### Major Changes - d7a39af: Refactored `resolveComponentDefinition` utility. - - Renamed to `findComponentDefinition` - Removed named export `isComponentDefinition` - The utility now does a lot more than previously, check out the commit to see @@ -645,7 +648,6 @@ Instead you can use the new `@component` annotation. - 80e4c74: Renamed and migrated built-in resolvers to classes. - - `findAllComponentDefinitions` was renamed to `FindAllDefinitionsResolver` and is now a class. @@ -796,7 +798,6 @@ There is a new export `ERROR_CODES` that contains all possible error codes. The two errors that have codes right now are: - - `MISSING_DEFINITION`: No component found in file - `MULTIPLE_DEFINITIONS`: Multiple components found in one files diff --git a/packages/react-docgen/package.json b/packages/react-docgen/package.json index 2c5d5786507..6391f875432 100644 --- a/packages/react-docgen/package.json +++ b/packages/react-docgen/package.json @@ -1,6 +1,6 @@ { "name": "react-docgen", - "version": "8.0.0", + "version": "8.0.1", "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 a75d7130835..f8bb3692b9d 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -26,7 +26,7 @@ "postcss": "8.5.6", "postcss-lightningcss": "1.0.1", "react": "19.1.1", - "react-docgen": "workspace:8.0.0", + "react-docgen": "workspace:8.0.1", "react-dom": "19.1.1", "tailwindcss": "3.4.17" }, diff --git a/packages/website/src/pages/docs/release-notes/cli.mdx b/packages/website/src/pages/docs/release-notes/cli.mdx index 9032947a6b4..d286b35c83e 100644 --- a/packages/website/src/pages/docs/release-notes/cli.mdx +++ b/packages/website/src/pages/docs/release-notes/cli.mdx @@ -1,5 +1,13 @@ # Release Notes +## 3.0.2 + +### Patch Changes + +- Updated dependencies + [[`4c7dd9d`](https://github.com/reactjs/react-docgen/commit/4c7dd9d12ffdb3ac1d6f9663124cc43ec7fabb08)]: + - react-docgen@8.0.1 + ## 3.0.1 ### Patch Changes diff --git a/packages/website/src/pages/docs/release-notes/react-docgen.mdx b/packages/website/src/pages/docs/release-notes/react-docgen.mdx index febc3ca686a..4451c7ff11d 100644 --- a/packages/website/src/pages/docs/release-notes/react-docgen.mdx +++ b/packages/website/src/pages/docs/release-notes/react-docgen.mdx @@ -1,5 +1,14 @@ # Release Notes +## 8.0.1 + +### Patch Changes + +- [#1009](https://github.com/reactjs/react-docgen/pull/1009) + [`4c7dd9d`](https://github.com/reactjs/react-docgen/commit/4c7dd9d12ffdb3ac1d6f9663124cc43ec7fabb08) + Thanks [@danez](https://github.com/danez)! - Do not fail on new VoidPattern + type + ## 8.0.0 ### Major Changes @@ -10,7 +19,6 @@ 18, 19 and 21. With this `react-docgen` version Node.js support is: - - Node.js 20.9.0 or newer 20.x versions - Node.js 22.0.0 or any newer version @@ -221,7 +229,6 @@ [`d7a39af`](https://github.com/reactjs/react-docgen/commit/d7a39af7162c312daba2be428613cb378cce0727) Thanks [@danez](https://github.com/danez)! - Refactored `resolveComponentDefinition` utility. - - Renamed to `findComponentDefinition` - Removed named export `isComponentDefinition` - The utility now does a lot more than previously, check out the commit to see @@ -266,7 +273,6 @@ - [`96d6e9e`](https://github.com/reactjs/react-docgen/commit/96d6e9e6003b92604781553f6910812c74c18dad) Thanks [@danez](https://github.com/danez)! - The main `parse` API had some breaking changes. - - The arguments were changed from previously 5 to just 2. The following diff illustrates how to migrate: @@ -304,7 +310,6 @@ [`80e4c74`](https://github.com/reactjs/react-docgen/commit/80e4c747c19d80081c162118f9c7110916fc27a0) Thanks [@danez](https://github.com/danez)! - Renamed and migrated built-in resolvers to classes. - - `findAllComponentDefinitions` was renamed to `FindAllDefinitionsResolver` and is now a class. @@ -454,7 +459,6 @@ There is a new export `ERROR_CODES` that contains all possible error codes. The two errors that have codes right now are: - - `MISSING_DEFINITION`: No component found in a file - `MULTIPLE_DEFINITIONS`: Multiple components found in one file @@ -627,7 +631,6 @@ ### Major Changes - d7a39af: Refactored `resolveComponentDefinition` utility. - - Renamed to `findComponentDefinition` - Removed named export `isComponentDefinition` - The utility now does a lot more than previously, check out the commit to see @@ -645,7 +648,6 @@ Instead you can use the new `@component` annotation. - 80e4c74: Renamed and migrated built-in resolvers to classes. - - `findAllComponentDefinitions` was renamed to `FindAllDefinitionsResolver` and is now a class. @@ -796,7 +798,6 @@ There is a new export `ERROR_CODES` that contains all possible error codes. The two errors that have codes right now are: - - `MISSING_DEFINITION`: No component found in file - `MULTIPLE_DEFINITIONS`: Multiple components found in one files diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ab88c3bc08..ee476ce1a9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -141,7 +141,7 @@ importers: specifier: 3.3.3 version: 3.3.3 react-docgen: - specifier: workspace:8.0.0 + specifier: workspace:8.0.1 version: link:../react-docgen slash: specifier: 5.1.0 @@ -199,7 +199,7 @@ importers: specifier: 19.1.1 version: 19.1.1 react-docgen: - specifier: workspace:8.0.0 + specifier: workspace:8.0.1 version: link:../react-docgen react-dom: specifier: 19.1.1