Skip to content

Fix website build: update Docusaurus to 3.10.2, add @docusaurus/faster - #570

Merged
luksow merged 1 commit into
masterfrom
fix/website-docusaurus-3.10.2
Jul 15, 2026
Merged

luksow merged 1 commit into
masterfrom
fix/website-docusaurus-3.10.2

Conversation

@luksow

@luksow luksow commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The Website workflow on master started failing today with:

ValidationError: Invalid options object. Progress Plugin has been initialized using an options object that does not match the API schema.

Cause: the website build has no committed yarn.lock (it's gitignored), so yarn install resolves transitive deps fresh on every run. A new webpack release (5.108.4) is incompatible with the pinned Docusaurus 3.8.0. Unrelated to the recent sbt-mdoc bump — the mdoc step compiles fine.

Fix:

  • Docusaurus 3.8.0 → 3.10.2
  • Add @docusaurus/faster (required by future: { v4: true } in 3.10, switches bundling to rspack — which also takes webpack drift out of the equation)
  • Migrate onBrokenMarkdownLinks → markdown.hooks.onBrokenMarkdownLinks (v4 deprecation)
  • Regenerate package-lock.json

Verified locally: yarn install && yarn build succeeds with zero warnings.

🤖 Generated with Claude Code

The Website workflow started failing because an unpinned transitive
webpack update (5.108.4) is incompatible with Docusaurus 3.8.0
(ProgressPlugin options schema validation error). Docusaurus 3.10.2
with future.v4 uses the rspack bundler via @docusaurus/faster, which
both fixes the build and removes the webpack dependency drift.

Also migrates onBrokenMarkdownLinks to markdown.hooks per the v4
deprecation warning.

Co-Authored-By: Claude Fable 5 <[email protected]>
@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@luksow
luksow merged commit 644e7e6 into master Jul 15, 2026
15 of 17 checks passed
@luksow
luksow deleted the fix/website-docusaurus-3.10.2 branch July 15, 2026 10:34
luksow added a commit that referenced this pull request Jul 15, 2026
Follow-up to #570 — the workflow still pinned Node 18, which
Docusaurus 3.10.2's engines check rejects.

Co-Authored-By: Claude Fable 5 <[email protected]>
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.

1 participant