Skip to content

⬆️ Update docusaurus monorepo to v3.10.0 - #6823

Merged
dubzzz merged 6 commits into
mainfrom
renovate/docusaurus-monorepo
Apr 14, 2026
Merged

⬆️ Update docusaurus monorepo to v3.10.0#6823
dubzzz merged 6 commits into
mainfrom
renovate/docusaurus-monorepo

Conversation

@renovate

@renovate renovate Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@docusaurus/core (source) 3.9.23.10.0 age confidence
@docusaurus/faster (source) 3.9.23.10.0 age confidence
@docusaurus/module-type-aliases (source) 3.9.23.10.0 age confidence
@docusaurus/plugin-pwa (source) 3.9.23.10.0 age confidence
@docusaurus/preset-classic (source) 3.9.23.10.0 age confidence
@docusaurus/remark-plugin-npm2yarn (source) 3.9.23.10.0 age confidence
@docusaurus/theme-classic (source) 3.9.23.10.0 age confidence
@docusaurus/theme-mermaid (source) 3.9.23.10.0 age confidence
@docusaurus/tsconfig (source) 3.9.23.10.0 age confidence
@docusaurus/types (source) 3.9.23.10.0 age confidence

Release Notes

facebook/docusaurus (@​docusaurus/core)

v3.10.0

Compare Source

🚀 New Feature
  • docusaurus-types, docusaurus
  • create-docusaurus
  • Other
  • create-docusaurus, docusaurus-bundler, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-pwa, docusaurus-types, docusaurus
    • #​11802 feat(core): Docusaurus Faster is stable + v4 future flag turns it on by default (@​slorber)
  • docusaurus-mdx-loader, docusaurus-utils, docusaurus
    • #​11777 feat(cli): write-heading-ids CLI now supports the --syntax and --migrate options (@​slorber)
  • docusaurus-mdx-loader
    • #​11755 feat(mdx-loader): add support for explicit headingId based on MD/MDX comments (@​slorber)
  • docusaurus-theme-live-codeblock, docusaurus-theme-translations
  • docusaurus-theme-classic, docusaurus-theme-common
    • #​11734 feat(theme): Split <DocCard>, improve extensibility, better handling of emoji icons, stable classNames (@​slorber)
    • #​11733 feat(theme): Use React context for <Tabs>, allow custom <TabItem> components (@​slorber)
  • docusaurus-faster, docusaurus
    • #​11715 feat(bundler): upgrade to Rspack 1.7, remove useless experimental feature flags (@​slorber)
  • docusaurus-plugin-content-pages
  • docusaurus-mdx-loader, docusaurus-theme-classic
    • #​11642 feat(mdx-loader): add admonitions directive support for class/id shortcuts (@​lebalz)
  • docusaurus-theme-classic
  • docusaurus-theme-search-algolia
  • create-docusaurus, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-sitemap, docusaurus-types, docusaurus-utils, docusaurus
    • #​11512 feat(core): New siteConfig future.experimental_vcs API + future.experimental_faster.gitEagerVcs flag (@​slorber)
🐛 Bug Fix
  • docusaurus
  • docusaurus-faster, docusaurus
  • create-docusaurus, docusaurus-logger, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-google-gtag, docusaurus-plugin-pwa, docusaurus
  • docusaurus-utils
  • docusaurus-theme-classic
  • docusaurus-plugin-content-docs
  • docusaurus-plugin-google-gtag
  • docusaurus-theme-search-algolia
  • docusaurus-plugin-content-blog
  • docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus-plugin-ideal-image
    • #​11659 fix(ideal-image): <IdealImage> should forward remaining props to the underlying component (@​tempoz)
  • eslint-plugin
  • docusaurus-mdx-loader
  • docusaurus-bundler, docusaurus-faster, docusaurus-theme-mermaid
🏃‍♀️ Performance
  • docusaurus-plugin-content-blog
  • create-docusaurus, docusaurus-utils, docusaurus
    • #​11684 refactor(create-docusaurus): remove useless dependencies (docusaurus-utils, execa, fs-extra) + simplify some code (@​slorber)
  • create-docusaurus
📝 Documentation
🤖 Dependencies
🔧 Maintenance
  • Other
  • create-docusaurus, docusaurus-babel, docusaurus-bundler, docusaurus-cssnano-preset, docusaurus-faster, docusaurus-logger, docusaurus-mdx-loader, docusaurus-module-type-aliases, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-css-cascade-layers, docusaurus-plugin-debug, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-google-tag-manager, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-rsdoctor, docusaurus-plugin-sitemap, docusaurus-plugin-svgr, docusaurus-plugin-vercel-analytics, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-mermaid, docusaurus-theme-search-algolia, docusaurus-theme-translations, docusaurus-tsconfig, docusaurus-types, docusaurus-utils-common, docusaurus-utils-validation, docusaurus-utils, docusaurus, eslint-plugin, lqip-loader, stylelint-copyright
  • docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-mermaid, docusaurus-utils, docusaurus
  • docusaurus-cssnano-preset, docusaurus-logger, docusaurus-mdx-loader, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus
  • docusaurus-babel
  • docusaurus-plugin-content-blog
