Skip to content

fix(deps): update dependency monaco-editor to ^0.56.0 - #7

Merged
milmazz merged 2 commits into
mainfrom
renovate/monaco-editor-0.x
Sep 16, 2026
Merged

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

Conversation

@renovate

@renovate renovate Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
monaco-editor ^0.55.1 → ^0.56.0 age confidence

Release Notes

microsoft/monaco-editor (monaco-editor)

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: (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 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.

@renovate
renovate Bot force-pushed the renovate/monaco-editor-0.x branch from 5ad32e0 to a753637 Compare September 16, 2026 02:27
monaco-editor 0.56.0 adds a package.json "exports" map that rewrites
`monaco-editor/<path>` to `esm/vs/<path>`, so the previous deep
`monaco-editor/esm/vs/...` imports no longer resolve, and the basic
SQL grammar moved from `basic-languages/sql/sql.contribution` to
`languages/definitions/sql/register`.

Update the three import paths accordingly. The new SQL register entry
ships its own .d.ts, so the ambient module declaration in monaco.d.ts
is no longer needed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@milmazz

milmazz commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

monaco-editor 0.56.0 has been on npm since 2026-07-20, so it clears the 7-day soak window, but the PR as opened by Renovate failed the Web job:

Error: Failed to resolve import "monaco-editor/esm/vs/editor/editor.api.js" from "src/monacoThemes.ts"

Cause. 0.56.0 adds a package.json exports map ("./*.js": "./esm/vs/*.js"), so monaco-editor/<path> now resolves to esm/vs/<path> and the previous deep monaco-editor/esm/vs/... imports double the prefix. The basic SQL grammar also moved from basic-languages/sql/sql.contribution to languages/definitions/sql/register (see the 0.56.0 changelog, microsoft/monaco-editor#5155).

Fix (7a97b2a). Import-path changes only:

  • monaco-editor/esm/vs/editor/editor.api.js → monaco-editor/editor/editor.api.js (source, and the vi.mock path in monacoThemes.test.ts)
  • monaco-editor/esm/vs/basic-languages/sql/sql.contribution.js → monaco-editor/languages/definitions/sql/register.js
  • monaco-editor/esm/vs/editor/editor.worker?worker → monaco-editor/editor/editor.worker.js?worker
  • Deleted web/src/monaco.d.ts: the new SQL register entry ships its own .d.ts.

The bundle still imports only the core editor API + SQL grammar + base worker (no editor.main), so the 8 MiB embedded-asset budget and the no-CDN test still hold.

Verification. Locally: npm run lint, npm test -- --run (28 files / 267 tests), npm run build, and CGO_ENABLED=1 go test ./... all pass. CI: Web and Go jobs green on the pushed commit. Not verified in a browser, so SQL highlighting deserves a quick glance after merge.

@renovate

renovate Bot commented Sep 16, 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.

@milmazz
milmazz merged commit de7de53 into main Sep 16, 2026
4 checks passed
@milmazz
milmazz deleted the renovate/monaco-editor-0.x branch September 16, 2026 02:48
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