Skip to content

Update Monaco Editor and related packages - autoclosed

This MR contains the following updates:

Package Type Update Change
monaco-editor dependencies minor ^0.25.2 -> ^0.33.0
monaco-editor-webpack-plugin dependencies minor ^4.0.0 -> ^4.2.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

microsoft/monaco-editor

v0.33.0

  • The first parameter of all monaco.languages.register*Provider functions has changed to take a DocumentSelector instead of a single languageId
  • The Environment.getWorker function can now return a Promise
Breaking Changes
  • InlayHintKind.Other is removed.
Thank you

Contributions to monaco-editor:

v0.32.1

v0.32.0

Breaking Changes
  • The binary format for IEncodedLineTokens has changed to support strikethrough text.
  • IDiffEditor.getDomNode() has been renamed to IDiffEditor.getContainerDomNode().
  • InlayHint.text has been replaced by InlayHint.label and InlayHintsProvider.provideInlayHints now returns an InlayHintList.
Thank you

Contributions to monaco-editor:

v0.31.1

v0.31.0

Compare Source

Breaking Changes
  • the generated code is now bundled with ESBuild and the generated code makes use of newer browser features, e.g. optional chaining. These features should be available in all browsers, but they might not be parsed correctly by older JS parsers, specifically parcel v1 might have problems parsing the JS.
Thank you

v0.30.1

Compare Source

v0.30.0

Compare Source

  • adds support for rendering horizontal guides between bracket pairs and improves the vertical rendering to account for content in between brackets.
  • adds new hover.above option to control the hover position.
  • adds ICodeEditor.onDidChangeHiddenAreas which is fired when folding/unfolding.
  • to address CVE-2021-42574, the editor now renders Unicode directional formatting characters by default. The special rendering can be turned off using renderControlCharacters. See https://code.visualstudio.com/updates/v1_62#_unicode-directional-formatting-characters for an explanation.
Breaking Changes
  • renamed enum members of monaco.KeyCode to align with the names given for browser codes.
  • renamed ITextModel.getModeId() to ITextModel.getLanguageId()
  • renamed IPasteEvent.mode to IPasteEvent.languageId
Thank you

Contributions to monaco-editor-webpack-plugin:

Contributions to monaco-languages:

v0.29.1

Compare Source

Thank you

Contributions to monaco-languages:

v0.29.0

  • adds an ariaContainerElement option for editors
  • adds guides.bracketPairs to enable guides driven by bracket pairs
  • adds maxFileSize to control the maximum file size for which to compute diffs
  • adds CodeActionProvider.resolveCodeAction
Breaking Change
  • consolidated the options renderIndentGuides, highlightActiveIndentGuide to guides
Thank you

Contributions to monaco-editor:

Contributions to monaco-editor-samples:

Contributions to monaco-editor-webpack-plugin:

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.28.0

Compare Source

monaco.languages.typescript.typescriptDefaults.setInlayHintsOptions({
	includeInlayParameterNameHints: 'all',
	includeInlayParameterNameHintsWhenArgumentMatchesName: true,
	includeInlayFunctionParameterTypeHints: true,
	includeInlayVariableTypeHints: true,
	includeInlayPropertyDeclarationTypeHints: true,
	includeInlayFunctionLikeReturnTypeHints: true,
	includeInlayEnumMemberValueHints: true
});
  • adds support for bracket pair highlighting, which can be enabled by configuring bracketPairColorization.enabled when creating a new editor:
var editor = monaco.editor.create(document.getElementById('container'), {
	model: model,
	language: 'javascript',
	'bracketPairColorization.enabled': true
});
  • registerCodeActionProvider now accepts metadata to specify provided code action kinds (e.g. quickfix, refactor or source).
Thank you

Contributions to monaco-editor:

Contributions to monaco-html:

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.27.0

Compare Source

  • added property inlineClassName to style injected text
  • added option foldingImportsByDefault
  • added more JSON diagnostic options.
Breaking Change
  • changed seedSearchStringFromSelection from boolean to 'never' | 'always' 'selection'
  • changed suggestion preview mode subwordDiff to subwordSmart, introduced subword
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

v0.26.1

Compare Source

v0.26.0

Compare Source

  • added support for injected text. Use IModelDecorationOptions.before/after.
  • added support for inlay hints provider.
Breaking Changes
  • CompletionItemLabel now has the property label, detail and description (instead of name, parameters, qualifier and type).
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

Contributions to monaco-typescript:


Configuration

📅 Schedule: 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports

Loading