Repository navigation
break(core): namespace site storage by default, remove future.v4.siteStorageNamespacing flag (AI-assisted) - #12619
Merged
Merged
Conversation
…StorageNamespacing flag (AI-assisted) - `storage.namespace` now defaults to `true`: browser storage keys are automatically namespaced from the site `url + baseUrl` - Remove the `future.v4.siteStorageNamespacing` flag - Set `storage.namespace: false` to keep the historical un-namespaced storage keys Co-Authored-By: Claude Opus 5.5 <[email protected]>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: -1.05 kB (-0.01%) Total Size: 12.4 MB 📦 View Changed
ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
|
Size Change: -1.04 kB (-0.01%) Total Size: 12.4 MB 📦 View Changed
ℹ️ View Unchanged
|
…byshev-54dfdd # Conflicts: # packages/docusaurus/src/server/__tests__/__snapshots__/config.test.ts.snap # packages/docusaurus/src/server/__tests__/__snapshots__/site.test.ts.snap
…byshev-54dfdd # Conflicts: # website/docs/api/docusaurus.config.js.mdx
…byshev-54dfdd # Conflicts: # packages/docusaurus-types/src/config.d.ts # packages/docusaurus/src/server/__tests__/__snapshots__/config.test.ts.snap # packages/docusaurus/src/server/__tests__/__snapshots__/site.test.ts.snap # packages/docusaurus/src/server/__tests__/configValidation.test.ts # packages/docusaurus/src/server/configValidation.ts # website/docs/api/docusaurus.config.js.mdx
This was referenced Oct 9, 2026
slorber
added a commit
that referenced
this pull request
Oct 16, 2026
…bility (AI-assisted) (#12706) * refactor(theme-common): remove announcement bar id typo retro-compatibility (AI-assisted) Site storage keys are namespaced by default since #12619, so the un-namespaced 'annoucement-bar' id stored in 2020 is never read anymore. Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor: apply lint autofix --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: slorber <[email protected]>
This was referenced Nov 12, 2026
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.
Breaking Changes
Browser storage keys are now namespaced by default:
storage.namespacedefaults totrue, and thefuture.v4.siteStorageNamespacingflag is removed.url + baseUrl, for examplethemebecomestheme-189.baseUrl, so each locale gets its own namespace too.Migration
Remove
siteStorageNamespacingfrom yourfuture.v4config. Setting it now fails config validation.To keep the historical un-namespaced keys:
Pre-flight checklist
Motivation
Turning on a Docusaurus v4 future flag by default. Namespacing avoids storage key conflicts when multiple Docusaurus sites are hosted under the same domain, or on localhost.
Test Plan
storage.namespacedefaults totrue, explicitfalseand string values still worksiteStorage.namespacegoes from""to the automatic hashpnpm test(core package), ESLint, website typecheckTest links
Deploy preview: https://deploy-preview-12619--docusaurus-2.netlify.app/
Related issues/PRs
siteConfig.storageto stable + addfuture.v4.siteStorageNamespacingflag [Claude] #11797(AI-assisted)
🤖 Generated with Claude Code