From 41c35014566bf9c1288d19bd7189ee75afc060f6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 14 Sep 2024 18:43:46 +0000 Subject: [PATCH] Publish new versions --- .changeset/itchy-beds-grab.md | 5 --- .changeset/lemon-hotels-move.md | 5 --- .changeset/real-peas-reflect.md | 5 --- .changeset/tiny-days-taste.md | 13 ------- packages/react-docgen-cli/CHANGELOG.md | 28 +++++++++++++-- packages/react-docgen-cli/package.json | 4 +-- packages/react-docgen/CHANGELOG.md | 35 +++++++++++++++---- packages/react-docgen/package.json | 2 +- packages/website/package.json | 2 +- .../src/pages/docs/release-notes/cli.mdx | 28 +++++++++++++-- .../pages/docs/release-notes/react-docgen.mdx | 35 +++++++++++++++---- pnpm-lock.yaml | 4 +-- 12 files changed, 116 insertions(+), 50 deletions(-) delete mode 100644 .changeset/itchy-beds-grab.md delete mode 100644 .changeset/lemon-hotels-move.md delete mode 100644 .changeset/real-peas-reflect.md delete mode 100644 .changeset/tiny-days-taste.md diff --git a/.changeset/itchy-beds-grab.md b/.changeset/itchy-beds-grab.md deleted file mode 100644 index 627e86ca707..00000000000 --- a/.changeset/itchy-beds-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@react-docgen/cli": patch ---- - -fix(deps): update dependency debug to v4.3.5 diff --git a/.changeset/lemon-hotels-move.md b/.changeset/lemon-hotels-move.md deleted file mode 100644 index 24e4257517e..00000000000 --- a/.changeset/lemon-hotels-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-docgen/cli': patch ---- - -fix(deps): update dependency debug to v4.3.6 diff --git a/.changeset/real-peas-reflect.md b/.changeset/real-peas-reflect.md deleted file mode 100644 index bf3d2986e19..00000000000 --- a/.changeset/real-peas-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@react-docgen/cli": patch ---- - -update dependency debug to v4.3.7 diff --git a/.changeset/tiny-days-taste.md b/.changeset/tiny-days-taste.md deleted file mode 100644 index 89d63407cce..00000000000 --- a/.changeset/tiny-days-taste.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'react-docgen': minor ---- - -Support generic types on `React.forwardRef` calls. - -Example: - -`react-docgen` will now find `IButtonProps`. - -```ts -export const FullWidthButton = forwardRef(() => {}); -``` diff --git a/packages/react-docgen-cli/CHANGELOG.md b/packages/react-docgen-cli/CHANGELOG.md index 3f7299294da..9d4c7e9d820 100644 --- a/packages/react-docgen-cli/CHANGELOG.md +++ b/packages/react-docgen-cli/CHANGELOG.md @@ -1,17 +1,41 @@ # Release Notes +## 2.0.4 + +### Patch Changes + +- [#931](https://github.com/reactjs/react-docgen/pull/931) + [`a10dd0c`](https://github.com/reactjs/react-docgen/commit/a10dd0c782f053b648cf9bab2042a9d31245fc3d) + Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update + dependency debug to v4.3.5 + +- [`f723041`](https://github.com/reactjs/react-docgen/commit/f7230419af3680b9ed87a323c4fdf46ead667459) + Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - fix(deps): + update dependency debug to v4.3.6 + +- [#943](https://github.com/reactjs/react-docgen/pull/943) + [`ef85698`](https://github.com/reactjs/react-docgen/commit/ef8569863974599f51b9c9e1c4b9202144fe7607) + Thanks [@renovate](https://github.com/apps/renovate)! - update dependency + debug to v4.3.7 + +- Updated dependencies + [[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)]: + - react-docgen@7.1.0 + ## 2.0.3 ### Patch Changes -- Updated dependencies [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]: +- Updated dependencies + [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]: - react-docgen@7.0.3 ## 2.0.2 ### Patch Changes -- Updated dependencies [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]: +- Updated dependencies + [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]: - react-docgen@7.0.2 ## 2.0.1 diff --git a/packages/react-docgen-cli/package.json b/packages/react-docgen-cli/package.json index f9178c90bdd..979a4963962 100644 --- a/packages/react-docgen-cli/package.json +++ b/packages/react-docgen-cli/package.json @@ -1,6 +1,6 @@ { "name": "@react-docgen/cli", - "version": "2.0.3", + "version": "2.0.4", "description": "A CLI to extract information from React components for documentation generation.", "repository": { "type": "git", @@ -35,7 +35,7 @@ "commander": "11.1.0", "debug": "4.3.7", "fast-glob": "3.3.2", - "react-docgen": "workspace:7.0.3", + "react-docgen": "workspace:7.1.0", "slash": "5.1.0" }, "devDependencies": { diff --git a/packages/react-docgen/CHANGELOG.md b/packages/react-docgen/CHANGELOG.md index c18a3147ae1..fe33058045c 100644 --- a/packages/react-docgen/CHANGELOG.md +++ b/packages/react-docgen/CHANGELOG.md @@ -1,16 +1,39 @@ # Release Notes +## 7.1.0 + +### Minor Changes + +- [#923](https://github.com/reactjs/react-docgen/pull/923) + [`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad) + Thanks [@rvetere](https://github.com/rvetere)! - Support generic types on + `React.forwardRef` calls. + + Example: + + `react-docgen` will now find `IButtonProps`. + + ```ts + export const FullWidthButton = forwardRef( + () => {}, + ); + ``` + ## 7.0.3 ### Patch Changes -- [#890](https://github.com/reactjs/react-docgen/pull/890) [`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9) Thanks [@danez](https://github.com/danez)! - Do not throw error when using namespace specifiers in export statements +- [#890](https://github.com/reactjs/react-docgen/pull/890) + [`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9) + Thanks [@danez](https://github.com/danez)! - Do not throw error when using + namespace specifiers in export statements ## 7.0.2 ### Patch Changes -- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) Thanks [@danez](https://github.com/danez)! - Fix handling of template literals +- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) + Thanks [@danez](https://github.com/danez)! - Fix handling of template literals ## 7.0.1 @@ -341,7 +364,7 @@ allows multiple resolvers to be chained. ```ts - import { builtinResolvers } from "react-docgen"; + import { builtinResolvers } from 'react-docgen'; const { ChainResolver } = builtinResolvers; const resolver = new ChainResolver([resolver1, resolver2], { @@ -370,7 +393,7 @@ addition to functions. ```ts - import type { ResolverClass, ResolverFunction } from "react-docgen"; + import type { ResolverClass, ResolverFunction } from 'react-docgen'; // This was the only option until now const functionResolver: ResolverFunction = (file: FileState) => { @@ -625,7 +648,7 @@ chained. ```ts - import { builtinResolvers } from "react-docgen"; + import { builtinResolvers } from 'react-docgen'; const { ChainResolver } = builtinResolvers; const resolver = new ChainResolver([resolver1, resolver2], { @@ -636,7 +659,7 @@ - 80e4c74: Allow resolvers to be classes in addition to functions. ```ts - import type { ResolverClass, ResolverFunction } from "react-docgen"; + import type { ResolverClass, ResolverFunction } from 'react-docgen'; // This was the only option until now const functionResolver: ResolverFunction = (file: FileState) => { diff --git a/packages/react-docgen/package.json b/packages/react-docgen/package.json index 7925741dbc4..b66b1bf177a 100644 --- a/packages/react-docgen/package.json +++ b/packages/react-docgen/package.json @@ -1,6 +1,6 @@ { "name": "react-docgen", - "version": "7.0.3", + "version": "7.1.0", "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 89a8af1aada..6371e437288 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -27,7 +27,7 @@ "postcss": "8.4.47", "postcss-lightningcss": "1.0.1", "react": "18.3.1", - "react-docgen": "workspace:7.0.3", + "react-docgen": "workspace:7.1.0", "react-dom": "18.3.1", "tailwindcss": "3.4.11" }, diff --git a/packages/website/src/pages/docs/release-notes/cli.mdx b/packages/website/src/pages/docs/release-notes/cli.mdx index 3f7299294da..9d4c7e9d820 100644 --- a/packages/website/src/pages/docs/release-notes/cli.mdx +++ b/packages/website/src/pages/docs/release-notes/cli.mdx @@ -1,17 +1,41 @@ # Release Notes +## 2.0.4 + +### Patch Changes + +- [#931](https://github.com/reactjs/react-docgen/pull/931) + [`a10dd0c`](https://github.com/reactjs/react-docgen/commit/a10dd0c782f053b648cf9bab2042a9d31245fc3d) + Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update + dependency debug to v4.3.5 + +- [`f723041`](https://github.com/reactjs/react-docgen/commit/f7230419af3680b9ed87a323c4fdf46ead667459) + Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - fix(deps): + update dependency debug to v4.3.6 + +- [#943](https://github.com/reactjs/react-docgen/pull/943) + [`ef85698`](https://github.com/reactjs/react-docgen/commit/ef8569863974599f51b9c9e1c4b9202144fe7607) + Thanks [@renovate](https://github.com/apps/renovate)! - update dependency + debug to v4.3.7 + +- Updated dependencies + [[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)]: + - react-docgen@7.1.0 + ## 2.0.3 ### Patch Changes -- Updated dependencies [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]: +- Updated dependencies + [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]: - react-docgen@7.0.3 ## 2.0.2 ### Patch Changes -- Updated dependencies [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]: +- Updated dependencies + [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]: - react-docgen@7.0.2 ## 2.0.1 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 c18a3147ae1..fe33058045c 100644 --- a/packages/website/src/pages/docs/release-notes/react-docgen.mdx +++ b/packages/website/src/pages/docs/release-notes/react-docgen.mdx @@ -1,16 +1,39 @@ # Release Notes +## 7.1.0 + +### Minor Changes + +- [#923](https://github.com/reactjs/react-docgen/pull/923) + [`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad) + Thanks [@rvetere](https://github.com/rvetere)! - Support generic types on + `React.forwardRef` calls. + + Example: + + `react-docgen` will now find `IButtonProps`. + + ```ts + export const FullWidthButton = forwardRef( + () => {}, + ); + ``` + ## 7.0.3 ### Patch Changes -- [#890](https://github.com/reactjs/react-docgen/pull/890) [`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9) Thanks [@danez](https://github.com/danez)! - Do not throw error when using namespace specifiers in export statements +- [#890](https://github.com/reactjs/react-docgen/pull/890) + [`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9) + Thanks [@danez](https://github.com/danez)! - Do not throw error when using + namespace specifiers in export statements ## 7.0.2 ### Patch Changes -- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) Thanks [@danez](https://github.com/danez)! - Fix handling of template literals +- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) + Thanks [@danez](https://github.com/danez)! - Fix handling of template literals ## 7.0.1 @@ -341,7 +364,7 @@ allows multiple resolvers to be chained. ```ts - import { builtinResolvers } from "react-docgen"; + import { builtinResolvers } from 'react-docgen'; const { ChainResolver } = builtinResolvers; const resolver = new ChainResolver([resolver1, resolver2], { @@ -370,7 +393,7 @@ addition to functions. ```ts - import type { ResolverClass, ResolverFunction } from "react-docgen"; + import type { ResolverClass, ResolverFunction } from 'react-docgen'; // This was the only option until now const functionResolver: ResolverFunction = (file: FileState) => { @@ -625,7 +648,7 @@ chained. ```ts - import { builtinResolvers } from "react-docgen"; + import { builtinResolvers } from 'react-docgen'; const { ChainResolver } = builtinResolvers; const resolver = new ChainResolver([resolver1, resolver2], { @@ -636,7 +659,7 @@ - 80e4c74: Allow resolvers to be classes in addition to functions. ```ts - import type { ResolverClass, ResolverFunction } from "react-docgen"; + import type { ResolverClass, ResolverFunction } from 'react-docgen'; // This was the only option until now const functionResolver: ResolverFunction = (file: FileState) => { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a05bcf7193d..cd6ac892598 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -135,7 +135,7 @@ importers: specifier: 3.3.2 version: 3.3.2 react-docgen: - specifier: workspace:7.0.3 + specifier: workspace:7.1.0 version: link:../react-docgen slash: specifier: 5.1.0 @@ -196,7 +196,7 @@ importers: specifier: 18.3.1 version: 18.3.1 react-docgen: - specifier: workspace:7.0.3 + specifier: workspace:7.1.0 version: link:../react-docgen react-dom: specifier: 18.3.1