Skip to content

Commit

Permalink
Publish new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 14, 2024
1 parent 9b031df commit 41c3501
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 50 deletions.
5 changes: 0 additions & 5 deletions .changeset/itchy-beds-grab.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-hotels-move.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-peas-reflect.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/tiny-days-taste.md

This file was deleted.

28 changes: 26 additions & 2 deletions packages/react-docgen-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)]:
- [email protected]

## 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)]:
- [email protected]

## 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)]:
- [email protected]

## 2.0.1
Expand Down
4 changes: 2 additions & 2 deletions packages/react-docgen-cli/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
35 changes: 29 additions & 6 deletions packages/react-docgen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<HTMLButtonElement, IButtonProps>(
() => {},
);
```

## 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

Expand Down Expand Up @@ -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], {
Expand Down Expand Up @@ -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) => {
Expand Down Expand Up @@ -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], {
Expand All @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-docgen/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
28 changes: 26 additions & 2 deletions packages/website/src/pages/docs/release-notes/cli.mdx
Original file line number Diff line number Diff line change
@@ -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)]:
- [email protected]

## 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)]:
- [email protected]

## 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)]:
- [email protected]

## 2.0.1
Expand Down
35 changes: 29 additions & 6 deletions packages/website/src/pages/docs/release-notes/react-docgen.mdx
Original file line number Diff line number Diff line change
@@ -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<HTMLButtonElement, IButtonProps>(
() => {},
);
```

## 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

Expand Down Expand Up @@ -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], {
Expand Down Expand Up @@ -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) => {
Expand Down Expand Up @@ -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], {
Expand All @@ -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) => {
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41c3501

Please sign in to comment.