fuma-nama/fumadocs (fumadocs-core)
### [`v12.1.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.1.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.7...fumadocs-core@12.1.0)
##### Minor Changes
- [`0a377a9`](https://togithub.com/fuma-nama/fumadocs/commit/0a377a9): **Support writing code blocks as a `` element.**
````mdx
import { Tabs } from 'fumadocs-ui/components/tabs';
```js tab="Tab 1"
console.log('Hello');
```
```js tab="Tab 2"
console.log('Hello');
```
````
This is same as wrapping the code block in a `` component.
- [`0a377a9`](https://togithub.com/fuma-nama/fumadocs/commit/0a377a9): **Pass the `icon` prop to code blocks as HTML instead of MDX attribute.**
**why:** Only MDX flow elements support attributes with JSX value, like:
```mdx
}>...
```
As Shiki outputs hast elements, we have to convert the output of Shiki to a MDX flow element so that we can pass the `icon` property.
Now, `rehype-code` passes a HTML string instead of JSX, and render it with `dangerouslySetInnerHTML`:
```mdx
...
```
**migrate:** Not needed, it should work seamlessly.
### [`v12.0.7`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.6...fumadocs-core@12.0.7)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.6...fumadocs-core@12.0.7)
### [`v12.0.6`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.0.6)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.5...fumadocs-core@12.0.6)
##### Patch Changes
- [`7a29b79`](https://togithub.com/fuma-nama/fumadocs/commit/7a29b79): Remove default language from `source.getLanguages`
- [`b0c1242`](https://togithub.com/fuma-nama/fumadocs/commit/b0c1242): Support Next.js 15 cache behaviour in `getGithubLastEdit`
### [`v12.0.5`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.4...fumadocs-core@12.0.5)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.4...fumadocs-core@12.0.5)
### [`v12.0.4`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.0.4)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.3...fumadocs-core@12.0.4)
##### Patch Changes
- [`72dbaf1`](https://togithub.com/fuma-nama/fumadocs/commit/72dbaf1): Support `ReactNode` in page tree, table of contents and breadcrumb type definitions
- [`51ca944`](https://togithub.com/fuma-nama/fumadocs/commit/51ca944): Support including separators in breadcrumbs
### [`v12.0.3`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.0.3)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.2...fumadocs-core@12.0.3)
##### Patch Changes
- [`053609d`](https://togithub.com/fuma-nama/fumadocs/commit/053609d): Rename `defaultLang` to `defaultLanguage`
### [`v12.0.2`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.1...fumadocs-core@12.0.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.1...fumadocs-core@12.0.2)
### [`v12.0.1`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.0...fumadocs-core@12.0.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.0...fumadocs-core@12.0.1)
### [`v12.0.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.0.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.3.2...fumadocs-core@12.0.0)
##### Major Changes
- [`98430e9`](https://togithub.com/fuma-nama/fumadocs/commit/98430e9): **Remove `minWidth` deprecated option from `Sidebar` component.**
**migrate:** Use `blockScrollingWidth` instead
##### Minor Changes
- [`57eb762`](https://togithub.com/fuma-nama/fumadocs/commit/57eb762): Support attaching custom properties during page tree builder process
##### Patch Changes
- [`d88dfa6`](https://togithub.com/fuma-nama/fumadocs/commit/d88dfa6): Support attaching `id` property to page trees
- [`ba20694`](https://togithub.com/fuma-nama/fumadocs/commit/ba20694): Remark Headings: Support code syntax in headings
### [`v11.3.2`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.3.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.3.1...fumadocs-core@11.3.2)
##### Patch Changes
- [`1b8e12b`](https://togithub.com/fuma-nama/fumadocs/commit/1b8e12b): Use `display: grid` for codeblocks
### [`v11.3.1`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.3.0...fumadocs-core@11.3.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.3.0...fumadocs-core@11.3.1)
### [`v11.3.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.3.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.2.2...fumadocs-core@11.3.0)
##### Minor Changes
- [`917d87f`](https://togithub.com/fuma-nama/fumadocs/commit/917d87f): Rename sidebar primitive `minWidth` prop to `blockScrollingWidth`
### [`v11.2.2`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.2.1...fumadocs-core@11.2.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.2.1...fumadocs-core@11.2.2)
### [`v11.2.1`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.2.0...fumadocs-core@11.2.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.2.0...fumadocs-core@11.2.1)
### [`v11.2.0`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.3...fumadocs-core@11.2.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.3...fumadocs-core@11.2.0)
### [`v11.1.3`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.1.3)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.2...fumadocs-core@11.1.3)
##### Patch Changes
- [`88008b1`](https://togithub.com/fuma-nama/fumadocs/commit/88008b1): Fix ESM compatibility problems in i18n middleware
- [`944541a`](https://togithub.com/fuma-nama/fumadocs/commit/944541a): Add dynamic page url according to locale
- [`07a9312`](https://togithub.com/fuma-nama/fumadocs/commit/07a9312): Improve Search I18n utilities
### [`v11.1.2`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.1...fumadocs-core@11.1.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.1...fumadocs-core@11.1.2)
### [`v11.1.1`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.1.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.1.0...fumadocs-core@11.1.1)
##### Patch Changes
- [`8ef2b68`](https://togithub.com/fuma-nama/fumadocs/commit/8ef2b68): Bump deps
- [`26f464d`](https://togithub.com/fuma-nama/fumadocs/commit/26f464d): Support relative paths in meta.json
- [`26f464d`](https://togithub.com/fuma-nama/fumadocs/commit/26f464d): Support non-external link in meta.json
### [`v11.1.0`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.8...fumadocs-core@11.1.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.8...fumadocs-core@11.1.0)
### [`v11.0.8`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.0.8)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.7...fumadocs-core@11.0.8)
##### Patch Changes
- [`98258b5`](https://togithub.com/fuma-nama/fumadocs/commit/98258b5): Fix regex problems
### [`v11.0.7`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.0.7)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.6...fumadocs-core@11.0.7)
##### Patch Changes
- [`f7c2c5c`](https://togithub.com/fuma-nama/fumadocs/commit/f7c2c5c): Fix custom heading ids conflicts with MDX syntax
### [`v11.0.6`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.0.6)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.5...fumadocs-core@11.0.6)
##### Patch Changes
- [`5653d5d`](https://togithub.com/fuma-nama/fumadocs/commit/5653d5d): Support customising heading id in headings
- [`5653d5d`](https://togithub.com/fuma-nama/fumadocs/commit/5653d5d): Support custom heading slugger
### [`v11.0.5`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.4...fumadocs-core@11.0.5)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.4...fumadocs-core@11.0.5)
### [`v11.0.4`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.0.4)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.3...fumadocs-core@11.0.4)
##### Patch Changes
- [`7b61b2f`](https://togithub.com/fuma-nama/fumadocs/commit/7b61b2f): Migrate `fumadocs-ui` to fully ESM, adding support for ESM `tailwind.config` file
### [`v11.0.3`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.2...fumadocs-core@11.0.3)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.2...fumadocs-core@11.0.3)
### [`v11.0.2`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.1...fumadocs-core@11.0.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.1...fumadocs-core@11.0.2)
### [`v11.0.1`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.0...fumadocs-core@11.0.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@11.0.0...fumadocs-core@11.0.1)
### [`v11.0.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4011.0.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.1.3...fumadocs-core@11.0.0)
##### Major Changes
- [`2d8df75`](https://togithub.com/fuma-nama/fumadocs/commit/2d8df75): Remove `cwd` option from `remark-dynamic-content`
why: Use `cwd` from vfile
migrate: Pass the `cwd` option from remark instead
- [`92cb12f`](https://togithub.com/fuma-nama/fumadocs/commit/92cb12f): Simplify Source API virtual storage.
why: Improve performance
migrate:
```diff
- storage.write('path.mdx', { type: 'page', ... })
- storage.readPage('page')
+ storage.write('path.mdx', 'page', { ... })
+ storage.read('page', 'page')
```
Transformers can now access file loader options.
```ts
load({
transformers: [
({ storage, options }) => {
options.getUrl();
options.getSlugs();
},
],
});
```
- [`f75287d`](https://togithub.com/fuma-nama/fumadocs/commit/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`](https://togithub.com/fuma-nama/fumadocs/commit/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
### [`v10.1.3`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.1.3)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.1.2...fumadocs-core@10.1.3)
##### Patch Changes
- [`bbad52f`](https://togithub.com/fuma-nama/fumadocs/commit/bbad52f): Support `bun` in `remark-install` plugin
### [`v10.1.2`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.1.1...fumadocs-core@10.1.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.1.1...fumadocs-core@10.1.2)
### [`v10.1.1`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.1.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.1.0...fumadocs-core@10.1.1)
##### Patch Changes
- [`779c599`](https://togithub.com/fuma-nama/fumadocs/commit/779c599): Mark `getTableOfContentsFromPortableText` deprecated
- [`0c01300`](https://togithub.com/fuma-nama/fumadocs/commit/0c01300): Fix remark-dynamic-content ignored code blocks
- [`779c599`](https://togithub.com/fuma-nama/fumadocs/commit/779c599): Support relative resolve path for remark-dynamic-content
### [`v10.1.0`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.5...fumadocs-core@10.1.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.5...fumadocs-core@10.1.0)
### [`v10.0.5`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.0.5)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.4...fumadocs-core@10.0.5)
##### Patch Changes
- [`e47c62f`](https://togithub.com/fuma-nama/fumadocs/commit/e47c62f): Improve remark plugin typings
### [`v10.0.4`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.3...fumadocs-core@10.0.4)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.3...fumadocs-core@10.0.4)
### [`v10.0.3`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.0.3)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.2...fumadocs-core@10.0.3)
##### Patch Changes
- [`6f321e5`](https://togithub.com/fuma-nama/fumadocs/commit/6f321e5): Fix type errors of flexseach
### [`v10.0.2`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.0.2)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.1...fumadocs-core@10.0.2)
##### Patch Changes
- [`10e099a`](https://togithub.com/fuma-nama/fumadocs/commit/10e099a): Remove deprecated options from `fumadocs-core/toc`
### [`v10.0.1`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.0.1)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@10.0.0...fumadocs-core@10.0.1)
##### Patch Changes
- [`c9b7763`](https://togithub.com/fuma-nama/fumadocs/commit/c9b7763): Update to Next.js 14.1.0
- [`0e78dc8`](https://togithub.com/fuma-nama/fumadocs/commit/0e78dc8): Support customising search API URL
- [`d8483a8`](https://togithub.com/fuma-nama/fumadocs/commit/d8483a8): Remove undefined values from page tree
### [`v10.0.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4010.0.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@9.1.0...fumadocs-core@10.0.0)
##### Major Changes
- [`321d1e1`](https://togithub.com/fuma-nama/fumadocs/commit/321d1e1f): **Move Typescript integrations to `fumadocs-typescript`**
why: It is now a stable feature
migrate: Use `fumadocs-typescript` instead.
```diff
- import { AutoTypeTable } from "fumadocs-ui/components/auto-type-table"
+ import { AutoTypeTable } from "fumadocs-typescript/ui"
```
##### Minor Changes
- [`b5d1693`](https://togithub.com/fuma-nama/fumadocs/commit/b5d16938): Support external link in `pages` property
### [`v9.1.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%409.1.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@9.0.0...fumadocs-core@9.1.0)
##### Minor Changes
- [`909b0e3`](https://togithub.com/fuma-nama/fumadocs/commit/909b0e35): Support duplicated names with meta and page files
- [`1c388ca`](https://togithub.com/fuma-nama/fumadocs/commit/1c388ca5): Support `defaultOpen` for folder nodes
##### Patch Changes
- [`691f12a`](https://togithub.com/fuma-nama/fumadocs/commit/691f12aa): Source API: Support relative paths as root directory
### [`v9.0.0`](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@8.3.0...fumadocs-core@9.0.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@8.3.0...fumadocs-core@9.0.0)
### [`v8.3.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-ui%408.3.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@8.2.0...fumadocs-core@8.3.0)
##### Minor Changes
- [`b0003d4`](https://togithub.com/fuma-nama/fumadocs/commit/b0003d44): Add `purple` theme
- [`9bdb49d`](https://togithub.com/fuma-nama/fumadocs/commit/9bdb49dd): Add `Folder` export to `fumadocs-ui/components/files`
- [`99d66d2`](https://togithub.com/fuma-nama/fumadocs/commit/99d66d2d): Rename `title` prop to `name` in `File` and `Folder` component
##### Patch Changes
- [`5e314ee`](https://togithub.com/fuma-nama/fumadocs/commit/5e314eee): Deprecate `input` color and `medium` font size from Tailwind CSS preset
- [`52d578d`](https://togithub.com/fuma-nama/fumadocs/commit/52d578d0): Set `darkMode` to `class` by default
- [`84667d2`](https://togithub.com/fuma-nama/fumadocs/commit/84667d2f): Improve Accordions
- fumadocs-core@8.3.0
### [`v8.2.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-ui%408.2.0)
[Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@8.1.1...fumadocs-core@8.2.0)
##### Minor Changes
- [`5c24659`](https://togithub.com/fuma-nama/fumadocs/commit/5c24659): Support code block icons
##### Patch Changes
- [`09bdf63`](https://togithub.com/fuma-nama/fumadocs/commit/09bdf63): Separate stylesheet with Image Zoom component
- Updated dependencies \[[`5c24659`](https://togithub.com/fuma-nama/fumadocs/commit/5c24659)]
- fumadocs-core@8.2.0
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^8.1.1
->^12.0.0
Release Notes
fuma-nama/fumadocs (fumadocs-core)
### [`v12.1.0`](https://togithub.com/fuma-nama/fumadocs/releases/tag/fumadocs-core%4012.1.0) [Compare Source](https://togithub.com/fuma-nama/fumadocs/compare/fumadocs-core@12.0.7...fumadocs-core@12.1.0) ##### Minor Changes - [`0a377a9`](https://togithub.com/fuma-nama/fumadocs/commit/0a377a9): **Support writing code blocks as a `Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.