diff --git a/CHANGELOG.md b/CHANGELOG.md index 598bdfe8..3d45ae4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Monaco Editor Changelog -## [0.21.0] (19.09.2020) +## [0.21.0] (24.09.2020) + +Fixes [a few regressions](https://github.com/microsoft/monaco-editor/issues?q=is%3Aissue+milestone%3A%22August+2020+%282%29%22+is%3Aclosed). + +### Thank you + +Contributions to `monaco-html`: + +* [Pankaj Khandelwal (@pankajk07)](https://github.com/pankajk07): Fixes microsoft/monaco-editor#2101 [PR #12](https://github.com/microsoft/monaco-html/pull/12) + +Contributions to `monaco-languages`: + +* [Marc Bernard (@mbtools)](https://github.com/mbtools): Overhaul of ABAP language based on release 7.54 [PR #112](https://github.com/microsoft/monaco-languages/pull/112) + +Contributions to `monaco-typescript`: + +* [PG Herveou (@pgherveou)](https://github.com/pgherveou): Add missing setWorkerOptions [PR #71](https://github.com/microsoft/monaco-typescript/pull/71) + +## [0.21.0] (21.09.2020) ### New & Noteworthy * Added `Paste` in the context menu in browsers which support the clipboard API. diff --git a/monaco.d.ts b/monaco.d.ts index 822da828..e97355b5 100644 --- a/monaco.d.ts +++ b/monaco.d.ts @@ -5418,31 +5418,6 @@ declare namespace monaco.languages { provideHover(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult; } - /** - * An evaluatable expression represents additional information for an expression in a document. Evaluatable expression are - * evaluated by a debugger or runtime and their result is rendered in a tooltip-like widget. - */ - export interface EvaluatableExpression { - /** - * The range to which this expression applies. - */ - range: IRange; - expression?: string; - } - - /** - * The hover provider interface defines the contract between extensions and - * the [hover](https://code.visualstudio.com/docs/editor/intellisense)-feature. - */ - export interface EvaluatableExpressionProvider { - /** - * Provide a hover for the given position and document. Multiple hovers at the same - * position will be merged by the editor. A hover can have a range which defaults - * to the word range at the position when omitted. - */ - provideEvaluatableExpression(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult; - } - export enum CompletionItemKind { Method = 0, Function = 1, @@ -6731,6 +6706,10 @@ declare namespace monaco.languages.typescript { * be performed */ setDiagnosticsOptions(options: DiagnosticsOptions): void; + /** + * Configure webworker options + */ + setWorkerOptions(options: WorkerOptions): void; /** * No-op. */ diff --git a/package-lock.json b/package-lock.json index e520cca4..afbe8f3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4363,33 +4363,33 @@ "dev": true }, "monaco-editor-core": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.21.1.tgz", - "integrity": "sha512-Wh5ow3Cg9SiQFPql534mT5Ec9u4HGjCvJ+yWxUs9nKv3MENF5vC/8L0KWGUXK1t7F2mGUlgkI+nseDvOE8HEmw==", + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.21.2.tgz", + "integrity": "sha512-uYk9x50dkFsoAHmzYytS29ohDlb2JZsGowK5icwra8FYwdOy77uAq2bDCMYo6NZ4T/aKRKOnnO5S3ifaJwqaBw==", "dev": true }, "monaco-html": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/monaco-html/-/monaco-html-3.1.0.tgz", - "integrity": "sha512-qbdKAnkPdKOMXIlhDiNLYozfcnoP2EPn4YqhxCsDm62RSOaqWeSvD6c7IuQ6/L43uIZenN8+354auVoBVQ6LfA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/monaco-html/-/monaco-html-3.1.1.tgz", + "integrity": "sha512-WvoYwZDHrjVU5EPWAcXteOLb0l+IA+f5oc2TuP73PIWdDuqCh/y1dO2t8f+21Ig5f4FHVyY4qEbkWAXWv/zaHg==", "dev": true }, "monaco-json": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/monaco-json/-/monaco-json-3.2.0.tgz", - "integrity": "sha512-WFRzkPDphoNX5RymkaiKFgaiaNe42KBgnEFzXJpSgMsWVijGTQ5/V44wgLQ6Z+RX3OKhSmN5V3MWk4CSKQ5vFQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/monaco-json/-/monaco-json-3.2.1.tgz", + "integrity": "sha512-BPimgrQSWnJhLWq3xRTGSEJczvn6rdWcD9ZsPSrdQDrFNLSndMmf/3SW4pCbNXAfT9f2VOM8f5tw5oT4/ZRrDQ==", "dev": true }, "monaco-languages": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-2.1.0.tgz", - "integrity": "sha512-c2afUp3lbUCrvEdVrH8EThQYbj5tb2FpvXFnFN3gOJScDlFknWb5nbaxiaVqY9CSIqzJVZpNc5HXpP5FWOuS3g==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-2.1.1.tgz", + "integrity": "sha512-VuiqdK1NAIVnXVDUWMQUwqmYsIaWVoi9N735QnwP0O5WZaihA9Spt3JTC1Tk8lBqk5ei/DB2394BWfONeZ+5BA==", "dev": true }, "monaco-typescript": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/monaco-typescript/-/monaco-typescript-4.1.0.tgz", - "integrity": "sha512-fwEKFkQJwlDeYQw5R9CFAYbz9hUakUdfQzkl9h4ReKETV/GD6gVdGZp3jo2C5fghSIx6FJDi1vgkAbxaTcfKfg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/monaco-typescript/-/monaco-typescript-4.1.1.tgz", + "integrity": "sha512-Oml9cBoNixOkYbi6zeOz1I834ITySFXvnbG2s4kU+03Z+RlakBZPekbDwDgnTBgEhJah45gR7tSs83LldHLHAA==", "dev": true }, "move-concurrently": { diff --git a/package.json b/package.json index 707f8176..c08e99c8 100644 --- a/package.json +++ b/package.json @@ -33,11 +33,11 @@ "gulp-typedoc": "^2.2.5", "mocha": "^8.1.3", "monaco-css": "3.1.0", - "monaco-editor-core": "0.21.1", - "monaco-html": "3.1.0", - "monaco-json": "3.2.0", - "monaco-languages": "2.1.0", - "monaco-typescript": "4.1.0", + "monaco-editor-core": "0.21.2", + "monaco-html": "3.1.1", + "monaco-json": "3.2.1", + "monaco-languages": "2.1.1", + "monaco-typescript": "4.1.1", "playwright": "1.3.0", "rimraf": "^3.0.2", "style-loader": "^1.2.1", diff --git a/website/playground/monaco.d.ts.txt b/website/playground/monaco.d.ts.txt index 822da828..e97355b5 100644 --- a/website/playground/monaco.d.ts.txt +++ b/website/playground/monaco.d.ts.txt @@ -5418,31 +5418,6 @@ declare namespace monaco.languages { provideHover(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult; } - /** - * An evaluatable expression represents additional information for an expression in a document. Evaluatable expression are - * evaluated by a debugger or runtime and their result is rendered in a tooltip-like widget. - */ - export interface EvaluatableExpression { - /** - * The range to which this expression applies. - */ - range: IRange; - expression?: string; - } - - /** - * The hover provider interface defines the contract between extensions and - * the [hover](https://code.visualstudio.com/docs/editor/intellisense)-feature. - */ - export interface EvaluatableExpressionProvider { - /** - * Provide a hover for the given position and document. Multiple hovers at the same - * position will be merged by the editor. A hover can have a range which defaults - * to the word range at the position when omitted. - */ - provideEvaluatableExpression(model: editor.ITextModel, position: Position, token: CancellationToken): ProviderResult; - } - export enum CompletionItemKind { Method = 0, Function = 1, @@ -6731,6 +6706,10 @@ declare namespace monaco.languages.typescript { * be performed */ setDiagnosticsOptions(options: DiagnosticsOptions): void; + /** + * Configure webworker options + */ + setWorkerOptions(options: WorkerOptions): void; /** * No-op. */