From dd5f10ee285b6b08cd1eb5bdada6a6189ead366b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Apr 2024 13:25:16 +0000 Subject: [PATCH] Version Packages --- .changeset/green-trainers-count.md | 9 ---- .changeset/mighty-books-occur.md | 49 ------------------ .changeset/pink-tips-love.md | 9 ---- .changeset/stupid-tips-tell.md | 35 ------------- examples/contentlayer/package.json | 6 +-- examples/next-mdx/package.json | 6 +-- packages/contentlayer/CHANGELOG.md | 9 ++++ packages/contentlayer/package.json | 2 +- packages/core/CHANGELOG.md | 61 +++++++++++++++++++++++ packages/core/package.json | 2 +- packages/create-app-versions/package.json | 8 +-- packages/create-app/CHANGELOG.md | 2 + packages/create-app/package.json | 2 +- packages/doc-gen/CHANGELOG.md | 8 +++ packages/doc-gen/package.json | 2 +- packages/mdx/CHANGELOG.md | 9 ++++ packages/mdx/package.json | 2 +- packages/typescript/CHANGELOG.md | 49 ++++++++++++++++++ packages/typescript/package.json | 2 +- packages/ui/CHANGELOG.md | 43 ++++++++++++++++ packages/ui/package.json | 2 +- pnpm-lock.yaml | 20 ++++---- 22 files changed, 208 insertions(+), 129 deletions(-) delete mode 100644 .changeset/green-trainers-count.md delete mode 100644 .changeset/mighty-books-occur.md delete mode 100644 .changeset/pink-tips-love.md delete mode 100644 .changeset/stupid-tips-tell.md create mode 100644 packages/doc-gen/CHANGELOG.md diff --git a/.changeset/green-trainers-count.md b/.changeset/green-trainers-count.md deleted file mode 100644 index 5d28a933e..000000000 --- a/.changeset/green-trainers-count.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"fumadocs-core": major ---- - -Remove `cwd` option from `remark-dynamic-content` - -why: Use `cwd` from vfile - -migrate: Pass the `cwd` option from remark instead diff --git a/.changeset/mighty-books-occur.md b/.changeset/mighty-books-occur.md deleted file mode 100644 index 9fd6c8ed7..000000000 --- a/.changeset/mighty-books-occur.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -"fumadocs-core": major -"fumadocs-typescript": major ---- - -**Introduce `fumadocs-docgen` package.** - -Offer a better authoring experience for advanced use cases. - -- Move `remark-dynamic-content` and `remark-install` plugins to the new package `fumadocs-docgen`. -- Support Typescript generator by default - -**Usage** - -Add the `remarkDocGen` plugin to your remark plugins. - -```ts -import { remarkDocGen, fileGenerator } from "fumadocs-docgen"; - -remark().use(remarkDocGen, { generators: [fileGenerator()] }) -``` - -Generate docs with code blocks. - -````mdx -```json doc-gen: -{ - // options -} -``` -```` - -**Migrate** - -For `remarkDynamicContent`, enable `fileGenerator` and use this syntax: - -````mdx -```json doc-gen:file -{ - "file": "./path/to/my-file.txt" -} -``` -```` - -For `remarkInstall`, it remains the same: - -```ts -import { remarkInstall } from "fumadocs-docgen" -``` diff --git a/.changeset/pink-tips-love.md b/.changeset/pink-tips-love.md deleted file mode 100644 index 62ad4dd61..000000000 --- a/.changeset/pink-tips-love.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"fumadocs-core": major ---- - -Remove support for `getTableOfContentsFromPortableText` - -why: Sanity integration should be provided by 3rd party integrations - -migrate: Use built-in sources, or write a custom implementation diff --git a/.changeset/stupid-tips-tell.md b/.changeset/stupid-tips-tell.md deleted file mode 100644 index 5fafe63a5..000000000 --- a/.changeset/stupid-tips-tell.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"fumadocs-ui": major ---- - -Replace `nav.links` option with secondary links - -why: A more straightforward API design - -migrate: - -```diff -, -+ external: true, -+ }, -+ ]} -- nav={{ -- links: [ -- { -- icon: , -- href: 'https://github.com', -- label: 'Github', -- external: true, -- }, -- ], -- }} -> - {children} - -``` \ No newline at end of file diff --git a/examples/contentlayer/package.json b/examples/contentlayer/package.json index 7322f3b93..83263c58e 100644 --- a/examples/contentlayer/package.json +++ b/examples/contentlayer/package.json @@ -9,9 +9,9 @@ }, "dependencies": { "contentlayer": "0.3.4", - "fumadocs-contentlayer": "1.1.10", - "fumadocs-core": "10.1.3", - "fumadocs-ui": "10.1.3", + "fumadocs-contentlayer": "1.1.11", + "fumadocs-core": "11.0.0", + "fumadocs-ui": "11.0.0", "next": "^14.2.1", "next-contentlayer": "^0.3.4", "react": "18.2.0", diff --git a/examples/next-mdx/package.json b/examples/next-mdx/package.json index 98e296654..0ffb8750f 100644 --- a/examples/next-mdx/package.json +++ b/examples/next-mdx/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "10.1.3", - "fumadocs-mdx": "8.2.8", - "fumadocs-ui": "10.1.3", + "fumadocs-core": "11.0.0", + "fumadocs-mdx": "8.2.9", + "fumadocs-ui": "11.0.0", "next": "^14.2.1", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/packages/contentlayer/CHANGELOG.md b/packages/contentlayer/CHANGELOG.md index 349afdc02..7af720034 100644 --- a/packages/contentlayer/CHANGELOG.md +++ b/packages/contentlayer/CHANGELOG.md @@ -1,5 +1,14 @@ # fumadocs-contentlayer +## 1.1.11 + +### Patch Changes + +- Updated dependencies [2d8df75] +- Updated dependencies [f75287d] +- Updated dependencies [2d8df75] + - fumadocs-core@11.0.0 + ## 1.1.10 ### Patch Changes diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json index 5d42b1507..2f3f68e5a 100644 --- a/packages/contentlayer/package.json +++ b/packages/contentlayer/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-contentlayer", - "version": "1.1.10", + "version": "1.1.11", "description": "The Contentlayer adapter for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 26af542eb..02e9d24d9 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,66 @@ # next-docs-zeta +## 11.0.0 + +### Major Changes + +- 2d8df75: Remove `cwd` option from `remark-dynamic-content` + + why: Use `cwd` from vfile + + migrate: Pass the `cwd` option from remark instead + +- f75287d: **Introduce `fumadocs-docgen` package.** + + Offer a better authoring experience for advanced use cases. + + - Move `remark-dynamic-content` and `remark-install` plugins to the new package `fumadocs-docgen`. + - Support Typescript generator by default + + **Usage** + + Add the `remarkDocGen` plugin to your remark plugins. + + ```ts + import { remarkDocGen, fileGenerator } from "fumadocs-docgen"; + + remark().use(remarkDocGen, { generators: [fileGenerator()] }); + ``` + + Generate docs with code blocks. + + ````mdx + ```json doc-gen: + { + // options + } + ``` + ```` + + **Migrate** + + For `remarkDynamicContent`, enable `fileGenerator` and use this syntax: + + ````mdx + ```json doc-gen:file + { + "file": "./path/to/my-file.txt" + } + ``` + ```` + + For `remarkInstall`, it remains the same: + + ```ts + import { remarkInstall } from "fumadocs-docgen"; + ``` + +- 2d8df75: Remove support for `getTableOfContentsFromPortableText` + + why: Sanity integration should be provided by 3rd party integrations + + migrate: Use built-in sources, or write a custom implementation + ## 10.1.3 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 17fad07f2..b9d8b28a8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-core", - "version": "10.1.3", + "version": "11.0.0", "description": "The library for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/packages/create-app-versions/package.json b/packages/create-app-versions/package.json index 0bde9a278..6c079ae01 100644 --- a/packages/create-app-versions/package.json +++ b/packages/create-app-versions/package.json @@ -10,10 +10,10 @@ "@types/react-dom": "^18.2.22", "autoprefixer": "^10.4.19", "contentlayer": "^0.3.4", - "fumadocs-contentlayer": "^1.1.10", - "fumadocs-core": "^10.1.3", - "fumadocs-mdx": "^8.2.8", - "fumadocs-ui": "^10.1.3", + "fumadocs-contentlayer": "^1.1.11", + "fumadocs-core": "^11.0.0", + "fumadocs-mdx": "^8.2.9", + "fumadocs-ui": "^11.0.0", "next": "^14.2.1", "next-contentlayer": "^0.3.4", "postcss": "^8.4.38", diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md index eb6bee064..c3c8ceef3 100644 --- a/packages/create-app/CHANGELOG.md +++ b/packages/create-app/CHANGELOG.md @@ -1,5 +1,7 @@ # create-next-docs-app +## 11.0.0 + ## 10.1.3 ## 10.1.2 diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 29c9d2e85..0a4c78f1e 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,6 +1,6 @@ { "name": "create-fumadocs-app", - "version": "10.1.3", + "version": "11.0.0", "description": "Create a new documentation site with Fumadocs", "keywords": [ "NextJs", diff --git a/packages/doc-gen/CHANGELOG.md b/packages/doc-gen/CHANGELOG.md new file mode 100644 index 000000000..f6788c0ea --- /dev/null +++ b/packages/doc-gen/CHANGELOG.md @@ -0,0 +1,8 @@ +# fumadocs-docgen + +## 1.0.1 + +### Patch Changes + +- Updated dependencies [f75287d] + - fumadocs-typescript@2.0.0 diff --git a/packages/doc-gen/package.json b/packages/doc-gen/package.json index d08d2753b..d7c0b3305 100644 --- a/packages/doc-gen/package.json +++ b/packages/doc-gen/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-docgen", - "version": "1.0.0", + "version": "1.0.1", "description": "Useful remark utilities and plugins", "keywords": [ "NextJs", diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 91316a8f8..db97401d5 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,14 @@ # next-docs-mdx +## 8.2.9 + +### Patch Changes + +- Updated dependencies [2d8df75] +- Updated dependencies [f75287d] +- Updated dependencies [2d8df75] + - fumadocs-core@11.0.0 + ## 8.2.8 ### Patch Changes diff --git a/packages/mdx/package.json b/packages/mdx/package.json index bf9c2316a..c1e6db414 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-mdx", - "version": "8.2.8", + "version": "8.2.9", "description": "The built-in source for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 85da8064b..4d6e7c89e 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -1,5 +1,54 @@ # fumadocs-typescript +## 2.0.0 + +### Major Changes + +- f75287d: **Introduce `fumadocs-docgen` package.** + + Offer a better authoring experience for advanced use cases. + + - Move `remark-dynamic-content` and `remark-install` plugins to the new package `fumadocs-docgen`. + - Support Typescript generator by default + + **Usage** + + Add the `remarkDocGen` plugin to your remark plugins. + + ```ts + import { remarkDocGen, fileGenerator } from "fumadocs-docgen"; + + remark().use(remarkDocGen, { generators: [fileGenerator()] }); + ``` + + Generate docs with code blocks. + + ````mdx + ```json doc-gen: + { + // options + } + ``` + ```` + + **Migrate** + + For `remarkDynamicContent`, enable `fileGenerator` and use this syntax: + + ````mdx + ```json doc-gen:file + { + "file": "./path/to/my-file.txt" + } + ``` + ```` + + For `remarkInstall`, it remains the same: + + ```ts + import { remarkInstall } from "fumadocs-docgen"; + ``` + ## 1.0.2 ### Patch Changes diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 6b3a254bb..c5a912623 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-typescript", - "version": "1.0.2", + "version": "2.0.0", "description": "Typescript Integration for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index e549395f8..4b6bde5e4 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,48 @@ # next-docs-ui +## 11.0.0 + +### Major Changes + +- 2d8df75: Replace `nav.links` option with secondary links + + why: A more straightforward API design + + migrate: + + ```diff + , + + external: true, + + }, + + ]} + - nav={{ + - links: [ + - { + - icon: , + - href: 'https://github.com', + - label: 'Github', + - external: true, + - }, + - ], + - }} + > + {children} + + ``` + +### Patch Changes + +- Updated dependencies [2d8df75] +- Updated dependencies [f75287d] +- Updated dependencies [2d8df75] + - fumadocs-core@11.0.0 + ## 10.1.3 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index a66d95a34..23c916441 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-ui", - "version": "10.1.3", + "version": "11.0.0", "description": "The framework for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7cde8bb49..02332dedf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -183,13 +183,13 @@ importers: specifier: 0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: 1.1.10 + specifier: 1.1.11 version: link:../../packages/contentlayer fumadocs-core: - specifier: 10.1.3 + specifier: 11.0.0 version: link:../../packages/core fumadocs-ui: - specifier: 10.1.3 + specifier: 11.0.0 version: link:../../packages/ui next: specifier: ^14.2.1 @@ -226,13 +226,13 @@ importers: examples/next-mdx: dependencies: fumadocs-core: - specifier: 10.1.3 + specifier: 11.0.0 version: link:../../packages/core fumadocs-mdx: - specifier: 8.2.8 + specifier: 8.2.9 version: link:../../packages/mdx fumadocs-ui: - specifier: 10.1.3 + specifier: 11.0.0 version: link:../../packages/ui next: specifier: ^14.2.1 @@ -425,16 +425,16 @@ importers: specifier: ^0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: ^1.1.10 + specifier: ^1.1.11 version: link:../contentlayer fumadocs-core: - specifier: ^10.1.3 + specifier: ^11.0.0 version: link:../core fumadocs-mdx: - specifier: ^8.2.8 + specifier: ^8.2.9 version: link:../mdx fumadocs-ui: - specifier: ^10.1.3 + specifier: ^11.0.0 version: link:../ui next: specifier: ^14.2.1