🌐 Translations
Committers: 41

Configuration

📅 Schedule: (UTC)

  • 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 these updates 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 added the dependencies Pull requests that update a dependency file label Apr 7, 2026
@renovate
renovate Bot requested a review from dubzzz as a code owner April 7, 2026 16:29
@changeset-bot

changeset-bot Bot commented Apr 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3903e3b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Apr 7, 2026

Copy link
Copy Markdown
@fast-check/ava

npm i https://pkg.pr.new/@fast-check/ava@6823

fast-check

npm i https://pkg.pr.new/fast-check@6823

@fast-check/jest

npm i https://pkg.pr.new/@fast-check/jest@6823

@fast-check/packaged

npm i https://pkg.pr.new/@fast-check/packaged@6823

@fast-check/poisoning

npm i https://pkg.pr.new/@fast-check/poisoning@6823

@fast-check/vitest

npm i https://pkg.pr.new/@fast-check/vitest@6823

@fast-check/worker

npm i https://pkg.pr.new/@fast-check/worker@6823

commit: 3903e3b

@codecov

codecov Bot commented Apr 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.86%. Comparing base (cabaab6) to head (3903e3b).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6823      +/-   ##
==========================================
+ Coverage   94.82%   94.86%   +0.03%     
==========================================
  Files         209      209              
  Lines        5665     5665              
  Branches     1489     1489              
==========================================
+ Hits         5372     5374       +2     
+ Misses        285      283       -2     
  Partials        8        8              
Flag Coverage Δ
tests 94.86% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/docusaurus-monorepo branch 2 times, most recently from 3f0b0fa to a68fd3e Compare April 8, 2026 23:01
@socket-security

socket-security Bot commented Apr 8, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@dubzzz

dubzzz commented Apr 8, 2026

Copy link
Copy Markdown
Owner

@claude investigate and fix build based on release note

@claude

claude Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @dubzzz's task in 1m 24s —— View job


Investigating build failure for Docusaurus v3.10.0 upgrade

  • Check CI status and identify failing jobs
  • Analyze failure logs and release notes for breaking changes
  • Implement fix
  • Push changes

Root cause: In Docusaurus v3.10.0, future.experimental_faster was promoted to stable and renamed to future.faster (facebook/docusaurus#11802). This broke both the Typecheck and Build documentation CI jobs.

Fix: Renamed experimental_fasterfaster in website/docusaurus.config.ts (line 41).
·

dubzzz
dubzzz previously approved these changes Apr 8, 2026
@dubzzz
dubzzz enabled auto-merge (squash) April 8, 2026 23:19
@dubzzz

dubzzz commented Apr 8, 2026

Copy link
Copy Markdown
Owner

@claude fix merge conflict with main

@claude

claude Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @dubzzz's task in 3m 35s —— View job


Fixing merge conflict with main

  • Identify the issue — the previous fix (experimental_fasterfaster) was lost when Renovate rebased the branch
  • Rebase onto latest origin/main (commit 94782cf)
  • Re-apply the experimental_fasterfaster fix in website/docusaurus.config.ts
  • Push changes

Rebased the branch onto latest main and re-applied the Docusaurus v3.10.0 config fix: future.experimental_fasterfuture.faster (promoted to stable in this release).

View job

@renovate
renovate Bot force-pushed the renovate/docusaurus-monorepo branch from 9b14cfe to d8cce7d Compare April 8, 2026 23:21
renovate Bot and others added 2 commits April 8, 2026 23:24
…10.0

The `future.experimental_faster` config option was promoted to stable
as `future.faster` in Docusaurus v3.10.0.

Co-authored-by: Nicolas DUBIEN <dubzzz@users.noreply.github.com>
@github-actions
github-actions Bot force-pushed the renovate/docusaurus-monorepo branch from d8cce7d to acfa952 Compare April 8, 2026 23:25
@renovate

renovate Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

dubzzz
dubzzz previously approved these changes Apr 8, 2026
@dubzzz

dubzzz commented Apr 9, 2026

Copy link
Copy Markdown
Owner

@claude documentation does not build in ci, please provide fixes

Here are the stack I'm facing (subset of the errors):

Client bundle compiled with errors therefore further build is impossible.
╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-05-16-fast-check-loves-docusaurus/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 10,
│ "name": "10:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 16,
│ "line": 10,
│ "column": 2,
│ "offset": 317
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-05-21-whats-new-in-fast-check-3-9-0/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 14,
│ "name": "14:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 22,
│ "line": 14,
│ "column": 2,
│ "offset": 522
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-05-30-whats-new-in-fast-check-3-10-0/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 430
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-06-07-whats-new-in-fast-check-3-11-0/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 275
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-07-24-whats-new-in-fast-check-3-12-0/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 345
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-09-04-dual-packages-or-supporting-both-cjs-and-esm/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 13,
│ "name": "13:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 20,
│ "line": 13,
│ "column": 2,
│ "offset": 961
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-09-17-whats-new-in-fast-check-3-13-0/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 297
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-09-21-detect-prototype-pollution-automatically/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 423
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)


