Releases: fuma-nama/fumadocs
[email protected]
Minor Changes
- 28a9c3c: Migrate loaders to ESM only
@fumadocs/[email protected]
Patch Changes
- 821e4a0: Fix src folder compatibility of plugins
[email protected]
Patch Changes
- 35695be: Support multiple tags in OpenAPI
groupBy: tag
file generation
[email protected]
Patch Changes
- 1a7d78a: Pass props to replaced layout components via Radix UI
<Slot />
[email protected]
Major Changes
-
d9e908e: Refactor import paths for layouts
migrate: 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 to
fumadocs-twoslash
why: 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: Remove
getImageMeta
fromfumadocs-ui/og
migrate: Use Metadata API from
fumadocs-core/server
-
d9e908e: Replace
fumadocs-core/search/shared
withfumadocs-core/server
-
be53a0e:
DocsCategory
now acceptfrom
prop instead ofpages
prop.why: This allows sharing the order of items with page tree.
migrate:The component now takes
from
prop 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: Support
disableThemeSwitch
on layouts - d9e908e: Bundle icons into dist
- ad47fd8: Show i18n language toggle on home layout
- 87063eb: Add root toggle to sidebar automatically
- 64f0653: Introduce
--fd-nav-height
CSS variable for custom navbar - e1ee822: Support hast nodes in
toc
variable - 3d054a8: Support linking to a specific tab
Patch Changes
- f949520: Support Shiki diff transformer
- 367f4c3: Improve Root Toggle component
- d9e908e: Change default URL of title on i18n mode
- d9e908e: Add center to root toggle
- e612f2a: Make compatible with Next.js 15
- 3d0369a: Improve edit on GitHub button
- be820c4: 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]
[email protected]
[email protected]
Major Changes
-
9a10262: Move Twoslash UI components to
fumadocs-twoslash
why: 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.
Patch Changes
- be820c4: Bump deps
- Updated dependencies [34cf456]
- Updated dependencies [d9e908e]
- Updated dependencies [f949520]
- Updated dependencies [ad47fd8]
- Updated dependencies [d9e908e]
- Updated dependencies [367f4c3]
- Updated dependencies [87063eb]
- Updated dependencies [64f0653]
- Updated dependencies [e1ee822]
- Updated dependencies [d9e908e]
- Updated dependencies [d9e908e]
- Updated dependencies [e612f2a]
- Updated dependencies [3d0369a]
- Updated dependencies [9a10262]
- Updated dependencies [d9e908e]
- Updated dependencies [3d054a8]
- Updated dependencies [d9e908e]
- Updated dependencies [be820c4]
- Updated dependencies [be53a0e]
[email protected]
Patch Changes
- Updated dependencies [1a7d78a]
[email protected]
Minor Changes
Patch Changes
- 61a3d14: Support
x-displayName
on tags - e612f2a: Make compatible with Next.js 15
- 8a32f79: Fix header name in code samples
- be820c4: Bump deps
- 42c9701: Fix TypeScript schema generation
- Updated dependencies [e45bc67]
- Updated dependencies [34cf456]
- Updated dependencies [d9e908e]
- Updated dependencies [d9e908e]
- Updated dependencies [d9e908e]
- Updated dependencies [f949520]
- Updated dependencies [ad47fd8]
- Updated dependencies [9a0b09f]
- Updated dependencies [9a0b09f]
- Updated dependencies [d9e908e]
- Updated dependencies [367f4c3]
- Updated dependencies [87063eb]
- Updated dependencies [367f4c3]
- Updated dependencies [64f0653]
- Updated dependencies [e1ee822]
- Updated dependencies [d9e908e]
- Updated dependencies [d9e908e]
- Updated dependencies [e612f2a]
- Updated dependencies [3d0369a]
- Updated dependencies [9a0b09f]
- Updated dependencies [d9e908e]
- Updated dependencies [9a10262]
- Updated dependencies [d9e908e]
- Updated dependencies [3d054a8]
- Updated dependencies [8ef00dc]
- Updated dependencies [979e301]
- Updated dependencies [d9e908e]
- Updated dependencies [979e301]
- Updated dependencies [15781f0]
- Updated dependencies [be820c4]
- Updated dependencies [be53a0e]
- Updated dependencies [d9e908e]