Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 21, 2025

This PR contains the following updates:

Package Change Age Confidence
fumadocs-core (source) 15.6.12 -> 15.7.10 age confidence

Release Notes

fuma-nama/fumadocs (fumadocs-core)

v15.7.10

Compare Source

Patch Changes
  • Updated dependencies [c948f59]
    • fumadocs-core@​15.7.10

v15.7.9

Compare Source

Patch Changes
  • 45c7531: Type Table: Support displaying parameters & return types
  • 4082acc: Redesign Type Table
  • Updated dependencies [d135efd]
  • Updated dependencies [4082acc]
    • fumadocs-core@​15.7.9

v15.7.8

Compare Source

Patch Changes
  • ba3382f: Support link item properties in menu items
  • efba995: Enforce the use of --removed-body-scroll-bar-size to fixed elements
  • bec3b36: Use on-root: to apply CSS variables from child layout components
  • Updated dependencies [f65778d]
  • Updated dependencies [e4c12a3]
    • fumadocs-core@​15.7.8

v15.7.7

Compare Source

Patch Changes
  • 0b53056: Support remarkMdxMermaid - convert mermaid codeblocks into <Mermaid /> component
  • 3490285: Support remarkMdxFiles - convert files codeblocks into <Files /> component

v15.7.6

Compare Source

v15.7.5

Compare Source

Patch Changes
  • cedc494: Hotfix URL normalization logic
  • Updated dependencies [cedc494]
    • fumadocs-core@​15.7.5

v15.7.4

Compare Source

v15.7.3

Compare Source

Patch Changes
  • f6de900: Add overscroll to sidebar viewports
  • Updated dependencies [6d97379]
  • Updated dependencies [e776ee5]
    • fumadocs-core@​15.7.3

v15.7.2

Compare Source

Patch Changes
  • 88b5a4e: Fix duplicate pages in page tree when referencing subpage in meta.json and using ... or adding the subfolder again
  • 039b24b: Fix failed to update page tree from loader()
  • 08eee2b: [remark-npm] Enable npm install prefix fallback only on old alias

v15.7.1

Compare Source

Patch Changes
  • 195b090: Support a list of source for loader() API
  • e1c84a2: Support fallbackLanguage for loader() i18n API

v15.7.0

Compare Source

Minor Changes
  • 514052e: Include locale code into page.path

    Previously when i18n is enabled, page.path is not equal to the virtual file paths you passed into loader():

    const source = loader({
      source: {
        files: [
          {
            path: 'folder/index.cn.mdx',
            // ...
          },
        ],
      },
    });
    
    console.log(source.getPages('cn'));
    // path: folder/index.mdx

    This can be confusing, the only solution to obtain the original path was page.absolutePath.

    From now, the page.path will also include the locale code:

    const source = loader({
      source: {
        files: [
          {
            path: 'folder/index.cn.mdx',
            // ...
          },
        ],
      },
    });
    
    console.log(source.getPages('cn'));
    // path: folder/index.cn.mdx

    While this change doesn't affect intended API usages, it may lead to minor bugs when advanced usage/hacks involved around page.path.

  • e785f98: Introduce page tree fallback API

    Page 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 fallback page tree instead:

    {
      "children": [
        {
          "type": "page",
          "name": "Introduction"
        }
      ],
      "fallback": {
        "children": [
          {
            "type": "page",
            "name": "Hidden Page"
          }
        ]
      }
    }

    Items in fallback are invisible unless you've opened its item.

  • 0531bf4: Introduce page tree transformer API

    You can now define page tree transformer.

    export const source = loader({
      // ...
      pageTree: {
        transformers: [
          {
            root(root) {
              return root;
            },
            file(node, file) {
              return node;
            },
            folder(node, dir, metaPath) {
              return node;
            },
            separator(node) {
              return node;
            },
          },
        ],
      },
    });
  • 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 '@&#8203;/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 '@&#8203;/lib/i18n';
    
    export default createI18nMiddleware(i18n);
Patch Changes
  • e254c65: Simplify Source API storage management
  • ec75601: Support ReactNode for icons in page tree
  • 67df155: createFromSource support async buildIndex and Fumadocs MDX Async Mode
  • b109d06: Redesign useShiki & <DynamicCodeBlock /> to use React 19 hooks

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch from 760aac7 to 41d9da7 Compare August 22, 2025 10:12
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.0 fix(deps): update dependency fumadocs-core to v15.7.1 Aug 22, 2025
Copy link

github-actions bot commented Aug 22, 2025

Build Status: Failed!

  • ❌ Build encountered errors
  • 🔍 Please check the workflow logs for details

📝 Latest commit: 8cceab8
⏰ Updated: 2025-09-06 10:35:46 UTC

@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch from 41d9da7 to 2b259ce Compare August 23, 2025 05:24
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.1 fix(deps): update dependency fumadocs-core to v15.7.2 Aug 24, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch 2 times, most recently from f7e49f1 to 78efd07 Compare August 27, 2025 07:35
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.2 fix(deps): update dependency fumadocs-core to v15.7.3 Aug 27, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch 2 times, most recently from 419251f to 2818e5f Compare August 28, 2025 07:20
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.3 fix(deps): update dependency fumadocs-core to v15.7.4 Aug 28, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch 2 times, most recently from 787002a to c62b7c7 Compare August 29, 2025 06:12
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.4 fix(deps): update dependency fumadocs-core to v15.7.5 Aug 29, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch 2 times, most recently from 45904d7 to dfd9e78 Compare August 31, 2025 09:14
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.5 fix(deps): update dependency fumadocs-core to v15.7.6 Aug 31, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch from dfd9e78 to d9a9217 Compare August 31, 2025 13:28
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.6 fix(deps): update dependency fumadocs-core to v15.7.7 Aug 31, 2025
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.7 fix(deps): update dependency fumadocs-core to v15.7.8 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch 4 times, most recently from c4ee244 to 0bb1338 Compare September 5, 2025 18:05
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.8 fix(deps): update dependency fumadocs-core to v15.7.9 Sep 5, 2025
@renovate renovate bot force-pushed the renovate/fumadocs-core-15.x branch from 0bb1338 to 3449910 Compare September 6, 2025 10:34
@renovate renovate bot changed the title fix(deps): update dependency fumadocs-core to v15.7.9 fix(deps): update dependency fumadocs-core to v15.7.10 Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants