Skip to content

Releases: fuma-nama/fumadocs

[email protected]

24 Oct 05:11
bdd211f
Compare
Choose a tag to compare

Minor Changes

  • 28a9c3c: Migrate loaders to ESM only

@fumadocs/[email protected]

24 Oct 05:11
bdd211f
Compare
Choose a tag to compare

Patch Changes

  • 821e4a0: Fix src folder compatibility of plugins

[email protected]

23 Oct 01:06
27d08c9
Compare
Choose a tag to compare

Patch Changes

  • 35695be: Support multiple tags in OpenAPI groupBy: tag file generation

[email protected]

22 Oct 10:28
e983433
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Oct 00:03
07ceb15
Compare
Choose a tag to compare

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 from fumadocs-ui/og

    migrate: Use Metadata API from fumadocs-core/server

  • d9e908e: Replace fumadocs-core/search/shared with fumadocs-core/server

  • be53a0e: DocsCategory now accept from prop instead of pages 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

[email protected]

22 Oct 00:03
07ceb15
Compare
Choose a tag to compare

Major Changes

  • f9adba6: Return an array of doc entry in generateDocumentation

Minor Changes

  • f9adba6: Support inline type syntax in AutoTypeTable type prop
  • f9adba6: Support createTypeTable for shared project instance

Patch Changes

[email protected]

22 Oct 00:03
07ceb15
Compare
Choose a tag to compare

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

[email protected]

22 Oct 10:28
e983433
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Oct 00:03
07ceb15
Compare
Choose a tag to compare

Minor Changes

  • 129923e: Support custom shiki options
  • 160e52e: Support disableCache prop on APIPage

Patch Changes

[email protected]

22 Oct 10:28
e983433
Compare
Choose a tag to compare

Major Changes

Patch Changes