Skip to content

Update dependency monaco-editor to v0.57.0 - #1208

Merged
nedtwigg merged 2 commits into
mainfrom
renovate/monaco-editor-0.x
Oct 20, 2026
Merged

nedtwigg merged 2 commits into
mainfrom
renovate/monaco-editor-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
monaco-editor 0.55.1 → 0.57.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

microsoft/monaco-editor (monaco-editor)

v0.57.0

Compare Source

New Features and APIs
  • Adds editor.wordWrapIndicator to display an indicator at the wrapping column of soft-wrapped lines.
  • Adds editor.fullwidthCharacterWidth, with font and twoCells modes for rendering full-width characters.
  • Adds languages.score to score a language selector against a URI and language.
  • Exports the editor.DiffEditorViewMode type.
  • Adds isForAnotherDocument to the inline completion languages.LifetimeSummary type.
Updates
  • Updates the editor core to VS Code commit 6a598d4a13031703d483d103c1d934a36ad27971, validated in 0.57.0-rc.2.
  • Updates bundled DOMPurify from 3.4.8 to 3.4.15.

v0.56.0

Compare Source

Breaking Changes
  • Reorganizes the exported ESM modules to provide supported, tree-shakeable entry points (#​5155). The monaco-editor entry point continues to load all features and languages. Custom bundles can now import monaco-editor/editor and opt into:
    • all editor features with monaco-editor/features/register.all, or individual features with monaco-editor/features/<feature>/register;
    • all language definitions with monaco-editor/languages/definitions/register.all, or individual definitions with monaco-editor/languages/definitions/<language>/register;
    • the CSS, HTML, JSON, and TypeScript language features with monaco-editor/languages/features/register.all, or their individual register entry points.
  • Renames the misspelled IOverlayWidgetPosition.stackOridinal property to stackOrdinal.
  • Removes the deprecated IMirrorModel and IWorkerContext worker API types.
New Features and APIs
  • Adds editor.doubleClickSelectsBlock.
  • Adds editor.find.closeOnResult and editor.inlayHints.showLongLineWarning.
  • Adds offWhenInlineCompletions to QuickSuggestionsValue.
  • Adds model and provider option support to inline completion providers.
  • Adds ICodeEditor.revealAllCursors, ICodeEditor.getWidthOfLine, and ICodeEditor.renderAsync.
  • Adds advanced-external and advanced-wasm diff algorithms.
  • Exposes typed native LSP client and transport APIs.
Fixes
  • Treats Markdown returned by language servers as untrusted (#​5280).
  • Updates the editor core to the version used by 0.56.0-dev-20260625.

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • Only on Monday (* * * * 1)
  • 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44f2d0e
Status: ✅  Deploy successful!
Preview URL: https://30a668fa.mouseterm.pages.dev
Branch Preview URL: https://renovate-monaco-editor-0-x.mouseterm.pages.dev

View logs

@dormouse-bot dormouse-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bump breaks the dor-tools-builtin build, which is the Build & Test failure. monaco-editor 0.56 reorganized its ESM entry points. Its new exports map ("./*.js": "./esm/vs/*.js") makes every monaco-editor/esm/vs/... specifier in dor-tools-builtin/viewer/editor.ts unresolvable, and the package no longer ships editor/editor.all.js or basic-languages/*/*.contribution.js at all. Locally tsc -p tsconfig.viewer.json fails with TS2307/TS2882 on all 18 imports. The fix moves them to the supported entry points: monaco-editor/editor, monaco-editor/features/register.all, and monaco-editor/languages/definitions/<lang>/register. The worker entry esm/vs/editor/editor.worker.js is still in place, so build-viewer.mjs stays as it is.

The bump also leaves website/src/data/dependencies-npm.json listing monaco-editor 0.55.1 and DOMPurify 3.2.7. Re-running node website/scripts/generate-deps.js changes it, and that trips S253 in docs/specs/security-supply-chain.md.

Renovate won't act on either finding, so I'm pushing both fixes to this branch.

monaco-editor 0.56 reorganized its ESM modules behind an exports map,
so the deep esm/vs/... imports no longer resolve. Import the editor API
from monaco-editor/editor, the features from features/register.all, and
each language from languages/definitions/<lang>/register. Regenerate the
npm dependency disclosure for the new monaco-editor and DOMPurify.
@renovate

renovate Bot commented Oct 20, 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.

@nedtwigg
nedtwigg merged commit 53d79a2 into main Oct 20, 2026
8 checks passed
@nedtwigg
nedtwigg deleted the renovate/monaco-editor-0.x branch October 20, 2026 03:26
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