Skip to content

Commit 7d7d210

Browse files
Packages ready to publish (#937)
Publish new versions Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c30b7c4 commit 7d7d210

File tree

12 files changed

+116
-50
lines changed

12 files changed

+116
-50
lines changed

.changeset/itchy-beds-grab.md

-5
This file was deleted.

.changeset/lemon-hotels-move.md

-5
This file was deleted.

.changeset/real-peas-reflect.md

-5
This file was deleted.

.changeset/tiny-days-taste.md

-13
This file was deleted.

packages/react-docgen-cli/CHANGELOG.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,41 @@
11
# Release Notes
22

3+
## 2.0.4
4+
5+
### Patch Changes
6+
7+
- [#931](https://github.com/reactjs/react-docgen/pull/931)
8+
[`a10dd0c`](https://github.com/reactjs/react-docgen/commit/a10dd0c782f053b648cf9bab2042a9d31245fc3d)
9+
Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update
10+
dependency debug to v4.3.5
11+
12+
- [`f723041`](https://github.com/reactjs/react-docgen/commit/f7230419af3680b9ed87a323c4fdf46ead667459)
13+
Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - fix(deps):
14+
update dependency debug to v4.3.6
15+
16+
- [#943](https://github.com/reactjs/react-docgen/pull/943)
17+
[`ef85698`](https://github.com/reactjs/react-docgen/commit/ef8569863974599f51b9c9e1c4b9202144fe7607)
18+
Thanks [@renovate](https://github.com/apps/renovate)! - update dependency
19+
debug to v4.3.7
20+
21+
- Updated dependencies
22+
[[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)]:
23+
24+
325
## 2.0.3
426

527
### Patch Changes
628

7-
- Updated dependencies [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]:
29+
- Updated dependencies
30+
[[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]:
831
932

1033
## 2.0.2
1134

1235
### Patch Changes
1336

14-
- Updated dependencies [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]:
37+
- Updated dependencies
38+
[[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]:
1539
1640

1741
## 2.0.1

packages/react-docgen-cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-docgen/cli",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "A CLI to extract information from React components for documentation generation.",
55
"repository": {
66
"type": "git",
@@ -35,7 +35,7 @@
3535
"commander": "11.1.0",
3636
"debug": "4.3.7",
3737
"fast-glob": "3.3.2",
38-
"react-docgen": "workspace:7.0.3",
38+
"react-docgen": "workspace:7.1.0",
3939
"slash": "5.1.0"
4040
},
4141
"devDependencies": {

packages/react-docgen/CHANGELOG.md

+29-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,39 @@
11
# Release Notes
22

3+
## 7.1.0
4+
5+
### Minor Changes
6+
7+
- [#923](https://github.com/reactjs/react-docgen/pull/923)
8+
[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)
9+
Thanks [@rvetere](https://github.com/rvetere)! - Support generic types on
10+
`React.forwardRef` calls.
11+
12+
Example:
13+
14+
`react-docgen` will now find `IButtonProps`.
15+
16+
```ts
17+
export const FullWidthButton = forwardRef<HTMLButtonElement, IButtonProps>(
18+
() => {},
19+
);
20+
```
21+
322
## 7.0.3
423

524
### Patch Changes
625

7-
- [#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
26+
- [#890](https://github.com/reactjs/react-docgen/pull/890)
27+
[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)
28+
Thanks [@danez](https://github.com/danez)! - Do not throw error when using
29+
namespace specifiers in export statements
830

931
## 7.0.2
1032

1133
### Patch Changes
1234

13-
- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) Thanks [@danez](https://github.com/danez)! - Fix handling of template literals
35+
- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)
36+
Thanks [@danez](https://github.com/danez)! - Fix handling of template literals
1437

1538
## 7.0.1
1639

@@ -341,7 +364,7 @@
341364
allows multiple resolvers to be chained.
342365

343366
```ts
344-
import { builtinResolvers } from "react-docgen";
367+
import { builtinResolvers } from 'react-docgen';
345368

346369
const { ChainResolver } = builtinResolvers;
347370
const resolver = new ChainResolver([resolver1, resolver2], {
@@ -370,7 +393,7 @@
370393
addition to functions.
371394

372395
```ts
373-
import type { ResolverClass, ResolverFunction } from "react-docgen";
396+
import type { ResolverClass, ResolverFunction } from 'react-docgen';
374397

375398
// This was the only option until now
376399
const functionResolver: ResolverFunction = (file: FileState) => {
@@ -625,7 +648,7 @@
625648
chained.
626649

627650
```ts
628-
import { builtinResolvers } from "react-docgen";
651+
import { builtinResolvers } from 'react-docgen';
629652

630653
const { ChainResolver } = builtinResolvers;
631654
const resolver = new ChainResolver([resolver1, resolver2], {
@@ -636,7 +659,7 @@
636659
- 80e4c74: Allow resolvers to be classes in addition to functions.
637660

638661
```ts
639-
import type { ResolverClass, ResolverFunction } from "react-docgen";
662+
import type { ResolverClass, ResolverFunction } from 'react-docgen';
640663

641664
// This was the only option until now
642665
const functionResolver: ResolverFunction = (file: FileState) => {

packages/react-docgen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-docgen",
3-
"version": "7.0.3",
3+
"version": "7.1.0",
44
"description": "A library to extract information from React components for documentation generation.",
55
"repository": {
66
"type": "git",

packages/website/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"postcss": "8.4.47",
2828
"postcss-lightningcss": "1.0.1",
2929
"react": "18.3.1",
30-
"react-docgen": "workspace:7.0.3",
30+
"react-docgen": "workspace:7.1.0",
3131
"react-dom": "18.3.1",
3232
"tailwindcss": "3.4.14"
3333
},

packages/website/src/pages/docs/release-notes/cli.mdx

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,41 @@
11
# Release Notes
22

3+
## 2.0.4
4+
5+
### Patch Changes
6+
7+
- [#931](https://github.com/reactjs/react-docgen/pull/931)
8+
[`a10dd0c`](https://github.com/reactjs/react-docgen/commit/a10dd0c782f053b648cf9bab2042a9d31245fc3d)
9+
Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update
10+
dependency debug to v4.3.5
11+
12+
- [`f723041`](https://github.com/reactjs/react-docgen/commit/f7230419af3680b9ed87a323c4fdf46ead667459)
13+
Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - fix(deps):
14+
update dependency debug to v4.3.6
15+
16+
- [#943](https://github.com/reactjs/react-docgen/pull/943)
17+
[`ef85698`](https://github.com/reactjs/react-docgen/commit/ef8569863974599f51b9c9e1c4b9202144fe7607)
18+
Thanks [@renovate](https://github.com/apps/renovate)! - update dependency
19+
debug to v4.3.7
20+
21+
- Updated dependencies
22+
[[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)]:
23+
24+
325
## 2.0.3
426

527
### Patch Changes
628

7-
- Updated dependencies [[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]:
29+
- Updated dependencies
30+
[[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)]:
831
932

1033
## 2.0.2
1134

1235
### Patch Changes
1336

14-
- Updated dependencies [[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]:
37+
- Updated dependencies
38+
[[`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)]:
1539
1640

1741
## 2.0.1

packages/website/src/pages/docs/release-notes/react-docgen.mdx

+29-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,39 @@
11
# Release Notes
22

3+
## 7.1.0
4+
5+
### Minor Changes
6+
7+
- [#923](https://github.com/reactjs/react-docgen/pull/923)
8+
[`3033ca0`](https://github.com/reactjs/react-docgen/commit/3033ca0908eb53f6ae2ee8a40eb4ef96840ff7ad)
9+
Thanks [@rvetere](https://github.com/rvetere)! - Support generic types on
10+
`React.forwardRef` calls.
11+
12+
Example:
13+
14+
`react-docgen` will now find `IButtonProps`.
15+
16+
```ts
17+
export const FullWidthButton = forwardRef<HTMLButtonElement, IButtonProps>(
18+
() => {},
19+
);
20+
```
21+
322
## 7.0.3
423

524
### Patch Changes
625

7-
- [#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
26+
- [#890](https://github.com/reactjs/react-docgen/pull/890)
27+
[`afe8d02`](https://github.com/reactjs/react-docgen/commit/afe8d022d058a5d49c6fc144fb165c02f4a764d9)
28+
Thanks [@danez](https://github.com/danez)! - Do not throw error when using
29+
namespace specifiers in export statements
830

931
## 7.0.2
1032

1133
### Patch Changes
1234

13-
- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5) Thanks [@danez](https://github.com/danez)! - Fix handling of template literals
35+
- [`64bf1aa`](https://github.com/reactjs/react-docgen/commit/64bf1aa078148b4d44f8634252e5b726e24b8ee5)
36+
Thanks [@danez](https://github.com/danez)! - Fix handling of template literals
1437

1538
## 7.0.1
1639

@@ -341,7 +364,7 @@
341364
allows multiple resolvers to be chained.
342365

343366
```ts
344-
import { builtinResolvers } from "react-docgen";
367+
import { builtinResolvers } from 'react-docgen';
345368

346369
const { ChainResolver } = builtinResolvers;
347370
const resolver = new ChainResolver([resolver1, resolver2], {
@@ -370,7 +393,7 @@
370393
addition to functions.
371394

372395
```ts
373-
import type { ResolverClass, ResolverFunction } from "react-docgen";
396+
import type { ResolverClass, ResolverFunction } from 'react-docgen';
374397

375398
// This was the only option until now
376399
const functionResolver: ResolverFunction = (file: FileState) => {
@@ -625,7 +648,7 @@
625648
chained.
626649

627650
```ts
628-
import { builtinResolvers } from "react-docgen";
651+
import { builtinResolvers } from 'react-docgen';
629652

630653
const { ChainResolver } = builtinResolvers;
631654
const resolver = new ChainResolver([resolver1, resolver2], {
@@ -636,7 +659,7 @@
636659
- 80e4c74: Allow resolvers to be classes in addition to functions.
637660

638661
```ts
639-
import type { ResolverClass, ResolverFunction } from "react-docgen";
662+
import type { ResolverClass, ResolverFunction } from 'react-docgen';
640663

641664
// This was the only option until now
642665
const functionResolver: ResolverFunction = (file: FileState) => {

pnpm-lock.yaml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)