╰─▶ × Error: MDX compilation failed for file "/home/runner/work/fast-check/fast-check/website/blog/2023-10-05-finding-back-a-redos-vulnerability-in-zod/index.md"
│ Cause: Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})
│ Details:
│ {
│ "column": 2,
│ "file": "",
│ "message": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "line": 11,
│ "name": "11:2",
│ "place": {
│ "bufferIndex": 1,
│ "index": 17,
│ "line": 11,
│ "column": 2,
│ "offset": 556
│ },
│ "reason": "Unexpected character ! (U+0021) before name, expected a character that can start a name, such as a letter, $, or _ (note: to create a comment in MDX, use {/* text */})",
│ "ruleId": "unexpected-character",
│ "source": "micromark-extension-mdx-jsx",
│ "url": "https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect"
│ }

│ at compileToJSX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15)
│ at async loadMDX (/home/runner/work/fast-check/fast-check/node_modules/.pnpm/@Docusaurus+mdx-loader@3.10.0
@swc+core@1.15.21_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20)

@claude

claude Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Claude finished @dubzzz's task in 1m 32s —— View job


Fixing MDX compilation errors for Docusaurus v3.10.0

  • Investigate root cause of ! (U+0021) MDX errors
  • Check docusaurus config for MDX compatibility settings
  • Identify all affected files (52 blog posts with ``)
  • Replace `` with {/* truncate */} in all 52 blog posts
  • Push changes

Root cause: The config has v4: true which in Docusaurus v3.10.0 enables mdx1CompatDisabledByDefault (facebook/docusaurus#11896). This disables MDX1 compatibility for HTML comments, making `` invalid in MDX parsing.

Fix: Replaced `` with {/* truncate */} (MDX comment syntax) in all 52 blog posts (commit be44502).

…v3.10.0

Replace <!--truncate--> with {/* truncate */} in all 52 blog posts.
Docusaurus v3.10.0 with v4:true enables mdx1CompatDisabledByDefault,
which rejects HTML comments in MDX files.

Co-authored-by: Nicolas DUBIEN <dubzzz@users.noreply.github.com>
dubzzz
dubzzz previously approved these changes Apr 9, 2026
  Applied by GitHub Action workflow: PR Format
  Run ID: 24172826184
  Target PR: 6823
@dubzzz

dubzzz commented Apr 13, 2026

Copy link
Copy Markdown
Owner

@claude merge main branch, fix issues linked to failure to build doc (see ci jobs)

@claude

claude Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Claude finished @dubzzz's task in 10m 17s —— View job


Merging main and fixing doc build failures

  • Check current CI status and identify failures
    • Build failed with "Objects are not valid as a React child (found: [object RegExp])" across all blog pages
  • Merge main branch into PR branch (19 commits behind)
  • Fix the RegExp rendering issue
    • Root cause: Prettier's Markdown parser reformatted {/* truncate */}{/_ truncate _/}, treating * as emphasis and normalizing to _. MDX then evaluates {/_ truncate _/} as a RegExp literal /_ truncate _/ instead of a JSX comment, causing all 113 blog-related paths to fail during SSG.
    • Fixed all 52 blog posts: restored {/* truncate */} syntax
    • Added .prettierrc override to use MDX parser for website/**/*.md files, preventing prettier from mangling JSX comments again
  • Push changes

Commits pushed:

  1. Merge commit bringing in 19 commits from main
  2. fix(website): use MDX parser for prettier to preserve JSX comments
    |

github-actions Bot and others added 2 commits April 13, 2026 21:49
Prettier's Markdown parser converts `{/* truncate */}` to `{/_ truncate _/}`
(treating `*` as emphasis and normalizing to `_`), which MDX evaluates as a
RegExp literal instead of a JSX comment, breaking all blog pages.

Fix: add a prettier override to use the MDX parser for website markdown files,
and restore the correct `{/* truncate */}` syntax in all 52 blog posts.

Co-authored-by: Nicolas DUBIEN <dubzzz@users.noreply.github.com>
@dubzzz
dubzzz merged commit 6cb7e94 into main Apr 14, 2026
47 checks passed
@dubzzz
dubzzz deleted the renovate/docusaurus-monorepo branch April 14, 2026 21:02
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 force-build-status-execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant