Monaco Editor v0.20.0 Release Notes

Release Date: 2020-02-10 // 4 months ago
  • 🆕 New & Noteworthy

    • The editor can now be hosted inside a Shadow Root.
    • There is new API to read the editor's content width and height.
    • 🆕 New editor options:
      • renderValidationDecorations - render validation decorations even in read only editors
      • wrappingStrategy - delegate wrapping points computation to the browser
      • comments.insertSpace - insert a space around comments when running commenting commands
      • foldingHighlight - highlight folded regions
      • peekWidgetDefaultFocus - focus the inline editor or the tree when opening peek view

    💥 Breaking changes

    • 📇 Renamed onCompositionStart, onCompositionEnd to onDidCompositionStart, onDidCompositionEnd
    • 🔄 Changed the argument passed in to onDidPaste
    • WorkspaceEdit.edits has now changed its shape such that edits must no longer be grouped by resource.
    • ✅ The Monaco Editor no longer supports IE 11. The last version that was tested in IE 11 is 0.18.1.

    Thank you

    Contributions to monaco-editor:

    Contributions to monaco-typescript:

    Contributions to monaco-languages:

Previous changes from v0.19.3