Monaco Editor v0.21.0 Release Notes

  • ๐Ÿ†• New & Noteworthy

    • โž• Added Paste in the context menu in browsers which support the clipboard API.
    • ๐Ÿ—„ Many improvements in monaco-typescript: support for "deprecated" tags, API to participate in the web worker, improved lib.d.ts resolving.
    • ๐Ÿ†• New tokenization support for: Julia, Scala, Lexon, Terraform HCL, Dart, Systemverilog.
    • ๐Ÿ†• New semantic tokens provider sample on the playground.
    • ๐Ÿ†• New shadow dom sample
    • ๐Ÿ†• New overflowWidgetsDomNode constructor option to pass in a parent for overflowing widgets.
    • ๐Ÿ†• New minimap.size option: proportional, fill, fit.
    • ๐Ÿ†• New OnTypeRename provider and option renameOnType.
    • ๐Ÿ›  Fixed issue where cross-origin web workers were not working on Safari.
    • ๐Ÿ›  Fixed many issues around embedding the editor in iframes or in shadow dom.
    • ๐Ÿ›  Fixed issue with automaticLayout.
    • ๐Ÿ›  Fixed issue with scrolling speed on Firefox.
    • ๐Ÿ†• New options: tabIndex, scrollPredominantAxis, columnSelection, padding, unfoldOnClickAfterEndOfLine, renderLineHighlightOnlyWhenFocus, definitionLinkOpensInPeek, showDeprecated, comments.ignoreEmptyLines, find.cursorMoveOnType, find.loop.
    • ๐Ÿ†• New diff editor options: originalCodeLens, modifiedCodeLens.
    • ๐Ÿ”„ Changed options: rulers can now define different colors, renderWhitespace can now be trailing.

    ๐Ÿ’ฅ Breaking changes

    • CompletionItemLabel.signature has been renamed to CompletionItemLabel.parameters.
    • The signature of CompletionItemProvider.resolveCompletionItem has changed.
    • IMarker.code.link was renamed to IMarker.code.target.
    • IMarkerData.code.link was renamed to IMarkerData.code.target.
    • EditorLayoutInfo has been restructured.

    Thank you

    Contributions to monaco-editor:

    Contributions to monaco-typescript:

    Contributions to monaco-json:

    Contributions to monaco-languages: