Skip to content

build(deps): bump fumadocs-mdx from 11.6.3 to 12.0.0#35

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps fumadocs-mdx from 11.6.3 to 12.0.0.

Release notes

Sourced from fumadocs-mdx's releases.

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]
  • Updated dependencies [2b30315]
    • fumadocs-core@15.7.12

fumadocs-mdx@11.9.1

Patch Changes

  • 64d0169: hotfix node.js imports at global scope

fumadocs-mdx@11.9.0

Minor Changes

  • d193152: Support absolutePath on Vite

... (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.0.
- [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.0)

---
updated-dependencies:
- dependency-name: fumadocs-mdx
  dependency-version: 12.0.0
  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 22, 2025
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Sep 22, 2025

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

Project Deployment Preview Comments Updated (UTC)
showcase Error Error Sep 22, 2025 10:31pm

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 using page.data.content which was removed in fumadocs-mdx 12.0.0 and replaced with the getText() method.

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..b396c97 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(page.getText(), {
     headers: {
       "Content-Type": "text/markdown; charset=utf-8",
     },

Analysis

Breaking change in fumadocs-mdx 12.0.0: page.data.content property removed

What fails: Route apps/www/app/(app)/llm/[[...slug]]/route.ts line 20 accesses page.data.content which was removed in fumadocs-mdx 12.0.0

How to reproduce:

# Access any endpoint served by this route:
curl http://localhost:4000/llm/some-slug

Result: Runtime error - property 'content' is undefined because fumadocs-mdx 12.0.0 removed the content property from page data

Expected: Should return markdown content using the new getText() method per fumadocs-mdx 12.0.0 release notes

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Sep 30, 2025

Superseded by #38.

@dependabot dependabot bot closed this Sep 30, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/fumadocs-mdx-12.0.0 branch September 30, 2025 01:54
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