cli icon indicating copy to clipboard operation
cli copied to clipboard

chore(deps): update dependency monaco-editor to v0.34.0

Open renovate[bot] opened this issue 5 years ago • 0 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
monaco-editor 0.18.1 -> 0.34.0 age adoption passing confidence

Release Notes

microsoft/monaco-editor

v0.34.0

  • Introduction of IEditor.createDecorationsCollection API
  • New function removeAllMarkers to remove all markers
  • Support for light high contrast theme
  • Introduction of BracketPairColorizationOptions.independentColorPoolPerBracketType
  • Introduction of PositionAffinity.LeftOfInjectedText and PositionAffinity.RightOfInjectedText
  • Introduction of IEditorOptions.showFoldingControls: 'never'
  • Introduction of IDiffEditorBaseOptions.renderMarginRevertIcon: boolean
  • Inline Quick Suggestions
  • Introduction of IContentWidgetPosition.positionAffinity
  • Provider can now be registered for a LanguageSelector
Breaking Changes
  • IEditorInlayHintsOptions tweaks
  • Iteration on InlineCompletion API
  • WorkspaceFileEdit -> IWorkspaceFileEdit
    • oldUri -> oldResource
    • newUri -> newResource
  • WorkspaceTextEdit -> IWorkspaceTextEdit
    • edit -> textEdit (now supports insertAsSnippet)
    • modelVersionId?: number -> versionId: number | undefined
  • InlayHint API tweaks
  • Soft deprecation of ICodeEditor.deltaDecorations, no adoption required. IEditor.createDecorationsCollection API should be used instead.

Contributions to 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:

v0.25.2

Compare Source

v0.25.1

Compare Source

v0.25.0

Compare Source

  • added a new feature inlineSuggest that features a provider api and new settings.
  • added suggest.preview to toggle previewing the selected suggest item.
  • added suggest.showDeprecated
  • CSS/HTML: added support for custom data format
  • HTML: added registerHTMLLanguageService
Breaking changes
  • renamed inlineHints to inlayHints.
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.24.0

Compare Source

  • added a setting domReadOnly which controls if the <textarea> used for editor input should have the DOM readonly attribute
  • added a setting useShadowDOM which can be set to false to prevent the editor from using shadow DOM in its implementation (e.g. for the contextmenus).
  • added a settings autoClosingDelete that controls how backspace works inside auto-closing pairs.
  • added DiagnosticsOptions.onlyVisible for TypeScript which limits the computation of diagnostics to only visible text models.
  • fixed issue where the editor would not load in Safari 13.
Breaking changes
  • EditorAutoClosingOvertypeStrategy has been renamed to EditorAutoClosingEditStrategy
Thank you

Contributions to monaco-editor:

Contributions to monaco-editor-webpack-plugin:

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.23.0

Compare Source

  • improves input on Android (using Gboard)
  • automatically switches to high contrast when the OS is using high contrast (doesn't work in Firefox). Can be turned off via autoDetectHighContrast.
  • the editor no longer supports classical Edge, which has reached End of Support on March 9th, 2021. See https://docs.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge#what-is-the-lifecycle-policy-for-microsoft-edge
Thank you

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.22.3

Compare Source

Fixes a regression where symbol icons used in suggestions or quick outline were missing colors (see https://github.com/microsoft/monaco-editor/issues/2329).

v0.22.2

Compare Source

Fixes a regression where under certain webpack configurations process.nextTick could be used without explicitly checking for it being defined (see https://github.com/microsoft/monaco-editor/issues/2328).

v0.22.1

Compare Source

Fixes a regression where format commands would no longer work (see https://github.com/microsoft/monaco-editor/issues/2327).

v0.22.0

Compare Source

New & Noteworthy
  • new grammars for Modula-3 and ECL (Enterprise Control Language).
  • added monaco.editor.onDidChangeMarkers to listen for marker changes.
  • added monaco.editor.registerCommand to register global commands.
  • added monaco.languages.setColorMap to allow defining the color map used for tokenization.
  • added IMonarchLanguage.includeLF to allow matching against the \n at the end of each line.
  • new editor option stickyTabStops to make interacting with spaces in indentation behave more like interacting with tabs.
Breaking changes
  • The ESM version of the editor will no longer define a global monaco object. You can define global.MonacoEnvironment = { globalAPI: true } if you want for the editor to define this global object.
  • Renamed OnTypeRenameProvider to LinkedEditingRangeProvider and related methods like the editor option renameOnType (now linkedEditing), registerOnTypeRenameProvider (now registerLinkedEditingRangeProvider), etc.
  • Renamed OnEnterRule.oneLineAboveText to OnEnterRule.previousLineText
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

Contributions to monaco-typescript:

Contributions to monaco-css:

v0.21.3

Compare Source

Fixes a regression in suggestions where the browser clipboard API would be accessed by incomplete suggestion lists (see https://github.com/microsoft/vscode/commit/96d61842bae1e5dd11f9ff6139fad9e3e5141401).

v0.21.2

Compare Source

Fixes a regression in monaco-css.

Breaking changes
  • monaco.uri methods file, from, isUri, joinPath, parse, revive are now static. Changing new monaco.uri.method to monaco.uri.method resolves 'TypeError: monaco.Uri.file is not a constructor at...' errors.

v0.21.1

Compare Source

Fixes a few regressions.

Thank you

Contributions to monaco-html:

Contributions to monaco-languages:

Contributions to monaco-typescript:

v0.21.0

Compare Source

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:

v0.20.0

Compare Source

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:

v0.19.3

Compare Source

  • brings back a way to get resolved editor options - #​1734
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

v0.19.2

Compare Source

v0.19.1

Compare Source

  • fixes issue with .d.ts file in the ESM distribution - #​1729
  • adds types for global editor options (such as wordBasedSuggestions) - #​1746
  • adds support for reStructuredText.
Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

v0.19.0

Compare Source

New & Noteworthy
  • It is now possible to pass in a dimension in the editor construction options in order to avoid a synchronous layout.
  • There is new API to provide semantic tokens.
  • New options:
    • multiCursorPaste: define how to distribute paste in case of multi-cursor
    • matchBrackets: control if enclosing brackets should be highlighted
  • Fixes for tokenization in: TypeScript, JavaScript, Handlebars, Kotlin and VB.
Breaking changes
  • getConfiguration() is replaced by getRawOptions(), which returns the passed in editor options.
  • Starting with this version, 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-editor-webpack-plugin:

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 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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Dec 20 '19 20:12 renovate[bot]