Skip to content

Releases: fuma-nama/fumadocs

[email protected]

18 Apr 01:44
7190a43
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Apr 01:44
7190a43
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Apr 01:44
7190a43
Compare
Choose a tag to compare

[email protected]

18 Apr 01:44
7190a43
Compare
Choose a tag to compare

[email protected]

16 Apr 01:35
658bcb0
Compare
Choose a tag to compare

Patch Changes

  • 5a6bf83: fix(#1717): add number type stringify for getPathnameFromInput

[email protected]

14 Apr 10:37
ba6aa9a
Compare
Choose a tag to compare

Patch Changes

[email protected]

14 Apr 10:37
ba6aa9a
Compare
Choose a tag to compare

Patch Changes

[email protected]

14 Apr 10:37
ba6aa9a
Compare
Choose a tag to compare

Major Changes

  • ff12b53: Move APIPage to fumadocs-openapi/ui

    migrate:

    in your mdx-components.tsx (or where you pass MDX components):

    import defaultComponents from 'fumadocs-ui/mdx';
    import { APIPage } from 'fumadocs-openapi/ui';
    import { openapi } from '@/lib/source';
    import type { MDXComponents } from 'mdx/types';
    
    export function getMDXComponents(components?: MDXComponents): MDXComponents {
      return {
        ...defaultComponents,
        // use this instead
        APIPage: (props) => <APIPage {...openapi.getAPIPageProps(props)} />,
        ...components,
      };
    }

    why: Next.js compiles the same module in different layers: route handlers, pages (which include browser bundle), and middleware (Edge Runtime). It avoids compiling React components of fumadocs-openapi twice when you reference the OpenAPI server in a route handler.

Patch Changes

[email protected]

14 Apr 10:37
ba6aa9a
Compare
Choose a tag to compare

Minor Changes

  • 7fcf612: Require Next.js 15.3.0 or above

Patch Changes

[email protected]

14 Apr 10:37
ba6aa9a
Compare
Choose a tag to compare

Patch Changes

  • ec85a6c: support more options on remarkStructure
  • e1a61bf: Support remarkSteps plugin