Skip to content

build(deps): bump fumadocs-mdx from 11.6.3 to 12.0.1#38

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/fumadocs-mdx-12.0.1
Closed

build(deps): bump fumadocs-mdx from 11.6.3 to 12.0.1#38
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/fumadocs-mdx-12.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2025

Bumps fumadocs-mdx from 11.6.3 to 12.0.1.

Release notes

Sourced from fumadocs-mdx's releases.

fumadocs-mdx@12.0.1

Patch Changes

  • af50bc8: Support customising index file output path in Vite
  • 5fc9ee4: Support remark-directive for Include API
  • 4b9871d: MDX Async mode: read file content on load
  • Updated dependencies [655bb46]
  • Updated dependencies [d1ae3e8]
  • Updated dependencies [6548a59]
  • Updated dependencies [51268ec]
  • Updated dependencies [51268ec]
    • fumadocs-core@15.8.0

fumadocs-mdx@12.0.0

Major Changes

  • f11f89d: [Next.js] Rename APIS

    On page data:

    • _file -> info.
    • _file.absolutePath -> info.fullPath.
  • effe43d: Drop support for Zod 3 schemas

    Zod 3 schemas are still allowed, but you can no longer extend on the Zod 4 schemas provided by Fumadocs.

  • 2862a10: [Next.js] Removed content on page data in favour of getText().

Minor Changes

  • 22e0fec: Support getText() & Postprocess API
  • 2862a10: Unify doc collection entry for both Vite and Next.js integrations

fumadocs-mdx@11.10.1

Patch Changes

  • da095ac: Refactor internal export paths
  • 854d4ef: Export postInstall() function from fumadocs-mdx/vite
  • Updated dependencies [982aed6]
    • fumadocs-core@15.7.13

fumadocs-mdx@11.10.0

Minor Changes

  • ea13374: Support runtime loaders: Node.js, Bun

Patch Changes

  • Updated dependencies [846b28a]

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fumadocs-mdx](https://github.com/fuma-nama/fumadocs) from 11.6.3 to 12.0.1.
- [Release notes](https://github.com/fuma-nama/fumadocs/releases)
- [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-mdx@11.6.3...fumadocs-mdx@12.0.1)

---
updated-dependencies:
- dependency-name: fumadocs-mdx
  dependency-version: 12.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 30, 2025
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Sep 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
showcase Error Error Sep 30, 2025 1:55am

Copy link
Copy Markdown
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments:

apps/www/app/(app)/llm/[[...slug]]/route.ts (line 20):

The code is accessing page.data.content which was removed in fumadocs-mdx 12.0.1, causing the LLM route to fail at runtime.

View Details
📝 Patch Details
diff --git a/apps/www/app/(app)/llm/[[...slug]]/route.ts b/apps/www/app/(app)/llm/[[...slug]]/route.ts
index 375f035..94d3b75 100644
--- a/apps/www/app/(app)/llm/[[...slug]]/route.ts
+++ b/apps/www/app/(app)/llm/[[...slug]]/route.ts
@@ -16,8 +16,7 @@ export async function GET(
     notFound()
   }
 
-  // @ts-expect-error - revisit fumadocs types.
-  return new NextResponse(page.data.content, {
+  return new NextResponse(await page.data.getText('processed'), {
     headers: {
       "Content-Type": "text/markdown; charset=utf-8",
     },
diff --git a/apps/www/source.config.ts b/apps/www/source.config.ts
index 065ff21..2fcc26c 100644
--- a/apps/www/source.config.ts
+++ b/apps/www/source.config.ts
@@ -33,6 +33,9 @@ export default defineConfig({
 export const docs = defineDocs({
   dir: "../../projects",
   docs: {
+    postprocess: {
+      includeProcessedMarkdown: true,
+    },
     schema: frontmatterSchema.extend({
       links: z
         .object({

Analysis

Deprecated page.data.content causes LLM route to fail

What fails: GET handler in apps/www/app/(app)/llm/[[...slug]]/route.ts line 20 uses deprecated page.data.content property that was removed in fumadocs-mdx 12.0.1

How to reproduce:

# Build fails when the route is processed:
cd apps/www && pnpm run build

Result: Build/runtime failure due to accessing page.data.content which no longer exists per fumadocs-mdx 12.0.0 breaking changes

Expected: Should use page.data.getText('processed') method as documented in Fumadocs LLM integration guide

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2025

Superseded by #41.

@dependabot dependabot bot closed this Oct 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/fumadocs-mdx-12.0.1 branch October 6, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants