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/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 57974b689..f481e0af3 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.0", "next-contentlayer": "^0.3.4", "react": "18.2.0", diff --git a/examples/next-mdx/package.json b/examples/next-mdx/package.json index 493ebabab..32db25932 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.0", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/packages/contentlayer/CHANGELOG.md b/packages/contentlayer/CHANGELOG.md index 349afdc02..f73eb9a4b 100644 --- a/packages/contentlayer/CHANGELOG.md +++ b/packages/contentlayer/CHANGELOG.md @@ -1,5 +1,13 @@ # fumadocs-contentlayer +## 1.1.11 + +### Patch Changes + +- Updated dependencies [2d8df75] +- 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..cde2ff759 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,21 @@ # 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 + +- 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 362f4d5dc..8daade74d 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 7a4fb0bde..996c922d2 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.0", "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/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 91316a8f8..43e8fa0be 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,13 @@ # next-docs-mdx +## 8.2.9 + +### Patch Changes + +- Updated dependencies [2d8df75] +- 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 2b2961d42..5045d7aa6 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/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index e549395f8..1de3e0e43 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,47 @@ # 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 [2d8df75] + - fumadocs-core@11.0.0 + ## 10.1.3 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 931c9b2ca..c830381b2 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 87d519f43..f4f6f550b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -180,13 +180,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.0 @@ -223,13 +223,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.0 @@ -422,16 +422,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.0