Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
88 KiB
fumadocs-ui
16.9.3
Patch Changes
16.9.2
Patch Changes
84ce691: consistent toc size when empty- Updated dependencies [
5d579bd] - Updated dependencies [
5836093]
16.9.1
Patch Changes
16.9.0
Minor Changes
214d5b0: Introduce new translations API
Patch Changes
16.8.12
Patch Changes
- Updated dependencies [
768b676]
16.8.11
Patch Changes
- Updated dependencies [
1dc86c7]
16.8.10
Patch Changes
16.8.9
Patch Changes
- Updated dependencies [
2ca3eab]
16.8.8
Patch Changes
16.8.7
Patch Changes
34f37f3: hotfix TOC
16.8.6
Patch Changes
1aa48d0: fix RTL layout for Clerk style
16.8.5
Patch Changes
- Updated dependencies [
79d3209]
16.8.4
Patch Changes
b5ff03b: Support new OG image design for Takumi- Updated dependencies [
61b15e9] - Updated dependencies [
1a5433c]
16.8.3
Patch Changes
8082ef6: Addlegacy/layoutfor versions prior to 16.28082ef6: Addcss/preset-legacy.cssfor versions prior to 16.28082ef6: Addlegacy/sidebarfor versions prior to 16.2
16.8.2
Patch Changes
0e8405a: Update default OG image
16.8.1
Patch Changes
3ae8809: Improve TOC sizing
16.8.0
Patch Changes
- Updated dependencies [
68c2b49]
16.7.16
Patch Changes
f2c6e59: Reduce iterations for calculating TOC track9cf33e9: Improve inline code output9cf33e9: Support async hooks in Shiki transformers- Updated dependencies [
9cf33e9] - Updated dependencies [
9cf33e9]
16.7.15
Patch Changes
c731a92: Implement selective re-render for TOCccad791: Exposenext-themes- Updated dependencies [
e1567e2] - Updated dependencies [
9a200c8] - Updated dependencies [
c731a92] - Updated dependencies [
a4189ce]
16.7.14
Patch Changes
2d8f596: fixnpm packskipping nestednode_modules- Updated dependencies [
2d8f596]- @fumadocs/[email protected]
- [email protected]
16.7.13
Patch Changes
690ddb9: bundle more deps- Updated dependencies [
690ddb9]- @fumadocs/[email protected]
- [email protected]
16.7.12
Patch Changes
16.7.11
Patch Changes
16.7.10
Patch Changes
16.7.9
Patch Changes
16.7.8
Patch Changes
f7e69a6: Redesign sidebar footer
16.7.7
Patch Changes
9eb3c84: fix TOC line offset0f39a9f: Improve TOC rendering for steps- Updated dependencies [
0a6507b]
16.7.6
Patch Changes
6849807: Fixshiki.csspadding
16.7.5
Patch Changes
16.7.4
Patch Changes
57c83a5: fix toc
16.7.3
Patch Changes
16.7.2
Patch Changes
652c725: Simplify internal types
16.7.1
Patch Changes
16.7.0
Minor Changes
8bdee70: Implement renderer API for replacing layout components, deprecate old optionsbdffeba: ImproveddefineI18nUI()usage: allow language translations to be defined at root config.f45d703: stabilize Shiki factory API
Patch Changes
- 3d17757: Improve
<GithubInfo />component - Updated dependencies [
f45d703] - Updated dependencies [
45aa454]
16.6.17
Patch Changes
c3a723e: fix codeblock RSC highlighting- Updated dependencies [
c2678c0] - Updated dependencies [
417f07a] - Updated dependencies [
bb07706] - Updated dependencies [
f065406]
16.6.16
Patch Changes
- Updated dependencies [
054da73]
16.6.15
Patch Changes
86d3abb: fix broken tsdown CSS logic
16.6.14
Patch Changes
a02048c: UI: override MDX types by default02201df: Simplify i18n setup- Updated dependencies [
8382363]
16.6.13
Patch Changes
2702b28: Bundle page actions into UI
16.6.12
Patch Changes
- Updated dependencies [
ddb0f81]
16.6.11
Patch Changes
16.6.10
Patch Changes
- Updated dependencies [
9b5c2dd]
16.6.9
Patch Changes
-
0aad574: fix: reverse sidebar chevron direction for RTL layoutsIn RTL mode, the
ChevronDownicon in collapsed sidebar folders was incorrectly pointing to the right (via-rotate-90). Addedrtl:rotate-90so the icon points to the left when the folder is collapsed, matching the expected RTL reading direction. -
6a7725b: fix: use logical CSS properties in Steps component for RTL support -
7a61fa5: Supportcodeblock.rscAPI for server-side codeblocks -
Updated dependencies [
4d05c4e] -
Updated dependencies [
5f687b6]
16.6.8
Patch Changes
5453502: use Shiki.js v4- Updated dependencies [
5453502]- @fumadocs/[email protected]
- [email protected]
16.6.7
Patch Changes
8faa2e4: fix codeblock highlight styles
16.6.6
Patch Changes
38bd784: improve flux layout
16.6.5
Patch Changes
16.6.4
Patch Changes
8f8e7f0: fix accessibility issues
16.6.3
Patch Changes
1c26656: Extend grid of docs layout to 5 columns
16.6.2
Patch Changes
cfc5590: Implementactiveon sidebar link items
16.6.1
Patch Changes
16.6.0
Minor Changes
-
9241992: Support Markdown in search resultsThis deprecates the old
contentWithHighlightsfield in search results, the highlights are marked with Markdown instead (e.g.Hello <mark>World</mark>).
Patch Changes
16.5.4
Patch Changes
16.5.3
Patch Changes
- Updated dependencies [
be957f1]
16.5.2
Patch Changes
c22f6ee: bump tsdown- Updated dependencies [
c22f6ee]- @fumadocs/[email protected]
- [email protected]
16.5.1
Patch Changes
c08364a: support Flux layout53ad20b: Pre-scan class names to optimize Tailwind CSS compilation performance- Updated dependencies [
db93ebd]- @fumadocs/[email protected]
- [email protected]
16.5.0
Minor Changes
9ba1250: Support Universal Shiki configuration
Patch Changes
- Updated dependencies [
85cc22f] - Updated dependencies [
9ba1250]- @fumadocs/[email protected]
- [email protected]
16.4.11
Patch Changes
- Updated dependencies [
a75a84d]- [email protected]
- @fumadocs/[email protected]
16.4.10
Patch Changes
430a5f1: supportonon docs layout- Updated dependencies [
099fde7] - Updated dependencies [
6fd7e63]- [email protected]
- @fumadocs/[email protected]
16.4.9
Patch Changes
- Updated dependencies [
48dd0c2]- [email protected]
- @fumadocs/[email protected]
16.4.8
Patch Changes
- Updated dependencies [
0025484]- [email protected]
- @fumadocs/[email protected]
16.4.7
Patch Changes
- Updated dependencies [
0765817] - Updated dependencies [
5dec9d0]- @fumadocs/[email protected]
- [email protected]
16.4.6
Patch Changes
- Updated dependencies [
ea57dbf]- [email protected]
- @fumadocs/[email protected]
16.4.5
Patch Changes
9f06196: fixfooter.childrenprops- [email protected]
- @fumadocs/[email protected]
16.4.4
Patch Changes
c804ac6: exposeuseAutoScroll()- Updated dependencies [
cdc97e0]- [email protected]
- @fumadocs/[email protected]
16.4.3
Patch Changes
84ce624: Keep default prefetch behaviours in sidebar- Updated dependencies [
f5dcb7c] - Updated dependencies [
7e08b2f]- [email protected]
- @fumadocs/[email protected]
16.4.2
Patch Changes
b16a32f: Switch to tsdown for bundling- Updated dependencies [
590d36a] - Updated dependencies [
98d38ff] - Updated dependencies [
446631d] - Updated dependencies [
b16a32f]- [email protected]
- @fumadocs/[email protected]
16.4.1
Patch Changes
- Updated dependencies [
0a3adb8]- @fumadocs/[email protected]
- [email protected]
16.4.0
Patch Changes
da98fe2: SupportonSelectprop in<SearchDialog />component- Updated dependencies [
a3b7919]- [email protected]
- @fumadocs/[email protected]
16.3.2
Patch Changes
7c78045: Support custom renderer fortitlein layouts- @fumadocs/[email protected]
- [email protected]
16.3.1
Patch Changes
f398e36: Improve sidebar dropdown- [email protected]
- @fumadocs/[email protected]
16.3.0
Minor Changes
a69b060: Support both Base UI and Radix UI as base component libraries
Patch Changes
- Updated dependencies [
a69b060]- [email protected]
- @fumadocs/[email protected]
16.2.5
Patch Changes
16.2.4
Patch Changes
16.2.3
Patch Changes
4e2bca7: supportcollapsiblein meta data- Updated dependencies [
ef8eb6c] - Updated dependencies [
e0c4c3a] - Updated dependencies [
4e2bca7]
16.2.2
Patch Changes
19db270: Align menu behaviour on notebook layout with home layout- Updated dependencies [
464442b] - Updated dependencies [
6c668e1]
16.2.1
Patch Changes
16.2.0
Minor Changes
-
80579fd: No longer expose layout componentsThis includes Root Toggle, Language Toggle, Theme Toggle etc.
It allows Fumadocs UI to change these components without introducing breaking changes over existing customizations.
If you're using the removed components, consider overriding the layout components with yours, or use Fumadocs CLI add/customize command.
-
a9f4eda: Require importing page layout according to your docs layout// for docs layout import { DocsPage } from "fumadocs-ui/layouts/docs/page"; // for notebook layout import { DocsPage } from "fumadocs-ui/layouts/notebook/page";While the default
fumadocs-ui/pagewill redirect to the correct layout, we highly recommend you to update the import. -
5d65002: Removecontainerstyles, this includes--spacing-fd-containeras they are no longer used. -
9a39883: Move Sidebar context into docs layoutsfumadocs-ui/contexts/sidebaris removed, you can still reference the context with:import { useSidebar } from "fumadocs-ui/components/sidebar/base";Make sure you're only accessing it in
<DocsLayout />.
Patch Changes
16.1.0
Patch Changes
16.0.15
Patch Changes
40d9b75: Add 'idea' callout typeade44d0: feat: enhance framework providers to accept custom Link components- Updated dependencies [
fe380da] - Updated dependencies [
ade44d0]
16.0.14
Patch Changes
- Updated dependencies [
c3b8474]
16.0.13
Patch Changes
88dae4d: Reducepxusage
16.0.12
Patch Changes
- Updated dependencies [
c5c00e9]
16.0.11
Patch Changes
00058c8: Drop framework-sidecreateContext- Updated dependencies [
ff68f69] - Updated dependencies [
00058c8]
16.0.10
Patch Changes
-
112e8d9: SupportCalloutContainer,CalloutTitleandCalloutDescriptioncomponents.They're now MDX components included by default.
-
Updated dependencies [
733b01e]
16.0.9
Patch Changes
2eef888: Remove unnecessaryaria-labelfrom the link icon in headings
16.0.8
Patch Changes
c0df2c4: improve navbar button gaps117ad86: Add support for using a custom GitHub API base URL- Updated dependencies [
bc97236] - Updated dependencies [
ca09b6a] - Updated dependencies [
117ad86]
16.0.7
Patch Changes
16.0.6
Patch Changes
- Updated dependencies [
b95b0cf]
16.0.5
Patch Changes
- Updated dependencies [
8221785]
16.0.4
Patch Changes
- Updated dependencies [
99971c7]
16.0.3
Patch Changes
16.0.2
Patch Changes
- Updated dependencies [
d511232]
16.0.1
Patch Changes
16.0.0
Major Changes
-
0ed0ca6: Change--fd-layout-widthto1600pxby defaultThis will change the max layout width to
1600px, you can still change it back with::root { --fd-layout-width: 100vw; } -
5210f18: Set minimal React.js version to 19.2.019.2 has multiple crucial updates that can improve Fumadocs' performance, and it should work seamlessly on mainstream React.js frameworks.
As a consequence, Next.js 16 is now the minimal version when using Fumadocs UI because Next.js always uses the internal canary version of React.js.
-
42f09c3: Remove deprecated APIsfumadocs-ui/page:- removed
<DocsCategory />. - removed
breadcrumbs.fulloption from<DocsPage />.
- removed
fumadocs-core/search/algolia: renamed optiondocumenttoindexName.fumadocs-core/search:- remove deprecated signature of
createFromSource(): migrate to newer usage instead.export function createFromSource<S extends LoaderOutput<LoaderConfig>>( source: S, pageToIndexFn?: (page: InferPageType<S>) => Awaitable<AdvancedIndex>, options?: Omit<Options<S>, "buildIndex">, ): SearchAPI; - remove deprecated parameters in
useSearch(), pass them in the client object instead.
- remove deprecated signature of
fumadocs-core/highlight: remove deprecatedwithPrerenderScriptandloadingoptions fromuseShiki().fumadocs-core/i18n: removedcreateI18nMiddleware, import fromfumadocs-core/i18n/middlewareinstead.fumadocs-core/source:- removed deprecated
transformers,pageTree.attach*options fromloader(). - removed deprecated
page.fileproperty. - removed
FileInfo&parseFilePathutilities.
- removed deprecated
Patch Changes
1494340: Dropfumadocs-core/hide-if-emptyusage, prefer user-side component overrides for precise controlde0ce6d: Add atoc-titleID to the table of contents heading for styling purposes5966e23: Fix root toggle overflow- Updated dependencies [
230c6bf] - Updated dependencies [
851897c] - Updated dependencies [
4049ccc] - Updated dependencies [
429c41a] - Updated dependencies [
5210f18] - Updated dependencies [
cbc93e9] - Updated dependencies [
42f09c3] - Updated dependencies [
55afd8a]
15.8.4
Patch Changes
15.8.3
Patch Changes
15.8.2
Patch Changes
-
90cf1fe: SupporttabModeon<DocsLayout /> -
6c3bde5: Prefer importing<RootProvider />fromfumadocs-ui/provider/<framework>- Old
fumadocs-ui/providerwill be kept, as it's used by majority of previous projects. - New guides & templates will follow the new recommendation.
- Old
-
Updated dependencies [
ad9a004] -
Updated dependencies [
90cf1fe] -
Updated dependencies [
747bdbc]
15.8.1
Patch Changes
15.8.0
Patch Changes
53a0635: Support customactiontype search item in search dialog6548a59: Support breadcrumbs for Search API- Updated dependencies [
655bb46] - Updated dependencies [
d1ae3e8] - Updated dependencies [
6548a59] - Updated dependencies [
51268ec] - Updated dependencies [
51268ec]
15.7.13
Patch Changes
- Updated dependencies [
982aed6]
15.7.12
Patch Changes
846b28a: Support multiple codeblocks in same tab- Updated dependencies [
846b28a] - Updated dependencies [
2b30315]
15.7.11
Patch Changes
15.7.10
Patch Changes
- Updated dependencies [
c948f59]
15.7.9
Patch Changes
45c7531: Type Table: Support displaying parameters & return types4082acc: Redesign Type Table- Updated dependencies [
d135efd] - Updated dependencies [
4082acc]
15.7.8
Patch Changes
ba3382f: Support link item properties in menu itemsefba995: Enforce the use of--removed-body-scroll-bar-sizeto fixed elementsbec3b36: Useon-root:to apply CSS variables from child layout components- Updated dependencies [
f65778d] - Updated dependencies [
e4c12a3]
15.7.7
Patch Changes
15.7.6
Patch Changes
dc6d8a0: unify sidebar tabs matching
15.7.5
Patch Changes
15.7.4
Patch Changes
15.7.3
Patch Changes
f6de900: Addoverscrollto sidebar viewports- Updated dependencies [
6d97379] - Updated dependencies [
e776ee5]
15.7.2
Patch Changes
15.7.1
Patch Changes
15.7.0
Minor Changes
-
e785f98: Introduce page treefallbackAPIPage tree is a tree structure.
Previously, when an item is excluded from page tree, it is isolated entirely that you cannot display it at all.
With the new fallback API, isolated pages will go into
fallbackpage tree instead:{ "children": [ { "type": "page", "name": "Introduction" } ], "fallback": { "children": [ { "type": "page", "name": "Hidden Page" } ] } }Items in
fallbackare invisible unless you've opened its item. -
50eb07f: Support type-safe i18n config// lib/source.ts import { defineI18n } from "fumadocs-core/i18n"; export const i18n = defineI18n({ defaultLanguage: "en", languages: ["en", "cn"], });// root layout import { defineI18nUI } from "fumadocs-ui/i18n"; import { i18n } from "@/lib/i18n"; const { provider } = defineI18nUI(i18n, { translations: { cn: { displayName: "Chinese", search: "Translated Content", }, en: { displayName: "English", }, }, }); function RootLayout({ children }: { children: React.ReactNode }) { return <RootProvider i18n={provider(lang)}>{children}</RootProvider>; }Although optional, we highly recommend you to refactor the import to i18n middleware:
// here! import { createI18nMiddleware } from "fumadocs-core/i18n/middleware"; import { i18n } from "@/lib/i18n"; export default createI18nMiddleware(i18n);
Patch Changes
b109d06: RedesignuseShiki&<DynamicCodeBlock />to use React 19 hooksb99cf51: Shadcn UI theme: support sidebar specific colors- Updated dependencies [
514052e] - Updated dependencies [
e254c65] - Updated dependencies [
ec75601] - Updated dependencies [
e785f98] - Updated dependencies [
0531bf4] - Updated dependencies [
50eb07f] - Updated dependencies [
67df155] - Updated dependencies [
b109d06]
15.6.12
Patch Changes
fe31a72: Fix custom components auto RWD handling for home layout
15.6.11
Patch Changes
6de6ff3: Restrict exports oflayoutsto avoid projects importing internal/unstable APIsf0b1fee: Improve layout component customization experience by handling RWD automatically
15.6.10
Patch Changes
-
817c237: Support search result highlighting.Result nodes now have a
contentWithHighlightsproperty, you can render it with custom renderer, or a default one provided on Fumadocs UI. -
Updated dependencies [
569bc26] -
Updated dependencies [
817c237]
15.6.9
Patch Changes
15.6.8
Patch Changes
15.6.7
Patch Changes
e9fef34: Move sidebar toolbar to top on mobile viewd4a9037: improve codeblock diff styles- Updated dependencies [
6fa1442]
15.6.6
Patch Changes
2a0b45b: Change sidebar direction5913cc4: Ignore IME composition to avoid accidental selection79248f6: Improve type table link icon- Updated dependencies [
1b0e9d5]
15.6.5
Patch Changes
- Updated dependencies [
658fa96]
15.6.4
Patch Changes
dca17d7: Improve search dialog consistency
15.6.3
Patch Changes
a2d7940: Fix layout: remove reserved sidebar space when sidebar is disabled in DocsLayout
15.6.2
Patch Changes
1e50889: Fix mobile sidebar trigger visibility when sidebar is disabled353c139: Callout add fallback icons5844c6f: no longer sort type table properties by default
15.6.1
Patch Changes
- Updated dependencies [
1a902ff]
15.6.0
Minor Changes
-
f8d1709: Redesigned Codeblock TabsInstead of relying on
Tabscomponent, it supports a dedicated tabs component for codeblocks:<CodeBlockTabs> <CodeBlockTabsList> <CodeBlockTabsTrigger value="value">Name</CodeBlockTabsTrigger> </CodeBlockTabsList> <CodeBlockTab value="value" asChild> <CodeBlock>...</CodeBlock> </CodeBlockTab> </CodeBlockTabs>The old usage is not deprecated, you can still use them while Fumadocs' remark plugins will generate codeblock tabs using the new way.
Patch Changes
bf15617: Fix Notebook layout minor UI inconsistency- Updated dependencies [
d0f8a15] - Updated dependencies [
84918b8] - Updated dependencies [
f8d1709]
15.5.5
Patch Changes
e9b1c9c: SupportrainbowColorsAPI in<Banner />componentd5c9b11: Fix Notebook Layout tab modenavbarcannot handle nested tabs- Updated dependencies [
0d3f76b]
15.5.4
Patch Changes
4a1d3cf: Reduce sidebar intensity58b7596: Fix copying line breaks with Twoslash codeblocks- Updated dependencies [
35c3c0b]
15.5.3
Patch Changes
- Updated dependencies [
7d1ac21]
15.5.2
Patch Changes
b675728: Redesign search dialog style1b7bc4b: Add@types/reactto optional peer dependency to avoid version conflict in monorepos82fc4c8: Avoid direct update to passed props.- Updated dependencies [
7a45921] - Updated dependencies [
1b7bc4b]
15.5.1
Patch Changes
b4916d2: Movehide-if-emptycomponent to Fumadocs Core68526ea: Redesignfumadocs-ui/components/dialog/searchusage to make it composable, and mark it as stable API.- Updated dependencies [
b4916d2] - Updated dependencies [
8738b9c] - Updated dependencies [
a66886b]
15.5.0
Minor Changes
-
589d101: Move TOC closer to page body on larger viewportsChanged layout positioning, all layout components now use
fixedposition.This may impact sites that:
- using custom styling on Fumadocs layouts.
- added a custom footer (see below).
For custom footer, make sure to add them into
<DocsLayout />instead:<DocsLayout> {children} <div className="h-[400px] bg-fd-secondary">Hello World</div> </DocsLayout>
Patch Changes
15.4.2
Patch Changes
- Updated dependencies [
0ab6c7f]
15.4.1
Patch Changes
e72b7b4: hotfix: production source map being ignored
15.4.0
Minor Changes
-
961b67e: Bump algolia search to v5This also introduced changes to some APIs since
algoliasearchv4 and v5 has many differences.Now we highly recommend to pass an index name to
sync():import { algoliasearch } from "algoliasearch"; import { sync } from "fumadocs-core/search/algolia"; const client = algoliasearch("id", "key"); void sync(client, { indexName: "document", documents: records, });For search client, pass them to
searchOptions:"use client"; import { liteClient } from "algoliasearch/lite"; import type { SharedProps } from "fumadocs-ui/components/dialog/search"; import SearchDialog from "fumadocs-ui/components/dialog/search-algolia"; const client = liteClient(appId, apiKey); export default function CustomSearchDialog(props: SharedProps) { return ( <SearchDialog searchOptions={{ client, indexName: "document", }} {...props} showAlgolia /> ); }
Patch Changes
092fd04: Fallback todangerouslySetInnerHTMLfor inlined scripts for backward compatibility7d78bc5: ImprovecreateRelativeLinkandgetPageByHreffor i18n usage- Updated dependencies [
1b999eb] - Updated dependencies [
961b67e] - Updated dependencies [
7d78bc5]
15.3.4
Patch Changes
15.3.3
Patch Changes
05b3bd9: [Internal] requireTagsListItemto be used withTagsList39bf088: Support usage withTabsin primitive waye955a98: Hotfix problems withHideIfEmpty- Updated dependencies [
4ae7b4a]
15.3.2
Patch Changes
1753cf1: Fix navbar external items and nav menu scroll9b38baf: addsuccesstype to callout8e862e5: Use native scroll bar for codeblocks and some elements for better performanceac0ab12: Improve performance by reducing usage of@radix-ui/react-scroll-areac25d678: Support Shiki focus notation transformer by default- Updated dependencies [
c25d678]
15.3.1
Patch Changes
15.3.0
Minor Changes
-
52b5ad8: Redesign mobile sidebarMobile sidebar is now a separate component from the desktop one, with its own id
nd-sidebar-mobile.note to advanced use cases: Fumadocs UI now stopped using
fumadocs-core/sidebar, avoid using the primitive directly as provider is not used.
Patch Changes
15.2.15
Patch Changes
50db874: Remove placeholder space for codeblocks- Updated dependencies [
50db874] - Updated dependencies [
79e75c3]
15.2.14
Patch Changes
- Updated dependencies [
6ea1718]
15.2.13
Patch Changes
b433d93: Recommend using custom button/link instead for edit on GitHub button1e07ed8: Support disabling codeblock styles with.not-fumadocs-codeblock
15.2.12
Patch Changes
b68bb51: Fix sidebar legacy behaviours127e681: Fix Notebook layout ignoresthemeSwitchandsidebar.collapsibleon nav mode- Updated dependencies [
acff667]
15.2.11
Patch Changes
d4d1ba7: Fix sidebar collapsible control search button still visible with search disabled4e62b41: Bundlelucide-reactas part of library07cd690: Support separators without name- Updated dependencies [
07cd690]
15.2.10
Patch Changes
15.2.9
Patch Changes
15.2.8
Patch Changes
15.2.7
Patch Changes
eb18da9: SupportsearchToggleoption to customize search toggle085e39f: Fix inline code issues4d50bcf: fix banner overlapping with collapsible control- Updated dependencies [
ec85a6c] - Updated dependencies [
e1a61bf]
15.2.6
Patch Changes
b07e98c: DeprecateDocsCategory, see https://fumadocs.dev/docs/ui/markdown#further-reading-section- Updated dependencies [
d49f9ae] - Updated dependencies [
b07e98c] - Updated dependencies [
3a4bd88]
15.2.5
Patch Changes
- Updated dependencies [
c66ed79]
15.2.4
Patch Changes
15.2.3
Patch Changes
5e4e9ec: Deprecate I18nProvider in favour of<RootProvider />i18nprop293178f: revert framework migration on i18n provider
15.2.2
Patch Changes
15.2.1
Patch Changes
22aeafb: Improve Tree context performance
15.2.0
Patch Changes
c5af09f: UI: Usetext.previousPagefor previous page navigation- Updated dependencies [
2fd325c] - Updated dependencies [
a7cf4fa]
15.1.3
Patch Changes
- Updated dependencies [
b734f92]
15.1.2
Patch Changes
15.1.1
Patch Changes
- Updated dependencies [
c5add28] - Updated dependencies [
f3cde4f] - Updated dependencies [
7c8a690] - Updated dependencies [
b812457]
15.1.0
Patch Changes
15.0.18
Patch Changes
e7e2a2a: SupportcreateRelativeLinkcomponent factory for using relative file paths inhref
15.0.17
Patch Changes
b790699: SupportthemeSwitchoption in layouts to customize theme switch- Updated dependencies [
72f79cf]
15.0.16
Patch Changes
15.0.15
Patch Changes
0e5e14d: Use container media queries on Cards- Updated dependencies [
9f6d39a] - Updated dependencies [
2035cb1]
15.0.14
Patch Changes
6bc033a: Display humanized stars number to GitHub info component- Updated dependencies [
37dc0a6] - Updated dependencies [
796cc5e] - Updated dependencies [
2cc0be5]
15.0.13
Patch Changes
7608f4e: Support showing optional properties on TypeTable89ff3ae: Support GithubInfo component16c8944: Fix Tailwind CSS utilities
15.0.12
Patch Changes
3534a10: Movefumadocs-corehighlighting utils tofumadocs-core/highlightandfumadocs-core/highlight/clientecacb53: Improve performance- Updated dependencies [
3534a10] - Updated dependencies [
93952db]
15.0.11
Patch Changes
15.0.10
Patch Changes
15.0.9
Patch Changes
fa5b908: Fix React 18 compatibility
15.0.8
Patch Changes
8f5993b: Support custom nav mode and tabs mode on Notebook layout
15.0.7
Patch Changes
5deaf40: Support icons in separators ofmeta.jsonf782c2c: Improve sidebar design- Updated dependencies [
5deaf40]
15.0.6
Patch Changes
15.0.5
Patch Changes
14b2f95: Improve accessibility
15.0.4
Patch Changes
15.0.3
Patch Changes
47171db: UI: fix ocean theme
15.0.2
Patch Changes
a8e9e1f: Bump deps
15.0.1
Patch Changes
421166a: Fix border styles
15.0.0
Major Changes
-
a84f37a: Migrate to Tailwind CSS v4migrate:
Follow https://tailwindcss.com/blog/tailwindcss-v4 for official migrate guide of Tailwind CSS v4.
Fumadocs UI v15 redesigned the Tailwind CSS config to fully adhere the new config style, no JavaScript and options needed for plugins. Add the following to your CSS file:
@import "tailwindcss"; @import "fumadocs-ui/css/neutral.css"; @import "fumadocs-ui/css/preset.css"; /* if you have Twoslash enabled */ @import "fumadocs-twoslash/twoslash.css"; @source '../node_modules/fumadocs-ui/dist/**/*.js'; /* if you have OpenAPI enabled */ @source '../node_modules/fumadocs-openapi/dist/**/*.js';The
fumadocs-ui/css/preset.cssimport is required, it declares necessary plugins & styles for Fumadocs UI, andfumadocs-ui/css/neutral.cssdefines the color palette of UI.Like the previous
presetoption in Tailwind CSS plugin, you can import other color presets likefumadocs-ui/css/vitepress.css.You should also pay attention to
@source, the file paths are relative to the CSS file itself. For your project, it might not be../node_modules/fumadocs-ui/dist/**/*.js.
Patch Changes
a89d6e0: Support Fumadocs v15f2f9c3d: Redesign sidebar- Updated dependencies [
5b8cca8] - Updated dependencies [
a763058] - Updated dependencies [
581f4a5]
14.7.7
Patch Changes
4f2538a: Supportchildrenprop in customFoldercomponent191012a:DocsCategorysearch based on file path when item isn't present in the treefb6b168: No longer rely on search context on search dialog
14.7.6
Patch Changes
- Updated dependencies [
b9601fb]
14.7.5
Patch Changes
5d41bf1: Enable system option for theme toggle on NoteBook layout900eb6c: Prevent shrink on sidebar icons by defaulta959374: Supportfd-*prefixes to Tailwind CSS utils- Updated dependencies [
777188b]
14.7.4
Patch Changes
26d9ccb: Fix banner preview036f8e1: Disable hover to open navbar menu by default, can be enabled vianav.enableHoverToOpen- Updated dependencies [
bb73a72] - Updated dependencies [
69bd4fe]
14.7.3
Patch Changes
041f230: Support trailing slashca1cf19: Support custom<Banner />height- Updated dependencies [
041f230]
14.7.2
Patch Changes
- Updated dependencies [
14b280c]
14.7.1
Patch Changes
14.7.0
Patch Changes
14.6.8
Patch Changes
14.6.7
Patch Changes
- Updated dependencies [
5474343]
14.6.6
Patch Changes
9c930ea: fix runtime error
14.6.5
Patch Changes
14.6.4
Patch Changes
67124b1: Improve theme toggle on Notebook layout1810868: Enablecontent-visibilityCSS features- Updated dependencies [
b71064a]
14.6.3
Patch Changes
abc3677: AllowclassNameto be used withSidebarItem
14.6.2
Patch Changes
9908922: Add default icon styles (transformer) to sidebar tabsece734f: Support custom children of trigger onInlineTOCcomponent1a2597a: Expose--fd-tocnav-heightCSS variable- Updated dependencies [
2357d40]
14.6.1
Patch Changes
9532855: Hide toc popover when no items
14.6.0
Minor Changes
Patch Changes
9585561: Fix Twoslash popups focus outline4766292: Support React 19- Updated dependencies [
4dfde6b] - Updated dependencies [
bebb16b] - Updated dependencies [
4766292] - Updated dependencies [
050b326]
14.5.6
Patch Changes
14.5.5
Patch Changes
14.5.4
Patch Changes
8e2cb31: fix trivial bugs
14.5.3
Patch Changes
c5a5ba0: fix sidebardefaultOpenLevelf34e895: Supportpropsin tag items4c82a3d: Hide toc when it has no items and custom banner & footerf8e5157: Fix customthemewith Typography pluginad00dd3: Support folder groups on sidebar tabs
14.5.2
Patch Changes
072e349: fix initial sidebar level to 0
14.5.1
Patch Changes
6fd480f: Fix old browser compatibility
14.5.0
Minor Changes
-
66c70ec: Replace official Tailwind CSS typography plugin- Other variants like
prose-smandprose-grayare removed, as it's supposed to only provide support for Fumadocs UI typography styles.
- Other variants like
-
05d224c: added the updateAnchor option for the Tabs ui component
Patch Changes
14.4.2
Patch Changes
0f1603a: Fix bugs
14.4.1
Patch Changes
14.4.0
Minor Changes
5fd4e2f: Make TOC collapse to a popover onlgscreen size instead ofmd5fd4e2f: Support better table styles for Typography plugin8a3f5b0: Makeneutralthe default theme of Fumadocs UI
Patch Changes
14.3.1
Patch Changes
e7443d7: Fix development errors
14.3.0
Minor Changes
b8a12ed: Move totsc(experimental)
Patch Changes
80655b3: Improve padding of sidebar tabs and expose it to sidebar
14.2.1
Patch Changes
14.2.0
Minor Changes
Patch Changes
- Updated dependencies [
e248a0f]
14.1.1
Patch Changes
- Updated dependencies [
1573d63]
14.1.0
Patch Changes
- Updated dependencies [
b262d99] - Updated dependencies [
d6d290c] - Updated dependencies [
4a643ff] - Updated dependencies [
b262d99] - Updated dependencies [
90725c1]
14.0.2
Patch Changes
bfc2bf2: Fix navbar issues
14.0.1
Patch Changes
1a7d78a: Pass props to replaced layout components via Radix UI<Slot />
14.0.0
Major Changes
-
d9e908e: Refactor import paths for layoutsmigrate: Use
import { DocsLayout } from "fumadocs-ui/layouts/docs"; import { HomeLayout } from "fumadocs-ui/layouts/home"; import { BaseLayoutProps } from "fumadocs-ui/layouts/shared";Instead of
import { DocsLayout } from "fumadocs-ui/layout"; import { HomeLayout } from "fumadocs-ui/home-layout"; import { HomeLayoutProps } from "fumadocs-ui/home-layout"; -
9a10262: Move Twoslash UI components tofumadocs-twoslashwhy: Isolate logic from Fumadocs UI
migrate:
Before:
import "fumadocs-ui/twoslash.css"; import { Popup } from "fumadocs-ui/twoslash/popup";After:
import "fumadocs-twoslash/twoslash.css"; import { Popup } from "fumadocs-twoslash/ui";Tailwind CSS is now required for Twoslash integration.
-
d9e908e: RemovegetImageMetafromfumadocs-ui/ogmigrate: Use Metadata API from
fumadocs-core/server -
d9e908e: Replacefumadocs-core/search/sharedwithfumadocs-core/server -
be53a0e:DocsCategorynow acceptfromprop instead ofpagesprop.why: This allows sharing the order of items with page tree. migrate:
The component now takes
fromprop which is the Source API object.import { source } from "@/lib/source"; import { DocsCategory } from "fumadocs-ui/page"; const page = source.getPage(params.slug); <DocsCategory page={page} from={source} />;
Minor Changes
34cf456: SupportdisableThemeSwitchon layoutsd9e908e: Bundle icons into distad47fd8: Show i18n language toggle on home layout87063eb: Add root toggle to sidebar automatically64f0653: Introduce--fd-nav-heightCSS variable for custom navbare1ee822: Support hast nodes intocvariable3d054a8: Support linking to a specific tab
Patch Changes
f949520: Support Shiki diff transformer367f4c3: Improve Root Toggle componentd9e908e: Change default URL of title on i18n moded9e908e: Add center to root togglee612f2a: Make compatible with Next.js 153d0369a: Improve edit on GitHub buttonbe820c4: Bump deps- Updated dependencies [
e45bc67] - Updated dependencies [
d9e908e] - Updated dependencies [
d9e908e] - Updated dependencies [
f949520] - Updated dependencies [
9a0b09f] - Updated dependencies [
9a0b09f] - Updated dependencies [
367f4c3] - Updated dependencies [
e1ee822] - Updated dependencies [
e612f2a] - Updated dependencies [
9a0b09f] - Updated dependencies [
d9e908e] - Updated dependencies [
8ef00dc] - Updated dependencies [
979e301] - Updated dependencies [
d9e908e] - Updated dependencies [
979e301] - Updated dependencies [
15781f0] - Updated dependencies [
be820c4] - Updated dependencies [
d9e908e]
13.4.10
Patch Changes
13.4.9
Patch Changes
13.4.8
Patch Changes
5581733: Add center to root toggle1a327cc: Fix props types of Root Toggle- Updated dependencies [
78e59e7]
13.4.7
Patch Changes
6e1923e: Fix ocean present background repeat6e1923e: Introducerainbowvariant on Banner component- Updated dependencies [
6e1923e]
13.4.6
Patch Changes
b33aff0: Fix typography stylesafb697e: Fix Next.js 14.2.8 dynamic import problems6bcd263: Fix Banner component z-index- Updated dependencies [
afb697e] - Updated dependencies [
daa66d2]
13.4.5
Patch Changes
d46a3f1: Improve search dialog
13.4.4
Patch Changes
- Updated dependencies [
729928e]
13.4.3
Patch Changes
13.4.2
Patch Changes
0c251e5: Bump deps0c251e5: Support Shiki inline code0c251e5: Improve nested list styles- Updated dependencies [
7dabbc1] - Updated dependencies [
0c251e5] - Updated dependencies [
3b56170]
13.4.1
Patch Changes
- Updated dependencies [
95dbba1]
13.4.0
Minor Changes
26f5360: Support built-in OG Image generation
Patch Changes
13.3.3
Patch Changes
- Updated dependencies [
f8cc167]
13.3.2
Patch Changes
13.3.1
Patch Changes
7258c4b: Fix thumb not rendered on initial render
13.3.0
Minor Changes
8f5b19e: IntroduceDocsTitle,DocsDescriptionandDocsCategorycomponents32ca37a: Support Clerk-style TOC9aae448: Support multiple toc active itemsc542561: Use cookie to store active locale onalwaysmode
Patch Changes
- Updated dependencies [
4916f84] - Updated dependencies [
fd46eb6] - Updated dependencies [
fd46eb6] - Updated dependencies [
fd46eb6] - Updated dependencies [
fd46eb6] - Updated dependencies [
9aae448] - Updated dependencies [
c542561]
13.2.2
Patch Changes
13.2.1
Patch Changes
- Updated dependencies [
17fa173]
13.2.0
Minor Changes
Patch Changes
96c9dda: Change Heading scroll margins96c9dda: Hide TOC Popover on full mode- Updated dependencies [
96c9dda]
13.1.0
Minor Changes
c8910c4: Add default 'max-height' to codeblocks
Patch Changes
61ef42c: Addvitepresstheme presetdeae4dd: Improve theme presetsc8910c4: Fix empty space on search dialog6c42960: Improve TOC design- Updated dependencies [
f280191]
13.0.7
Patch Changes
13.0.6
Patch Changes
1622e36: Fix bug breaking Tailwind CSS IntelliSense VSCode Extension
13.0.5
Patch Changes
- Updated dependencies [
2cf65f6]
13.0.4
Patch Changes
- Updated dependencies [
5355391]
13.0.3
Patch Changes
- Updated dependencies [
978342f]
13.0.2
Patch Changes
- Updated dependencies [
4819820]
13.0.1
Patch Changes
13.0.0
Major Changes
-
89190ae: Renameprefixoption on Tailwind CSS Plugin tocssPrefixwhy: The previous name was misleading
migrate: Rename the option.
import { createPreset } from "fumadocs-ui/tailwind-plugin"; /** @type {import('tailwindcss').Config} */ export default { presets: [ createPreset({ cssPrefix: "fd", }), ], }; -
b02eebf: MovekeepCodeBlockBackgroundoption to code block componentwhy: Easier to customize code block styles.
migrate:
Enable
keepBackgroundon<CodeBlock />, and remove deprecated usage.import { Pre, CodeBlock } from "fumadocs-ui/components/codeblock"; <MDX components={{ pre: ({ ref: _ref, ...props }) => ( <CodeBlock keepBackground {...props}> <Pre>{props.children}</Pre> </CodeBlock> ), }} />; -
f868018: Replacesecondarylink items withiconlink itemswhy: Link items with type
secondaryhas been deprecated long time ago.migrate: Replace type
secondarywithicon. -
8aebeab: Change usage of I18nProviderwhy: Make possible to load translations lazily
migrate:
import { RootProvider } from "fumadocs-ui/provider"; import type { ReactNode } from "react"; import { I18nProvider } from "fumadocs-ui/i18n"; export default function Layout({ params: { lang }, children, }: { params: { lang: string }; children: ReactNode; }) { return ( <html lang={lang}> <body> <I18nProvider locale={lang} // options locales={[ { name: "English", locale: "en", }, { name: "Chinese", locale: "cn", }, ]} // translations translations={ { cn: { toc: "目錄", search: "搜尋文檔", lastUpdate: "最後更新於", searchNoResult: "沒有結果", previousPage: "上一頁", nextPage: "下一頁", }, }[lang] } > <RootProvider>{children}</RootProvider> </I18nProvider> </body> </html> ); } -
8aebeab: Requirelocaleprop on I18nProviderwhy: Fix problems related to pathname parsing
migrate: Pass
localeparameter to the provider -
0377bb4: Renameidprop on Tabs component togroupIdwhy: Conflicted with HTML
idattribute.migrate: Rename to
groupId. -
e8e6a17: Make Tailwind CSS Plugin ESM-onlywhy: Tailwind CSS supported ESM and TypeScript configs.
migrate: Use ESM syntax in your Tailwind CSS config.
-
c901e6b: Remove deprecatedfumadocs-ui/components/apicomponentswhy: The new OpenAPI integration has its own UI implementation.
migrate: Update to latest OpenAPI integration.
-
89190ae: Addfd-prefix to all Fumadocs UI colors, animations and utilitieswhy: The added Tailwind CSS colors may conflict with the existing colors of codebases.
migrate: Enable
addGlobalColorson Tailwind CSS Plugin or add thefd-prefix to class names.import { createPreset } from "fumadocs-ui/tailwind-plugin"; /** @type {import('tailwindcss').Config} */ export default { presets: [ createPreset({ addGlobalColors: true, }), ], }; -
b02eebf: Change code block component usagewhy: The previous usage was confusing, some props are passed directly to
prewhile some are not.migrate:
Pass all props to
CodeBlockcomponent. This also includes class names, change your custom styles if necessary.import { Pre, CodeBlock } from "fumadocs-ui/components/codeblock"; <MDX components={{ // HTML `ref` attribute conflicts with `forwardRef` pre: ({ ref: _ref, ...props }) => ( <CodeBlock {...props}> <Pre>{props.children}</Pre> </CodeBlock> ), }} />;You can ignore this if you didn't customize the default
preelement. -
4373231: RemoveRollButtoncomponentwhy:
RollButtonwas created because there were no "Table Of Contents" on mobile viewports. Now users can use the TOC Popover to switch between headings,RollButtonis no longer a suitable design for Fumadocs UI.migrate: Remove usages, you may copy the last implementation of
RollButton.
Minor Changes
c684c00: Support to disable container style overridingc8964d3: IncludeCalloutas default MDX component
Patch Changes
daa7d3c: Fix empty folder animation problems- Updated dependencies [
09c3103] - Updated dependencies [
c714eaa] - Updated dependencies [
b02eebf]
12.5.6
Patch Changes
a332bee: Supportundefinedstate ofdefaultOpenin folder nodes
12.5.5
Patch Changes
3519e6c: Fix TOC overflow problems
12.5.4
Patch Changes
12.5.3
Patch Changes
5d963f4: Support to disable prefetching links on sidebar
12.5.2
Patch Changes
a5c34f0: Support specifying the url of root node when breadcrumbs haveincludeRootenabled- Updated dependencies [
a5c34f0]
12.5.1
Patch Changes
c5d20d0: Fix wrong padding3d8f6cf: Add data attributes to certain components to improve CSS targeting
12.5.0
Minor Changes
b9fa99d: Support tag filters in search dialoga4bcaa7: RenameLayoutinfumadocs-ui/layouttoHomeLayoutinfumadocs-ui/home-layout
Patch Changes
12.4.2
Patch Changes
12.4.1
Patch Changes
12.4.0
Minor Changes
eb36761: Replace link itemsecondarytype withicon(backward compatible)eb36761: Supportsecondaryproperty in link itemseb36761: Supportbuttontype link itemeb36761: Supportonfilter in link items
Patch Changes
33ffa99: Improve design details
12.3.6
Patch Changes
4cc5782: Adding secondary custom links
12.3.5
Patch Changes
12.3.4
Patch Changes
12.3.3
Patch Changes
12.3.2
Patch Changes
- Updated dependencies [
ca7d0f4]
12.3.1
Patch Changes
- Updated dependencies [
cf852f6]
12.3.0
Patch Changes
12.2.5
Patch Changes
7c23f7e: No longer set a default size for SVG elements in title
12.2.4
Patch Changes
ffb9026: Fixcmdkupstream dependency problems
12.2.3
Patch Changes
b4824fa: Updated<APIInfo />component, so method name appears vertically centered.e120e0f: Improve<Banner/>component3970b55: Support custom type link items
12.2.2
Patch Changes
72c7991: Improve sidebar
12.2.1
Patch Changes
12.2.0
Minor Changes
318eaf9: Redesign TOC popover: Make the TOC Popover trigger a part of navbar.ea22d04: Improve dynamic sidebar: Improve animation & close delay
Patch Changes
2f2d9cf: Improve footer: Use card-style buttons to match the other buttonsbcc9f91: Added a new colors for API info badge, so POST, PATCH requests are different from PUT.2f2d9cf: Improve OpenAPI styles- Updated dependencies [
b70ff06]
12.1.3
Patch Changes
2a5db91: Add timeout for hovering after collapsed the sidebar3e98d7d: Supportfullmode on pagesd06c92a: SupporttransparentModeon secondary (docs) navbar3bdc786: Support Fumadocs OpenAPI 3.1.0d06c92a: Fix hot keys order
12.1.2
Patch Changes
12.1.1
Patch Changes
12.1.0
Minor Changes
-
0a377a9: Pass theiconprop to code blocks as HTML instead of MDX attribute.why: Only MDX flow elements support attributes with JSX value, like:
<Pre icon={<svg />}>...</Pre>As Shiki outputs hast elements, we have to convert the output of Shiki to an MDX flow element so that we can pass the
iconproperty.Now,
rehype-codepasses an HTML string instead of JSX, and render it withdangerouslySetInnerHTML:<Pre icon="<svg />">...</Pre>migrate: Not needed, it should work seamlessly.
Patch Changes
0a377a9: Close sidebar on collapse5f86faa: Improve multi-line code blocks- Updated dependencies [
0a377a9] - Updated dependencies [
0a377a9]
12.0.7
Patch Changes
51441d3: FixRollButtoncomponent problems on Safari
12.0.6
Patch Changes
12.0.5
Patch Changes
4455d58: FixbannerPropsbeing ignored
12.0.4
Patch Changes
70666d8: Hide file name on breadcrumbsf96da27: Improve design details51ca944: Support including separators in breadcrumbs- Updated dependencies [
72dbaf1] - Updated dependencies [
51ca944]
12.0.3
Patch Changes
12.0.2
Patch Changes
- Show TOC on mobile devices
12.0.1
Patch Changes
12.0.0
Major Changes
-
62b5abb: New Layout- Remove navbar from docs layout, replace it with sidebar.
- On smaller devices, navbar is always shown.
- Remove exports of internal components, copying components from the repository is now the preferred way.
migrate: On layouts, Rename
nav.githubUrltogithubUrl. Modify your stylesheet if necessary. -
5741224: Remove deprecated optionenableThemeProviderfrom Root Providermigrate: Use
theme.enabledinstead. -
2f8b168: Replace<LanguageSelect />component with<LanguageToggle />migrate:
Remove your
<LanguageSelect />component from the layout. Enable the new language toggle with:import { DocsLayout } from "fumadocs-ui/layout"; export default function Layout({ children }: { children: React.ReactNode }) { return <DocsLayout i18n>{children}</DocsLayout>; }
Minor Changes
d88dfa6: Support switching between page trees withRootTogglecomponent
Patch Changes
c110040: Fix problems with twoslash codeblocks13a60b9: Heading support typography styles1fe0812: Support translation for theme label- Updated dependencies [
98430e9] - Updated dependencies [
d88dfa6] - Updated dependencies [
ba20694] - Updated dependencies [
57eb762]
11.3.2
Patch Changes
11.3.1
Patch Changes
10ab3e9: Fix sidebar opened by default
11.3.0
Minor Changes
917d87f: Rename sidebar primitiveminWidthprop toblockScrollingWidth
Patch Changes
2a1211e: Support customising search dialog hotkeys9de31e6: SupportwithArticlefor MDX Pages- Updated dependencies [
917d87f]
11.2.2
Patch Changes
dd0feb2: Support customising sidebar background with opacity72096c3: Support customising theme options from root provider
11.2.1
Patch Changes
8074920: Fix sidebar background width on dynamic sidebar
11.2.0
Minor Changes
3292df1: Support sliding dynamic sidebar
Patch Changes
11.1.3
Patch Changes
2b95c89: Fix codeblock select highlight problemscdc52ad: Improve page footer mobile responsibility- Updated dependencies [
88008b1] - Updated dependencies [
944541a] - Updated dependencies [
07a9312]
11.1.2
Patch Changes
11.1.1
Patch Changes
771314c: UsesessionStoragefor non-persistent tabs8ef2b68: Bump depsfa78241: Fix accordion text alignment- Updated dependencies [
8ef2b68] - Updated dependencies [
26f464d] - Updated dependencies [
26f464d]
11.1.0
Minor Changes
02a014f: Support custom menu items in navbar
Patch Changes
11.0.8
Patch Changes
- Updated dependencies [
98258b5]
11.0.7
Patch Changes
- Updated dependencies [
f7c2c5c]
11.0.6
Patch Changes
8e0ef4b: Support disable search functionality including shortcuts- Updated dependencies [
5653d5d] - Updated dependencies [
5653d5d]
11.0.5
Patch Changes
c8ea344: Support disabling search bar
11.0.4
Patch Changes
7b61b2f: Migratefumadocs-uito fully ESM, adding support for ESMtailwind.configfile- Updated dependencies [
7b61b2f]
11.0.3
Patch Changes
c11e6ce: New color preset:catppuccin
11.0.2
Patch Changes
6470d6d: Fix collapse button on smaller viewports
11.0.1
Patch Changes
1136e02: Support modifying css with color presets1136e02: New color presetneutralf6b4797: Improve Sidebar footer
11.0.0
Major Changes
-
2d8df75: Replacenav.linksoption with secondary linkswhy: A more straightforward API design
migrate:
<DocsLayout + links={[ + { + type: 'secondary', + text: 'Github', + url: 'https://github.com', + icon: <GithubIcon />, + external: true, + }, + ]} - nav={{ - links: [ - { - icon: <GithubIcon />, - href: 'https://github.com', - label: 'Github', - external: true, - }, - ], - }} > {children} </DocsLayout>
Patch Changes
- Updated dependencies [
2d8df75] - Updated dependencies [
92cb12f] - Updated dependencies [
f75287d] - Updated dependencies [
2d8df75]
10.1.3
Patch Changes
6ace206: Support opening Twoslash popup on mobiled0288d1: New theme dusk- Updated dependencies [
bbad52f]
10.1.2
Patch Changes
10.1.1
Patch Changes
38d6f22: Improve RTL Layout experience- Updated dependencies [
779c599] - Updated dependencies [
0c01300] - Updated dependencies [
779c599]
10.1.0
Minor Changes
566539a: Support RTL layout
Patch Changes
10.0.5
Patch Changes
- Updated dependencies [
e47c62f]
10.0.4
Patch Changes
10.0.3
Patch Changes
10.0.2
Patch Changes
10.0.1
Patch Changes
0e78dc8: Support customising search API URL- Updated dependencies [
c9b7763] - Updated dependencies [
0e78dc8] - Updated dependencies [
d8483a8]
10.0.0
Major Changes
-
321d1e1f: Move Typescript integrations tofumadocs-typescriptwhy: It is now a stable feature
migrate: Use
fumadocs-typescriptinstead.- import { AutoTypeTable } from "fumadocs-ui/components/auto-type-table" + import { AutoTypeTable } from "fumadocs-typescript/ui"
Patch Changes
de7ed150: Hide external items from navigation footer- Updated dependencies [
b5d16938] - Updated dependencies [
321d1e1f]
9.1.0
Minor Changes
Patch Changes
9.0.0
Major Changes
-
071898da: Remove deprecated usage ofFilescomponentWhy: Since
8.3.0, you should use theFoldercomponent instead for folders. For simplicity, thetitleprop has been renamed toname.Migrate: Replace folders with the
Foldercomponent. Renametitleprop toname.- <Files> - <File title="folder"> - <File title="file.txt" /> - </File> - </Files> + <Files> + <Folder name="folder"> + <File name="file.txt" /> + </Folder> + </Files> -
2b355907: Remove controlled usage for AccordionWhy: Components in Fumadocs UI should not be used outside of MDX.
Migrate: Remove
valueandonValueChangeprops.
Patch Changes
8.3.0
Minor Changes
b0003d44: Addpurpletheme9bdb49dd: AddFolderexport tofumadocs-ui/components/files99d66d2d: Renametitleprop tonameinFileandFoldercomponent
Patch Changes
5e314eee: Deprecateinputcolor andmediumfont size from Tailwind CSS preset52d578d0: SetdarkModetoclassby default84667d2f: Improve Accordions
8.2.0
Minor Changes
5c24659: Support code block icons
Patch Changes
8.1.1
Patch Changes
153ceaf: Fix typo
8.1.0
Minor Changes
Patch Changes
6c5a39a: Rename Git repository tofumadocs- Updated dependencies [
6c5a39a] - Updated dependencies [
eb028b4] - Updated dependencies [
054ec60]
8.0.0
Major Changes
-
a2f4819: Improve internationalized routingI18nProvidernow handles routing for you. Therefore,localeandonChangeis no longer required.<I18nProvider translations={{ cn: { name: "Chinese", // required search: "Translated Content", }, }} ></I18nProvider>LanguageSelectdetects available options from your translations, therefore, thelanguagesprop is removed. -
c608ad2: Remove deprecateddocsUiPluginsmigrate: Use
createPresetinsteadconst { createPreset } = require("fumadocs-ui/tailwind-plugin"); /** @type {import('tailwindcss').Config} */ module.exports = { content: [ "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./content/**/*.mdx", "./node_modules/fumadocs-ui/dist/**/*.js", ], presets: [createPreset()], }; -
2ea9437: Change usage of Code Block componentThe inner
preelement is now separated from code block container, making it easier to customize.`Before:
import { CodeBlock, Pre } from "fumadocs-ui/mdx/pre"; <Pre title={title} allowCopy {...props} />;After:
import { CodeBlock, Pre } from "fumadocs-ui/components/codeblock"; <CodeBlock title={title} allowCopy> <Pre {...props} /> </CodeBlock>; -
ac424ec: Update import paths of MDX componentswhy: To improve consistency, all MDX components are located in
/components/*instead.migrate:
- import { Card, Cards } from "fumadocs-ui/mdx/card" + import { Card, Cards } from "fumadocs-ui/components/card" - import { Heading } from "fumadocs-ui/mdx/heading" + import { Heading } from "fumadocs-ui/components/heading" - import { Codeblock, Pre } from "fumadocs-ui/mdx/pre" + import { Codeblock, Pre } from "fumadocs-ui/components/codeblock" -
2b11c20: Rename to Fumadocsnext-docs-zeta->fumadocs-corenext-docs-ui->fumadocs-uinext-docs-mdx->fumadocs-mdx@fuma-docs/openapi->fumadocs-openapicreate-next-docs-app->create-fumadocs-app -
60db195: Remove Nav component exportwhy: Replaced by the DocsLayout and Layout component, it is now an internal component
migration: Use the Layout component for sharing the navbar across pages
- import { Nav } from "fumadocs-ui/nav" + import { Layout } from "fumadocs-ui/layout"
Minor Changes
60db195: Support transparent navbar
Patch Changes
974e00f: Collapse API example by default- Updated dependencies [
2ea9437] - Updated dependencies [
cdff313] - Updated dependencies [
1a346a1] - Updated dependencies [
2b11c20]
7.1.2
Patch Changes
9204975: Fix search dialog overflow issues
7.1.1
Patch Changes
7.1.0
Minor Changes
Patch Changes
c527044: Support preloading Search Dialog
7.0.0
Major Changes
-
f995ad9: Page Footer is now a client componentThis allows the footer component to find items within the current page tree, which fixes the problem where an item from another page tree is appeared.
Also removed the
urlandtreeproperties fromDocsPagesince we can pass them via React Context API.export default async function Page({ params }) { return ( <DocsPage - url={page.url} - tree={pageTree} > ... </DocsPage> ); }The
footerproperty inDocsPagehas also updated, now you can specify or replace the default footer component.<DocsPage footer={{ items: {} }}>...</DocsPage>
Minor Changes
-
b30d1cd: Support theme presetsAdd theme presets for the Tailwind CSS plugin, the default and ocean presets are available now.
const { docsUi, docsUiPlugins } = require("next-docs-ui/tailwind-plugin"); /** @type {import('tailwindcss').Config} */ module.exports = { plugins: [ ...docsUiPlugins, docsUi({ preset: "ocean", }), ], }; -
9929c5b: Support multiple page tree rootsYou can specify a
rootproperty inmeta.json, the nearest root folder will be used as the root of page tree instead.{ "title": "Hello World", "root": true }
Patch Changes
- Updated dependencies [
9929c5b] - Updated dependencies [
9929c5b] - Updated dependencies [
49201be] - Updated dependencies [
338ea98] - Updated dependencies [
4c1334e] - Updated dependencies [
9929c5b]
6.1.0
Minor Changes
-
6e0d2e1: SupportLayoutfor non-docs pages (without page tree)Same as Docs Layout but doesn't include a sidebar. It can be used outside of the docs, a page tree is not required.
import { Layout } from "next-docs-ui/layout"; export default function HomeLayout({ children }) { return <Layout>{children}</Layout>; }nav.itemsprop is deprecatedIt is now replaced by
links. -
2a82e9d: Support linking to accordionsYou can now specify an
idfor accordion. The accordion will automatically open when the user is navigating to the page with the specifiedidin hash parameter.<Accordions> <Accordion title="My Title" id="my-title"> My Content </Accordion> </Accordions>
Patch Changes
6.0.2
Patch Changes
6.0.1
Patch Changes
515a3e1: Fix inline code blocks are not highlighted
6.0.0
Major Changes
-
983ede8: Removenot-foundcomponentThe
not-foundcomponent was initially intended to be the default 404 page. However, we found that the Next.js default one is good enough. For advanced cases, you can always build your own 404 page. -
ebe8d9f: Support Tailwind CSS plugin usageIf you are using Tailwind CSS for your docs, it's now recommended to use the official plugin instead.
const { docsUi, docsUiPlugins } = require("next-docs-ui/tailwind-plugin"); /** @type {import('tailwindcss').Config} */ module.exports = { darkMode: "class", content: [ "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./content/**/*.mdx", "./node_modules/next-docs-ui/dist/**/*.js", ], plugins: [...docsUiPlugins, docsUi], };The
docsUiplugin adds necessary utilities & colors, anddocsUiPluginsare its dependency plugins which should not be missing. -
7d89e83: Add required propertyurlto<DocsPage />componentYou must pass the URL of current page to
<DocsPage />component.export default function Page({ params }) { return ( <DocsPage + url={page.url} toc={page.data.toc} > ... </DocsPage> ) }footerproperty is now optionalYour
footerproperty in<DocsPage />will be automatically generated if not specified.findNeighbour(tree, url); -
0599d50: Separate MDX componentsPreviously, you can only import the code block component from
next-docs-ui/mdx(Client Component) andnext-docs-ui/mdx-server(Server Component).This may lead to confusion, hence, it is now separated into multiple files. You can import these components regardless it is either a client or a server component.
Notice that
MDXContentis now renamed toDocsBody, you must import it fromnext-docs-ui/pageinstead.- import { MDXContent } from "next-docs-ui/mdx" - import { MDXContent } from "next-docs-ui/mdx-server" + import { DocsBody } from "next-docs-ui/page"- import { Card, Cards } from "next-docs-ui/mdx" + import { Card, Cards } from "next-docs-ui/mdx/card" - import { Pre } from "next-docs-ui/mdx" + import { Pre } from "next-docs-ui/mdx/pre" - import { Heading } from "next-docs-ui/mdx" + import { Heading } from "next-docs-ui/mdx/heading" - import defaultComponents from "next-docs-ui/mdx" + import defaultComponents from "next-docs-ui/mdx/default-client" - import defaultComponents from "next-docs-ui/mdx-server" + import defaultComponents from "next-docs-ui/mdx/default"
Minor Changes
56a35ce: Support customsearchOptionsin Algolia Search Dialog
Patch Changes
5.0.0
Minor Changes
Patch Changes
4.0.9
Patch Changes
4.0.8
Patch Changes
4.0.7
Patch Changes
4.0.6
Patch Changes
- Updated dependencies [
ff38f6e]
4.0.5
Patch Changes
f00e38f: Usedvhfor sidebar height
4.0.4
Patch Changes
1b10e13: Default accordion type to "single"
4.0.3
Patch Changes
- Updated dependencies [
0cc10cb]
4.0.2
Patch Changes
4.0.1
Patch Changes
927714a: Remove dropdown from theme toggled58e90a: Use await imports to import client components in Server Componentscc1fe39: Render TOC header & footer in Server Component01b23e2: Support Next.js 14d58e90a: Add y margins to Callout and Pre component- Updated dependencies [
2da93d8] - Updated dependencies [
01b23e2]
4.0.0
Minor Changes
-
6c4a782: Improve CommonJS/ESM compatibilitySince this release, all server utilities will be CommonJS by default unless they have referenced ESM modules in the code. For instance,
next-docs-zeta/middlewareis now a CommonJS file. However, some modules, such asnext-docs-zeta/serverrequires ESM-only package, hence, they remain a ESM file.Notice that the extension of client-side files is now
.jsinstead of.mjs, but they're still ESM.Why?
After migrating to
.mjsNext.js config file, some imports stopped to work. The built-in Next.js bundler seems can't resolve thesenextimports in external packages, causing errors when modules have imported Next.js itself (e.g.next/image) in the code.By changing client-side files extension to
.mjsand using CommonJS for server-side files, this error is solved. -
6c4a782: Support Server Component usage for MDX default components
Patch Changes
b2112e8: Improve default codeblock6c4a782: Fix sidebar opening issue- Updated dependencies [
6c4a782] - Updated dependencies [
6c4a782]
4.0.0
Minor Changes
-
678cd3d: Improve CommonJS/ESM compatibilitySince this release, all server utilities will be CommonJS by default unless they have referenced ESM modules in the code. For instance,
next-docs-zeta/middlewareis now a CommonJS file. However, some modules, such asnext-docs-zeta/serverrequires ESM-only package, hence, they remain a ESM file.Notice that the extension of client-side files is now
.jsinstead of.mjs, but they're still ESM.Why?
After migrating to
.mjsNext.js config file, some imports stopped to work. The built-in Next.js bundler seems can't resolve thesenextimports in external packages, causing errors when modules have imported Next.js itself (e.g.next/image) in the code.By changing client-side files extension to
.mjsand using CommonJS for server-side files, this error is solved. -
d2eb490: Support Server Component usage for MDX default components
Patch Changes
3.0.0
Minor Changes
522ed48: Update typography & layout styles
Patch Changes
-
a4a8120: Update search utilities import paths.Search Utilities in
next-docs-zeta/serveris now moved tonext-docs-zeta/searchandnext-docs-zeta/server-algolia.Client-side Changes:
next-docs-zeta/search->next-docs-zeta/search/clientnext-docs-zeta/search-algolia->next-docs-zeta/search-algolia/clientIf you're using Next Docs UI, make sure to import the correct path.
-
Updated dependencies [
1043532] -
Updated dependencies [
7a0690b] -
Updated dependencies [
a4a8120]
2.4.1
Patch Changes
dc4f10d: Fix Callout component overflow841a18b: Support passing extra props to Card components- Updated dependencies [
dfc8b44] - Updated dependencies [
ef4d8cc]
2.4.0
Minor Changes
Patch Changes
2.3.3
Patch Changes
634f7d3: Reduce dependencies996a914: Create Inline TOC componenteac081c: Update github urls & author name- Updated dependencies [
634f7d3] - Updated dependencies [
eac081c]
2.3.2
Patch Changes
e0ebafa: Improve global padding
2.3.1
Patch Changes
2.3.0
Minor Changes
32a4669: Support algolia search dialog
Patch Changes
cef6143: Fix toc marker position32a4669: Improve search API usageb65219c: Separate default and custom search dialog9c3bc86: Improve i18n language select6664178: Support custom search function for search dialog- Updated dependencies [
6664178] - Updated dependencies [
a0f9911] - Updated dependencies [
6664178]
2.2.0
Minor Changes
1ff7172: Remove support for importing "next-docs-ui/components", please use "next-docs-ui/nav" instead
Patch Changes
e546f4e: Hotfix sidebar collapsible not closing
2.1.2
Patch Changes
a3f443f: Improve colors in light mode2153fc8: Improve navbar transparent mode4e7e0d2: Replacenext-docs-ui/componentswithnext-docs-ui/nav4816737: Fix sidebar collapsible button- Updated dependencies [
dfbbc17] - Updated dependencies [
79227d8]
2.1.1
Patch Changes
14459cf: Fix image-zoom causes viewport overflow on IOS devicesa015445: Improve search toggle794c2c6: Remove default icon from cards
2.1.0
Minor Changes
db050fc: Redesign default theme & layout
Patch Changes
b527988: Files component support custom icons69a4469: Animate TOC markerdbe1bcf: Support transparent navbar for custom navbar- Updated dependencies [
a5a661e]
2.0.3
Patch Changes
2.0.2
Patch Changes
74e5e85: Several UI improvements- Support adding header to TOC component
- Updated dependencies [
74e5e85] - Updated dependencies [
72e9fdf]
2.0.1
Patch Changes
2.0.0
Major Changes
9bf1297: Update API usage
Patch Changes
1.6.9
Patch Changes
1.6.8
Patch Changes
4cf4552: Fix aria-controls warning & support default index
1.6.7
Patch Changes
f72a4c1: Improve animations & layout88bab2f: SupportlastUpdatein pagef1846e8: Support i18n search dialog placeholder
1.6.6
Patch Changes
be8a93d: Support sidebar default open level
1.6.5
Patch Changes
b8a76f8: Fix theme toggle wrong icon7337d59: Create Zoom Image component79abe84: Support collapsible sidebar- Updated dependencies [
79abe84]
1.6.4
Patch Changes
e6ebf6a: RenamesidebarContenttosidebarFootere01bf3a: Allowtrueto keep defaulte6ebf6a: Improve sidebar banner
1.6.3
Patch Changes
- Support replacing breadcrumb
8d07003: Replace type ofTreeNode[]withPageTree- Updated dependencies [
8d07003]
1.6.2
Patch Changes
5512300: Support custom navbar itemsaf8720b: Improve default code block2836799: Support I18n text in built-in components
1.6.1
Patch Changes
1.6.0
Patch Changes
037d5e5: Export default mdx components- Updated dependencies [
cdd30d5] - Updated dependencies [
edb9930]
1.5.3
Patch Changes
1.5.2
Patch Changes
1906e80: Create steps component
1.5.1
Patch Changes
d4f718d: Support disabling TOC & Sidebar
1.5.0
Patch Changes
- Updated dependencies [
fb2abb3]
1.4.1
Patch Changes
8883553: Support tabs componentd084de2: Export default search dialog- Improve Search Dialog UI
- Updated dependencies
- Updated dependencies [
3d92c92]
1.4.0
Minor Changes
45a174a: Split roll-button into optional component
Patch Changes
1.3.1
Patch Changes
21725e4: Support replacing default search dialog component7fb2b9e: Support custom page & folder icons- Updated dependencies [
ff05f5d] - Updated dependencies [
7fb2b9e]
1.3.0
Minor Changes
98226d9: Rewrite slugger and TOC utilities
Patch Changes
6999268: Support custom codeblock meta in Codeblocks- Change default typography
- Updated dependencies [
98226d9]
1.2.1
Patch Changes
1.2.0
Minor Changes
- Remove
treeprop from Docs Page, replaced by pages context.
Patch Changes
1.1.4
Patch Changes
1.1.3
Patch Changes
1.1.2
Patch Changes
- Fix aria attributes
- Improve footer styles
- Updated dependencies
1.1.1
Patch Changes
- Fix codeblocks not being generated correctly
1.1.0
Minor Changes
524ca9a: Support page footer
Patch Changes
d810bbd: Improve codeblock stylesd810bbd: Add<RollButton />component- Updated dependencies [
255fc92]
1.0.0
Minor Changes
d30d57f: Support optional I18n context provider
Patch Changes
- Improve codeblock styles
- Updated dependencies [
8e4a001] - Updated dependencies [
4fa45c0] - Updated dependencies [
0983891]
0.3.2
Patch Changes
- Fix unexpected trailing slash on Contentlayer v0.3.4
- Add Auto scroll for TOC
0.3.1
Patch Changes
- Use Radix UI scroll area
d91de39: Fix sticky position for TOC and Sidebar
0.3.0
Minor Changes
- Support next.js images in MDX files