Skip to content

fix: bump fumadocs-core to fix breaking build - #186

Merged
rohanchkrabrty merged 1 commit into
mainfrom
fix/fumadocs-core-stringifier
Sep 28, 2026
Merged

rohanchkrabrty merged 1 commit into
mainfrom
fix/fumadocs-core-stringifier

Conversation

@rohanchkrabrty

Copy link
Copy Markdown
Contributor

Summary

  • Bumps fumadocs-core from 16.15.4 to 16.15.15. Any page with bold or italic text currently fails to build with Maximum call stack size exceeded.
  • Cause: mdast-util-to-markdown 2.1.3 (released 2026-09-27) formats strong/emphasis through containerPhrasing, which reads an attention property on the handler. Before 16.15.15, fumadocs-core's stringifier wrapped each handler without copying its properties, so strong and containerPhrasing called each other forever.
  • fumadocs-core accepts mdast-util-to-markdown ^2.1.2, so every fresh install (e.g. bunx @raystack/chronicle build) picks up 2.1.3 and breaks. Chronicle's CI didn't catch it because the lockfile was still on 2.1.2.
  • The lockfile now moves mdast-util-to-markdown to 2.1.3 too, so CI builds against the version a fresh install gets.

…e stack

mdast-util-to-markdown 2.1.3 serialises strong and emphasis through
containerPhrasing, which reads an `attention` property off the handler.
fumadocs-core's stringifier wraps every handler in a new function and,
before 16.15.15, dropped that property. The strong handler then calls
containerPhrasing, which calls the wrapped strong handler again, until
the build fails with "Maximum call stack size exceeded" on any page with
bold or italic text.

fumadocs-core pins mdast-util-to-markdown with a caret, so every fresh
install of chronicle picks up 2.1.3 and breaks. 16.15.15 copies the
handler's properties onto the wrapper.

The lockfile moves mdast-util-to-markdown to 2.1.3 as well, so CI builds
against the version a fresh install resolves.
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
chronicle Ready Ready Preview Sep 28, 2026 4:59pm UTC

@coderabbitai

coderabbitai Bot commented Sep 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: raystack/chronicle/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 83d6e51b-57d9-45b9-9c68-159149757ac0


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rohanchkrabrty rohanchkrabrty changed the title fix: bump fumadocs-core so bold text does not overflow the stack fix: bump fumadocs-core to fix breaking build Sep 28, 2026
@rohanchkrabrty
rohanchkrabrty requested review from rsbh and removed request for Shreyag02 September 28, 2026 17:01
@rohanchkrabrty
rohanchkrabrty merged commit 44228ec into main Sep 28, 2026
9 checks passed
@rohanchkrabrty
rohanchkrabrty deleted the fix/fumadocs-core-stringifier branch September 28, 2026 17:10

This branch was successfully deployed

1 active deployment
Preview — cb8e7cdd Deployed Sep 28, 2026 by vercel[bot]
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.

2 participants