feat(core): Docusaurus Faster is stable + v4 future flag turns it on by default#11802
Merged
feat(core): Docusaurus Faster is stable + v4 future flag turns it on by default#11802
Conversation
… add `future.v4.fasterByDefault` flag Stabilize the Docusaurus Faster config by removing the `experimental_` prefix. Add a `fasterByDefault` v4 future flag that enables all faster features by default when `v4: true` is used, allowing granular overrides. Init templates now include `@docusaurus/faster` as a dependency since they use `v4: true`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: +1.02 kB (+0.01%) Total Size: 11.9 MB
ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
|
Size Change: +1.03 kB (+0.01%) Total Size: 12.3 MB
ℹ️ View Unchanged
|
…usaurus/faster Yarn PnP strict mode doesn't resolve optional dependencies automatically. Add a packageExtension so @docusaurus/bundler can resolve @docusaurus/faster in the e2e Yarn Berry tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… CI packageExtension Revert the packageExtensions workaround in the e2e CI workflow and instead declare @docusaurus/faster as an optional peer dependency of @docusaurus/core, matching the existing pattern in @docusaurus/bundler. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ions when trying to run this locally
…o Webpack This should fix the e2e pnp workflows
7 tasks
future.experimental_faster to stable + add fasterByDefault v4 flag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docusaurus Faster is now stable and will become the new default of Docusaurus v4
It is enabled by default for:
future.v4: trueorfuture.v4.fasterByDefault: true)This PR doesn't really implement anything new for Docusaurus Faster; it just flags it as stable and adds the
fasterByDefaultfuture flag.If you were using
experimental_faster, you can just rename this tofaster.Change
future.experimental_faster→future.faster(removeexperimental_prefix, keep underfuturenamespace)future.v4.fasterByDefaultflag that enables all Docusaurus Faster features by default whenv4: trueis used@docusaurus/fasterdependency to init templates (which usev4: true)experimental_fasterwith migration error messagefaster: {rspackBundler: false}withfasterByDefault: truekeeps rspackBundler off while enabling everything elseTest plan
fasterByDefaulttests and migration error test)🤖 Generated with Claude Code