microsoft / microsoft/monaco-editor

[Bug] v0.51.0 breaks for browser based imports

Open
#4,654 13 comments 17 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

blocked bug editor-core
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Reproducible in vscode.dev or in VS Code Desktop?
  • Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

Reproduction Steps

upgrade from v0.50.0 to v0.51.0

Actual (Problematic) Behavior

v0.50.0 was including the script: editor/editor.main.nls.js.

this silently got removed in v0.51.0 without getting mentioned inside the release log:
https://github.com/microsoft/monaco-editor/commit/e52ff427290808dff6809b3f77866ae7a62a119b

after removing the script as well inside the Neo.mjs env, i encountered several errors and warnings:
Screenshot 2024-08-26 at 20 41 32

Expected Behavior

there should be no undocumented breaking changes in minor versions.

Additional Context

cross-reference ticket:
https://github.com/neomjs/neo/issues/5822

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.