1 | # Monaco Editor Changelog
|
2 |
|
3 | ## [0.25.1] (15.06.2021)
|
4 |
|
5 | * fixes that [`registerHTMLLanguageService` is not available in the AMD version of the monaco-html contribution](https://github.com/microsoft/monaco-editor/issues/2525).
|
6 |
|
7 | ## [0.25.0] (11.06.2021)
|
8 | * added a new feature `inlineSuggest` that features a provider api and new settings.
|
9 | * added `suggest.preview` to toggle previewing the selected suggest item.
|
10 | * added `suggest.showDeprecated`
|
11 | * CSS/HTML: added support for [custom data format](https://code.visualstudio.com/blogs/2020/02/24/custom-data-format)
|
12 | * HTML: added `registerHTMLLanguageService`
|
13 |
|
14 | ### Breaking changes
|
15 | * renamed `inlineHints` to `inlayHints`.
|
16 |
|
17 | ### Thank you
|
18 |
|
19 | Contributions to `monaco-editor`:
|
20 |
|
21 | * [@JeanPerriault (El Jùanch0)](https://github.com/JeanPerriault): Fix error message in Safari - Semantic token play [PR #2486](https://github.com/microsoft/monaco-editor/pull/2486)
|
22 | * [@jonatanklosko (Jonatan Kłosko)](https://github.com/jonatanklosko): Add Elixir sample [PR #2491](https://github.com/microsoft/monaco-editor/pull/2491)
|
23 |
|
24 | Contributions to `monaco-languages`:
|
25 |
|
26 | * [@akonatala (apoorva konatala)](https://github.com/akonatala): Update cameligo language support [PR #137](https://github.com/microsoft/monaco-languages/pull/137)
|
27 | * [@anark](https://github.com/anark): Add aliases and mimetypes to liquid language [PR #136](https://github.com/microsoft/monaco-languages/pull/136)
|
28 | * [@mattvague (Matt Vague)](https://github.com/mattvague): Fix incorrect filenames for liquid [PR #135](https://github.com/microsoft/monaco-languages/pull/135)
|
29 | * [@spahnke (Sebastian Pahnke)](https://github.com/spahnke)
|
30 | * [JS/TS] Add support for the RegExp Match Indices flag [PR #139](https://github.com/microsoft/monaco-languages/pull/139)
|
31 | * [TS] Add override keyword [PR #140](https://github.com/microsoft/monaco-languages/pull/140)
|
32 |
|
33 | Contributions to `monaco-typescript`:
|
34 |
|
35 | * [@paranoidjk (paranoidjk)](https://github.com/paranoidjk): fix: support go to definition for extraLib file [PR #79](https://github.com/microsoft/monaco-typescript/pull/79)
|
36 |
|
37 | ## [0.24.0] (12.05.2021)
|
38 |
|
39 | * added a setting `domReadOnly` which controls if the `<textarea>` used for editor input should have the DOM `readonly` attribute
|
40 | * 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).
|
41 | * added a settings `autoClosingDelete` that controls how backspace works inside auto-closing pairs.
|
42 | * added `DiagnosticsOptions.onlyVisible` for TypeScript which limits the computation of diagnostics to only visible text models.
|
43 | * fixed issue where the editor would not load in Safari 13.
|
44 |
|
45 | ### Breaking changes
|
46 | * `EditorAutoClosingOvertypeStrategy` has been renamed to `EditorAutoClosingEditStrategy`
|
47 |
|
48 | ### Thank you
|
49 |
|
50 | Contributions to `monaco-editor`:
|
51 |
|
52 | * [@AmyQianqianwang (王倩倩)](https://github.com/AmyQianqianwang): add version compare link for version greater than V0.14.3 [PR #2433](https://github.com/microsoft/monaco-editor/pull/2433)
|
53 |
|
54 | Contributions to `monaco-editor-webpack-plugin`:
|
55 |
|
56 | * [@k15a (Konstantin Pschera)](https://github.com/k15a): Use compiler.webpack if available [PR #147](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/147)
|
57 | * [@sangmokh (Sangmok Han)](https://github.com/sangmokh): Add globalAPI option to expose the editor API through a global monaco object [PR #145](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/145)
|
58 |
|
59 | Contributions to `monaco-languages`:
|
60 |
|
61 | * [@anthony-c-martin (Anthony Martin)](https://github.com/anthony-c-martin): Add support for Bicep language [PR #132](https://github.com/microsoft/monaco-languages/pull/132)
|
62 | * [@jonatanklosko (Jonatan Kłosko)](https://github.com/jonatanklosko): Add Elixir language definition and tokenizer [PR #130](https://github.com/microsoft/monaco-languages/pull/130)
|
63 | * [@mattgodbolt (Matt Godbolt)](https://github.com/mattgodbolt): Handle whitespace within C++ preprocessor comments [PR #127](https://github.com/microsoft/monaco-languages/pull/127)
|
64 | * [@mattvague (Matt Vague)](https://github.com/mattvague): Add basic language support for Liquid [PR #128](https://github.com/microsoft/monaco-languages/pull/128)
|
65 | * [@NullVoxPopuli](https://github.com/NullVoxPopuli): Add hbs alias to handlebars [PR #134](https://github.com/microsoft/monaco-languages/pull/134)
|
66 |
|
67 | Contributions to `monaco-typescript`:
|
68 |
|
69 | * [@spahnke (Sebastian Pahnke)](https://github.com/spahnke): Deep clone diagnostic objects [PR #76](https://github.com/microsoft/monaco-typescript/pull/76)
|
70 |
|
71 |
|
72 | ## [0.23.0] (05.03.2021)
|
73 |
|
74 | * improves input on Android (using Gboard)
|
75 | * automatically switches to high contrast when the OS is using high contrast (doesn't work in Firefox). Can be turned off via `autoDetectHighContrast`.
|
76 | * 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
|
77 |
|
78 | ### Thank you
|
79 |
|
80 | Contributions to `monaco-languages`:
|
81 |
|
82 | * [@Contentmaudlin (Mert Ussakli)](https://github.com/Contentmaudlin): Property is not a keyword in C# [PR #124](https://github.com/microsoft/monaco-languages/pull/124)
|
83 | * [@mattgodbolt (Matt Godbolt)](https://github.com/mattgodbolt): Support better C++ annotation highlighting [PR #125](https://github.com/microsoft/monaco-languages/pull/125)
|
84 | * [@mwellman17 (Michael Wellman)](https://github.com/mwellman17): Add text/x-yaml MIME type. [PR #126](https://github.com/microsoft/monaco-languages/pull/126)
|
85 |
|
86 | Contributions to `monaco-typescript`:
|
87 |
|
88 | * [@spahnke (Sebastian Pahnke)](https://github.com/spahnke): Keep fileName property of diagnostic objects and related information [PR #74](https://github.com/microsoft/monaco-typescript/pull/74)
|
89 |
|
90 | ## [0.22.3] (01.02.2021)
|
91 |
|
92 | Fixes a regression where symbol icons used in suggestions or quick outline were missing colors (see https://github.com/microsoft/monaco-editor/issues/2329).
|
93 |
|
94 | ## [0.22.2] (01.02.2021)
|
95 |
|
96 | 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).
|
97 |
|
98 | ## [0.22.1] (29.01.2021)
|
99 |
|
100 | Fixes a regression where format commands would no longer work (see https://github.com/microsoft/monaco-editor/issues/2327).
|
101 |
|
102 | ## [0.22.0] (29.01.2021)
|
103 |
|
104 | ### New & Noteworthy
|
105 | * new grammars for Modula-3 and ECL (Enterprise Control Language).
|
106 | * added `monaco.editor.onDidChangeMarkers` to listen for marker changes.
|
107 | * added `monaco.editor.registerCommand` to register global commands.
|
108 | * added `monaco.languages.setColorMap` to allow defining the color map used for tokenization.
|
109 | * added `IMonarchLanguage.includeLF` to allow matching against the `\n` at the end of each line.
|
110 | * new editor option `stickyTabStops` to make interacting with spaces in indentation behave more like interacting with tabs.
|
111 |
|
112 | ### Breaking changes
|
113 | * 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.
|
114 | * Renamed `OnTypeRenameProvider` to `LinkedEditingRangeProvider` and related methods like the editor option `renameOnType` (now `linkedEditing`), `registerOnTypeRenameProvider` (now `registerLinkedEditingRangeProvider`), etc.
|
115 | * Renamed `OnEnterRule.oneLineAboveText` to `OnEnterRule.previousLineText`
|
116 |
|
117 | ### Thank you
|
118 |
|
119 | Contributions to `monaco-editor`:
|
120 |
|
121 | * [@Gittenburg](https://github.com/Gittenburg): Fix comment in sample [PR #2161](https://github.com/microsoft/monaco-editor/pull/2161)
|
122 | * [@luminaxster (David Gonzalez)](https://github.com/luminaxster): Missing breaking change [PR #2186](https://github.com/microsoft/monaco-editor/pull/2186)
|
123 | * [@svick (Petr Onderka)](https://github.com/svick): Fixed indentation in C# sample [PR #2250](https://github.com/microsoft/monaco-editor/pull/2250)
|
124 |
|
125 | Contributions to `monaco-languages`:
|
126 |
|
127 | * [@arlosi (Arlo Siemsen)](https://github.com/arlosi): Rust: add support for keywords from the 2018 edition [PR #123](https://github.com/microsoft/monaco-languages/pull/123)
|
128 | * [@dehilsterlexis (David de Hilster)](https://github.com/dehilsterlexis): LEXER-ECL-001 Lexer for ECL (Enterprise Control Language) [PR #118](https://github.com/microsoft/monaco-languages/pull/118)
|
129 | * [@fonsecas72 (Hugo Fonseca)](https://github.com/fonsecas72): terraform Fix heredoc [PR #116](https://github.com/microsoft/monaco-languages/pull/116)
|
130 | * [@jcchu](https://github.com/jcchu): Add Modula-3 support [PR #117](https://github.com/microsoft/monaco-languages/pull/117)
|
131 | * [@maclockard (Mac Lockard)](https://github.com/maclockard): Fix highlighting of GROUP BY for redshift [PR #122](https://github.com/microsoft/monaco-languages/pull/122)
|
132 | * [@philipsens (Sergi Philipsen)](https://github.com/philipsens): Add auto indent for xml [PR #113](https://github.com/microsoft/monaco-languages/pull/113)
|
133 | * [@stla](https://github.com/stla)
|
134 | * completed the list of roxygen tags [PR #114](https://github.com/microsoft/monaco-languages/pull/114)
|
135 | * removed white spaces in constants [PR #115](https://github.com/microsoft/monaco-languages/pull/115)
|
136 | * [@VarghaSabee (Sabolch Varha)](https://github.com/VarghaSabee): Safari regex error fix (negative lookbehind) #2179 [PR #121](https://github.com/microsoft/monaco-languages/pull/121)
|
137 |
|
138 | Contributions to `monaco-typescript`:
|
139 |
|
140 | * [@Kingwl (Wenlu Wang)](https://github.com/Kingwl): Add new jsx emit option [PR #73](https://github.com/microsoft/monaco-typescript/pull/73)
|
141 |
|
142 | Contributions to `monaco-css`:
|
143 |
|
144 | * [@jpett](https://github.com/jpett): Fix error Cannot read property 'getModeId' of null [PR #10](https://github.com/microsoft/monaco-css/pull/10)
|
145 |
|
146 |
|
147 |
|
148 | ## [0.21.3] (18.01.2021)
|
149 |
|
150 | 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).
|
151 |
|
152 | ## [0.21.2] (27.09.2020)
|
153 |
|
154 | Fixes [a regression in monaco-css](https://github.com/microsoft/monaco-editor/issues/2158).
|
155 |
|
156 | ### Breaking changes
|
157 | * `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.
|
158 |
|
159 | ## [0.21.1] (24.09.2020)
|
160 |
|
161 | Fixes [a few regressions](https://github.com/microsoft/monaco-editor/issues?q=is%3Aissue+milestone%3A%22August+2020+%282%29%22+is%3Aclosed).
|
162 |
|
163 | ### Thank you
|
164 |
|
165 | Contributions to `monaco-html`:
|
166 |
|
167 | * [Pankaj Khandelwal (@pankajk07)](https://github.com/pankajk07): Fixes microsoft/monaco-editor#2101 [PR #12](https://github.com/microsoft/monaco-html/pull/12)
|
168 |
|
169 | Contributions to `monaco-languages`:
|
170 |
|
171 | * [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)
|
172 |
|
173 | Contributions to `monaco-typescript`:
|
174 |
|
175 | * [PG Herveou (@pgherveou)](https://github.com/pgherveou): Add missing setWorkerOptions [PR #71](https://github.com/microsoft/monaco-typescript/pull/71)
|
176 |
|
177 | ## [0.21.0] (21.09.2020)
|
178 |
|
179 | ### New & Noteworthy
|
180 | * Added `Paste` in the context menu in browsers which support the clipboard API.
|
181 | * Many improvements in `monaco-typescript`: support for "deprecated" tags, API to participate in the web worker, improved lib.d.ts resolving.
|
182 | * New tokenization support for: Julia, Scala, Lexon, Terraform HCL, Dart, Systemverilog.
|
183 | * New semantic tokens provider [sample on the playground](https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-semantic-tokens-provider-example).
|
184 | * New [shadow dom sample](https://github.com/microsoft/monaco-editor-samples/tree/master/browser-amd-shadow-dom)
|
185 | * New `overflowWidgetsDomNode` constructor option to pass in a parent for overflowing widgets.
|
186 | * New `minimap.size` option: `proportional`, `fill`, `fit`.
|
187 | * New `OnTypeRename` provider and option `renameOnType`.
|
188 | * Fixed issue where cross-origin web workers were not working on Safari.
|
189 | * Fixed many issues around embedding the editor in iframes or in shadow dom.
|
190 | * Fixed issue with `automaticLayout`.
|
191 | * Fixed issue with scrolling speed on Firefox.
|
192 | * New options: `tabIndex`, `scrollPredominantAxis`, `columnSelection`, `padding`, `unfoldOnClickAfterEndOfLine`, `renderLineHighlightOnlyWhenFocus`, `definitionLinkOpensInPeek`, `showDeprecated`, `comments.ignoreEmptyLines`, `find.cursorMoveOnType`, `find.loop`.
|
193 | * New diff editor options: `originalCodeLens`, `modifiedCodeLens`.
|
194 | * Changed options: `rulers` can now define different colors, `renderWhitespace` can now be `trailing`.
|
195 |
|
196 | ### Breaking changes
|
197 | * `CompletionItemLabel.signature` has been renamed to `CompletionItemLabel.parameters`.
|
198 | * The signature of `CompletionItemProvider.resolveCompletionItem` has changed.
|
199 | * `IMarker.code.link` was renamed to `IMarker.code.target`.
|
200 | * `IMarkerData.code.link` was renamed to `IMarkerData.code.target`.
|
201 | * `EditorLayoutInfo` has been restructured.
|
202 |
|
203 | ### Thank you
|
204 |
|
205 | Contributions to `monaco-editor`:
|
206 |
|
207 | * [Hugo Fonseca (@fonsecas72)](https://github.com/fonsecas72): Adding terraform / hcl samples [PR #2102](https://github.com/microsoft/monaco-editor/pull/2102)
|
208 | * [@KapitanOczywisty](https://github.com/KapitanOczywisty)
|
209 | * Update example: allow peek definition [PR #2112](https://github.com/microsoft/monaco-editor/pull/2112)
|
210 | * Semantic tokens provider example [PR #2103](https://github.com/microsoft/monaco-editor/pull/2103)
|
211 | * [Tuan Le Minh (@minhtuanchannhan)](https://github.com/minhtuanchannhan): Correct url of Microsoft logo [PR #2132](https://github.com/microsoft/monaco-editor/pull/2132)
|
212 | * [Max Schmitt (@mxschmitt)](https://github.com/mxschmitt): ci: fixed smoke tests by increasing timeout [PR #1964](https://github.com/microsoft/monaco-editor/pull/1964)
|
213 | * [Nicholas Rayburn (@nrayburn-tech)](https://github.com/nrayburn-tech): Monarch documentation changes [PR #1844](https://github.com/microsoft/monaco-editor/pull/1844)
|
214 | * [ZHAO Jinxiang (@xiaoxiangmoe)](https://github.com/xiaoxiangmoe): fix: A 'declare' modifier cannot be used in an already ambient context [PR #2121](https://github.com/microsoft/monaco-editor/pull/2121)
|
215 |
|
216 | Contributions to `monaco-typescript`:
|
217 |
|
218 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke)
|
219 | * Adopt "deprecated" API [PR #67](https://github.com/microsoft/monaco-typescript/pull/67)
|
220 | * Format signature and parameter documentation as Markdown [PR #66](https://github.com/microsoft/monaco-typescript/pull/66)
|
221 | * [Spencer (@SpencerSharkey)](https://github.com/SpencerSharkey): Use typescript language for hover tooltip header [PR #70](https://github.com/microsoft/monaco-typescript/pull/70)
|
222 |
|
223 | Contributions to `monaco-json`:
|
224 |
|
225 | * [@pankajk07](https://github.com/pankajk07): Fixes microsoft/monaco-editor#1999 [PR #12](https://github.com/microsoft/monaco-json/pull/12)
|
226 |
|
227 | Contributions to `monaco-languages`:
|
228 |
|
229 | * [theangryepicbanana (@ALANVF)](https://github.com/ALANVF)
|
230 | * Add support for Julia [PR #82](https://github.com/microsoft/monaco-languages/pull/82)
|
231 | * Add Scala support [PR #98](https://github.com/microsoft/monaco-languages/pull/98)
|
232 | * [Arjan van Eersel (@arjanvaneersel)](https://github.com/arjanvaneersel): Implemented Lexon highlighting [PR #86](https://github.com/microsoft/monaco-languages/pull/86)
|
233 | * [Basarat Ali Syed (@basarat)](https://github.com/basarat): add .mjs support :rose: [PR #92](https://github.com/microsoft/monaco-languages/pull/92)
|
234 | * [@bolinfest](https://github.com/bolinfest): Update Python grammar to include keywords introduced in Python 3 [PR #91](https://github.com/microsoft/monaco-languages/pull/91)
|
235 | * [Hugo Fonseca (@fonsecas72)](https://github.com/fonsecas72)
|
236 | * Adding Gemfile to ruby filenames [PR #111](https://github.com/microsoft/monaco-languages/pull/111)
|
237 | * Adding hcl / terraform language [PR #109](https://github.com/microsoft/monaco-languages/pull/109)
|
238 | * Terraform HCL : Fixing, Improving, adding tests [PR #110](https://github.com/microsoft/monaco-languages/pull/110)
|
239 | * [Lars Hvam (@larshp)](https://github.com/larshp)
|
240 | * Mocha, fix deprecation warning regarding mocha.opts [PR #88](https://github.com/microsoft/monaco-languages/pull/88)
|
241 | * [ABAP] Language fixes [PR #87](https://github.com/microsoft/monaco-languages/pull/87)
|
242 | * [Kenny Lin (@LinKCoding)](https://github.com/LinKCoding): Added ".rmd" file extension to R's list of supported languages [PR #83](https://github.com/microsoft/monaco-languages/pull/83)
|
243 | * [Justin Mancusi (@mancusi)](https://github.com/mancusi): Updates the comment tokenization for handlebars syntax. [PR #93](https://github.com/microsoft/monaco-languages/pull/93)
|
244 | * [Mert Caliskan (@mulderbaba)](https://github.com/mulderbaba): introduce preliminary Scala support, highly inspired by src/java content [PR #97](https://github.com/microsoft/monaco-languages/pull/97)
|
245 | * [Nicholas Rayburn (@nrayburn-tech)](https://github.com/nrayburn-tech): Add _ as a supported character for Python tags/keywords [PR #81](https://github.com/microsoft/monaco-languages/pull/81)
|
246 | * [@skacurt](https://github.com/skacurt): [vb] fix string literals [PR #94](https://github.com/microsoft/monaco-languages/pull/94)
|
247 | * [Taymon A. Beal (@taymonbeal)](https://github.com/taymonbeal): Add asserts, bigint, and unknown to TypeScript keywords [PR #96](https://github.com/microsoft/monaco-languages/pull/96)
|
248 | * [Sabolch Varha (@VarghaSabee)](https://github.com/VarghaSabee): Feature - dart language support [PR #84](https://github.com/microsoft/monaco-languages/pull/84)
|
249 | * [@xadegunt](https://github.com/xadegunt): Add Systemverilog language support [PR #108](https://github.com/microsoft/monaco-languages/pull/108)
|
250 |
|
251 | ## [0.20.0] (11.02.2020)
|
252 |
|
253 | ### New & Noteworthy
|
254 | * The editor can now be hosted inside a Shadow Root.
|
255 | * There is new API to read the editor's content width and height.
|
256 | * New editor options:
|
257 | * `renderValidationDecorations` - render validation decorations even in read only editors
|
258 | * `wrappingStrategy` - delegate wrapping points computation to the browser
|
259 | * `comments.insertSpace` - insert a space around comments when running commenting commands
|
260 | * `foldingHighlight` - highlight folded regions
|
261 | * `peekWidgetDefaultFocus` - focus the inline editor or the tree when opening peek view
|
262 |
|
263 | ### Breaking changes
|
264 | * Renamed `onCompositionStart`, `onCompositionEnd` to `onDidCompositionStart`, `onDidCompositionEnd`
|
265 | * Changed the argument passed in to `onDidPaste`
|
266 | * `WorkspaceEdit.edits` has now changed its shape such that edits must no longer be grouped by resource.
|
267 | * The Monaco Editor no longer supports IE 11. The last version that was tested in IE 11 is 0.18.1.
|
268 |
|
269 | ### Thank you
|
270 |
|
271 | Contributions to `monaco-editor`:
|
272 |
|
273 | * [Josh Goldberg (@JoshuaKGoldberg)](https://github.com/JoshuaKGoldberg): Added section in Monarch docs for Inspect Tokens development helper [PR #1807](https://github.com/microsoft/monaco-editor/pull/1807)
|
274 |
|
275 | Contributions to `monaco-typescript`:
|
276 |
|
277 | * [Elizabeth Craig (@ecraig12345)](https://github.com/ecraig12345): Add types for TypeScriptWorker and missing LanguageServiceDefaults methods [PR #54](https://github.com/microsoft/monaco-typescript/pull/54)
|
278 |
|
279 | Contributions to `monaco-languages`:
|
280 |
|
281 | * [alan.invents (@ALANVF)](https://github.com/ALANVF): Highlight function definitions better [PR #79](https://github.com/microsoft/monaco-languages/pull/79)
|
282 | * [@nrayburn-tech](https://github.com/nrayburn-tech): Add support for multiline comments in Swift [PR #80](https://github.com/microsoft/monaco-languages/pull/80)
|
283 |
|
284 | ## [0.19.3] (14.01.2020)
|
285 |
|
286 | * brings back a way to get resolved editor options - [#1734](https://github.com/microsoft/monaco-editor/issues/1734)
|
287 |
|
288 | ### Thank you
|
289 |
|
290 | Contributions to `monaco-editor`:
|
291 | * [Brijesh Bittu (@brijeshb42)](https://github.com/brijeshb42): Playground: Add keyboard shortcut to run playground code [PR #1756](https://github.com/microsoft/monaco-editor/pull/1756)
|
292 |
|
293 | Contributions to `monaco-languages`:
|
294 | * [Rikki Schulte (@acao)](https://github.com/acao): add tokenizer for graphql language variables [PR #78](https://github.com/microsoft/monaco-languages/pull/78)
|
295 |
|
296 |
|
297 | ## [0.19.2] (06.01.2020)
|
298 |
|
299 | * fixes issue with default value of `autoIndent` - [#1726](https://github.com/microsoft/monaco-editor/issues/1726)
|
300 |
|
301 | ## [0.19.1] (06.01.2020)
|
302 |
|
303 | * fixes issue with .d.ts file in the ESM distribution - [#1729](https://github.com/microsoft/monaco-editor/issues/1729)
|
304 | * adds types for global editor options (such as `wordBasedSuggestions`) - [#1746](https://github.com/microsoft/monaco-editor/issues/1746)
|
305 | * adds support for reStructuredText.
|
306 |
|
307 | ### Thank you
|
308 |
|
309 | Contributions to `monaco-editor`:
|
310 | * [Lars Hvam (@larshp)](https://github.com/larshp)
|
311 | * Playground: add ABAP sample [PR #1737](https://github.com/microsoft/monaco-editor/pull/1737)
|
312 | * Playground: fix codelens provider example [PR #1738](https://github.com/microsoft/monaco-editor/pull/1738)
|
313 |
|
314 | Contributions to `monaco-languages`:
|
315 | * [Changwon Choe (@qwefgh90)](https://github.com/qwefgh90): add support for reStructuredText [PR #77](https://github.com/microsoft/monaco-languages/pull/77)
|
316 |
|
317 |
|
318 | ## [0.19.0] (20.12.2019)
|
319 |
|
320 | ### New & Noteworthy
|
321 |
|
322 | * It is now possible to pass in a `dimension` in the editor construction options in order to avoid a synchronous layout.
|
323 | * There is new API to provide semantic tokens.
|
324 | * New options:
|
325 | * `multiCursorPaste`: define how to distribute paste in case of multi-cursor
|
326 | * `matchBrackets`: control if enclosing brackets should be highlighted
|
327 | * Fixes for tokenization in: TypeScript, JavaScript, Handlebars, Kotlin and VB.
|
328 |
|
329 | ### Breaking changes
|
330 |
|
331 | * `getConfiguration()` is replaced by `getRawOptions()`, which returns the passed in editor options.
|
332 | * 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.
|
333 |
|
334 | ### Thank you
|
335 |
|
336 | Contributions to `monaco-editor`:
|
337 |
|
338 | * [Lars Hvam (@larshp)](https://github.com/larshp)
|
339 | * contributing: add details for running website locally [PR #1617](https://github.com/microsoft/monaco-editor/pull/1617)
|
340 | * playground: update symbols-provider-example [PR #1616](https://github.com/microsoft/monaco-editor/pull/1616)
|
341 | * [Remy Suen (@rcjsuen)](https://github.com/rcjsuen): Add CompletionItem with snippet support to the example [PR #1703](https://github.com/microsoft/monaco-editor/pull/1703)
|
342 |
|
343 | Contributions to `monaco-editor-webpack-plugin`:
|
344 | * [Dominik Moritz (@domoritz)](https://github.com/domoritz): Bump to 0.16 [PR #62](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/62)
|
345 | * [Mike Greiling (@mikegreiling)](https://github.com/mikegreiling): Fix __webpack_public_path__ within getWorkerUrl method [PR #63](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/63)
|
346 | * [Roman Krasiuk (@rkrasiuk)](https://github.com/rkrasiuk): Bump to 0.17.0 and Add graphql support [PR #67](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/67)
|
347 | * [Niklas Mollenhauer (@nikeee)](https://github.com/nikeee): Add loader-utils and make @types/webpack a dev dependency [PR #74](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/74)
|
348 | * [James Diefenderfer (@jimmydief)](https://github.com/jimmydief)
|
349 | * Add support for plugin-specific public path [PR #81](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/81)
|
350 | * Add support for dynamic filenames [PR #83](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/83)
|
351 |
|
352 | Contributions to `monaco-languages`:
|
353 |
|
354 | * [Maksym Bykovskyy (@mbykovskyy)](https://github.com/mbykovskyy): Adds cameligo language support [PR #75](https://github.com/microsoft/monaco-languages/pull/75)
|
355 | * [Steven Degutis (@sdegutis)](https://github.com/sdegutis): Adds Markdown Table syntax highlighting [PR #73](https://github.com/microsoft/monaco-languages/pull/73)
|
356 | * [Sergey Romanov (@Serhioromano)](https://github.com/Serhioromano): Improvements to ST language [PR #76](https://github.com/microsoft/monaco-languages/pull/76)
|
357 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke): [JS/TS] Add support for the nullish-coalesce operator [PR #74](https://github.com/microsoft/monaco-languages/pull/74)
|
358 |
|
359 | Contributions to `monaco-typescript`:
|
360 |
|
361 | * [Denys Vuika (@DenysVuika)](https://github.com/DenysVuika): register multiple extra libs at once [PR #24](https://github.com/microsoft/monaco-typescript/pull/24)
|
362 | * [Elizabeth Craig (@ecraig12345)](https://github.com/ecraig12345)
|
363 | * Generate and publish typings for package [PR #50](https://github.com/microsoft/monaco-typescript/pull/50)
|
364 | * Remove another require call [PR #49](https://github.com/microsoft/monaco-typescript/pull/49)
|
365 | * [@katis](https://github.com/katis): Update TypeScript to 3.7.2 [PR #51](https://github.com/microsoft/monaco-typescript/pull/51)
|
366 | * [Tamas Kiss (@kisstkondoros)](https://github.com/kisstkondoros): Add documentation to signature help [PR #52](https://github.com/microsoft/monaco-typescript/pull/52)
|
367 | * [Lars Hvam (@larshp)](https://github.com/larshp): fix typo [PR #45](https://github.com/microsoft/monaco-typescript/pull/45)
|
368 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke)
|
369 | * Provide related information to diagnostics [PR #48](https://github.com/microsoft/monaco-typescript/pull/48)
|
370 | * [Alessandro Fragnani (@alefragnani)](https://github.com/alefragnani): Add Pascal samples [PR #1358](https://github.com/microsoft/monaco-editor/pull/1358)
|
371 | * Adopt monaco.MarkerTag API [PR #47](https://github.com/microsoft/monaco-typescript/pull/47)
|
372 | * Add support to ignore certain diagnostics [PR #46](https://github.com/microsoft/monaco-typescript/pull/46)
|
373 |
|
374 | ## [0.18.1] (19.09.2019)
|
375 |
|
376 | * fixes 2 issues with the ESM distribution - [#1572](https://github.com/microsoft/monaco-editor/issues/1572) and [#1574](https://github.com/microsoft/monaco-editor/issues/1574)
|
377 | * fixes very slow scrolling in Firefox - [#1575](https://github.com/microsoft/monaco-editor/issues/1575)
|
378 | * new syntax highlighting for: pascaligo, ABAP, Sophia ML, Twig and MIPS.
|
379 |
|
380 | ### Thank you
|
381 |
|
382 | Contributions to `monaco-editor`:
|
383 |
|
384 | * [Alessandro Fragnani (@alefragnani)](https://github.com/alefragnani): Add Pascal samples [PR #1358](https://github.com/microsoft/monaco-editor/pull/1358)
|
385 | * [Daniel Wang (@datou0412)](https://github.com/datou0412): Add koltin sample for website [PR #1351](https://github.com/microsoft/monaco-editor/pull/1351)
|
386 | * [Ehsan (@ehsan-mohammadi)](https://github.com/ehsan-mohammadi): Updated html sample code [PR #1387](https://github.com/microsoft/monaco-editor/pull/1387)
|
387 | * [Jonas Fonseca (@jonas)](https://github.com/jonas): CHANGELOG: Fix year for releases made in 2019 [PR #1388](https://github.com/microsoft/monaco-editor/pull/1388)
|
388 | * [Milen Radkov (@mradkov)](https://github.com/mradkov): Add Sophia ML example [PR #1543](https://github.com/microsoft/monaco-editor/pull/1543)
|
389 | * [Sergey Romanov (@Serhioromano)](https://github.com/Serhioromano): Structured text example [PR #1552](https://github.com/microsoft/monaco-editor/pull/1552)
|
390 | * [zhnlviing (@zhanghongnian)](https://github.com/zhanghongnian): fix demo: completion provider example [PR #1537](https://github.com/microsoft/monaco-editor/pull/1537)
|
391 |
|
392 | Contributions to `monaco-json`:
|
393 |
|
394 | * [Dominik Moritz (@domoritz)](https://github.com/domoritz)
|
395 | * Upgrade dependencies [PR #11](https://github.com/microsoft/monaco-json/pull/11)
|
396 | * Add config to disable default formatter [PR #10](https://github.com/microsoft/monaco-json/pull/10)
|
397 |
|
398 | Contributions to `monaco-languages`:
|
399 |
|
400 | * [Brice Aldrich (@DefinitelyNotAGoat)](https://github.com/DefinitelyNotAGoat): pascaligo: adding pascaligo language support [PR #69](https://github.com/microsoft/monaco-languages/pull/69)
|
401 | * [Salam Elbilig (@finalfantasia)](https://github.com/finalfantasia): [clojure] treat comma as whitespace [PR #63](https://github.com/microsoft/monaco-languages/pull/63)
|
402 | * [Alf Eaton (@hubgit)](https://github.com/hubgit): [xml] Add OPF and XSL file extensions [PR #64](https://github.com/microsoft/monaco-languages/pull/64)
|
403 | * [Lars Hvam (@larshp)](https://github.com/larshp)
|
404 | * [ABAP] Add ABAP language support [PR #72](https://github.com/microsoft/monaco-languages/pull/72)
|
405 | * readme: align "add new language" example [PR #70](https://github.com/microsoft/monaco-languages/pull/70)
|
406 | * [Milen Radkov (@mradkov)](https://github.com/mradkov)
|
407 | * Add support for Sophia ML [PR #67](https://github.com/microsoft/monaco-languages/pull/67)
|
408 | * add `None` and `Some` keywords to SophiaML [PR #68](https://github.com/microsoft/monaco-languages/pull/68)
|
409 | * [Marco Petersen (@ocrampete16)](https://github.com/ocrampete16): Add support for the Twig template language [PR #71](https://github.com/microsoft/monaco-languages/pull/71)
|
410 | * [Progyan Bhattacharya (@Progyan1997)](https://github.com/Progyan1997): [Feat] MIPS: Support for Syntax Highlight and Basic Colorization [PR #65](https://github.com/microsoft/monaco-languages/pull/65)
|
411 | * [Sergey Romanov (@Serhioromano)](https://github.com/Serhioromano): [ST] Some updated for Structured Text Language support [PR #66](https://github.com/microsoft/monaco-languages/pull/66)
|
412 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke): [JS/TS] Add support for BigInt [PR #62](https://github.com/microsoft/monaco-languages/pull/62)
|
413 |
|
414 | Contributions to `monaco-typescript`:
|
415 |
|
416 | * [Andre Wachsmuth (@blutorange)](https://github.com/blutorange): Fix microsoft/monaco-editor#1576 update dependency to core [PR #41](https://github.com/microsoft/monaco-typescript/pull/41)
|
417 | * [Javey (@Javey)](https://github.com/Javey): Make it can be compressed by uglify-js [PR #34](https://github.com/microsoft/monaco-typescript/pull/34)
|
418 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke): Add a rename provider [PR #39](https://github.com/microsoft/monaco-typescript/pull/39)
|
419 | * [@ulrichb](https://github.com/ulrichb): Expose TypeScript version via `monaco.languages.typescript.typeScriptVersion` [PR #31](https://github.com/microsoft/monaco-typescript/pull/31)
|
420 |
|
421 | ## [0.18.0] (04.09.2019)
|
422 |
|
423 | ### New & Noteworthy
|
424 |
|
425 | * Minimap enhancement
|
426 | * Selections and find results are now rendered in the minimap.
|
427 | * Model decorations now support `IModelDecorationOptions.minimap`, once set the decoration will be rendered in the minimap
|
428 | * New editor options
|
429 | * `autoClosingOvertype`: it controls whether the editor allows [typing over closing quotes or brackets](https://github.com/microsoft/vscode/issues/37315#issuecomment-515200477).
|
430 | * `cursorSurroundingLines`: it controls how many visible lines to display around the cursor while moving the cursor towards beginning or end of a file.
|
431 | * `renderWhitespace: "selection"`: the editor can render whitespaces only in selection.
|
432 |
|
433 | ### API changes
|
434 |
|
435 | * `DeclarationProvider`: The declaration provider interface defines the contract between extensions and the go to declaration feature.
|
436 | * `SelectionRangeProvider` Provide smart selection ranges for the given positions, see VS Code [issue](https://github.com/microsoft/vscode/issues/67872).
|
437 | * CodeLensProvider should now return `CodeLensList` instead of `ICodeLensSymbol[]`.
|
438 | * `DocumentSymbol` has a new property `tags` to support more types.
|
439 | * View Zone id is now `string` instead of `number`.
|
440 |
|
441 | ### Thank you
|
442 |
|
443 | Contributions to `monaco-json`:
|
444 |
|
445 | * [Ԝеѕ @wesinator](https://github.com/wesinator): Add .har extension [#9](https://github.com/microsoft/monaco-json/pull/9)
|
446 |
|
447 | ## [0.17.1] (25.06.2019)
|
448 | * Update monaco-typescript to TypeScript 3.5.0.
|
449 |
|
450 | ## [0.17.0] (05.05.2019)
|
451 |
|
452 | ### New & Noteworthy
|
453 |
|
454 | * Localization support is brought back for AMD bundle. We lost the localization support when VS Code moved to the localization system but now AMD bundles ships the same localized strings VS Code localization extensions ship. For more details, please read [Monaco#822](https://github.com/Microsoft/monaco-editor/issues/822) and related [VS Code upstream issue](https://github.com/Microsoft/vscode/issues/71065)
|
455 | * `LinkProvider.ProvideLinks` should now return `ILinksList` instead of `ILink[]`.
|
456 | * `IEditorOptions.iconsInSuggestions` and `EditorContribOptions.iconsInSuggestions` are now replaced by `EditorContribOptions.suggest.showIcons`.
|
457 | * We introduced `EditorContribOptions.suggest.maxVisibleSuggestions` to control maximum suggestions to show in suggestions widget.
|
458 | * `EditorContribOptions.suggest.filteredTypes` is now introduced to allow suggestions to be filtered by the user. For more details, please read [vscode#45039](https://github.com/Microsoft/vscode/issues/45039).
|
459 |
|
460 | ### Thank You
|
461 |
|
462 | Contributions to `monaco-editor`:
|
463 |
|
464 | * [Jonas Fonseca @jonas](https://github.com/jonas): Fix year for releases made in 2019 [PR #1388](https://github.com/Microsoft/monaco-editor/pull/1388)
|
465 |
|
466 |
|
467 | ## [0.16.2] (19.03.2019)
|
468 | * Fixes for HTML and JSON (https://github.com/Microsoft/monaco-editor/issues/1367, https://github.com/Microsoft/monaco-editor/issues/1254)
|
469 |
|
470 | ## [0.16.1] (14.03.2019)
|
471 | * Fixes issue with context menu (https://github.com/Microsoft/monaco-editor/issues/1357)
|
472 |
|
473 | ## [0.16.0] (05.03.2019)
|
474 |
|
475 | ### New & Noteworthy
|
476 |
|
477 | * Added built-in support for AMD cross-domain web worker loading.
|
478 | * Added API to remeasure fonts (`monaco.editor.remeasureFonts`) in case custom fonts are used and the editor is painted at a time when the fonts are not finished loading.
|
479 | * Various editor improvements, such as an option to `renderFinalNewline`, or to have a `cursorSmoothCaretAnimation`
|
480 | * Colorization support for Tcl, Pascal, Kotlin and GraphQL.
|
481 |
|
482 | ### Breaking changes
|
483 |
|
484 | * We are no longer shipping WinJS.Promise, but we are shipping with a Promise shim (for IE11).
|
485 | * `CompletionItem.range` is now mandatory. Most times, you can use `model.getWordUntilPosition()` to get a good range.
|
486 | * `DefinitionLink` has been renamed to `LocationLink` and a couple of its fields have also been renamed.
|
487 |
|
488 | ### Thank you
|
489 |
|
490 | Contributions to `monaco-editor`:
|
491 |
|
492 | * [Sebastián Gurin (@cancerberoSgx)](https://github.com/cancerberoSgx): fix worker paths in parcel [PR #1339](https://github.com/Microsoft/monaco-editor/pull/1339)
|
493 | * [@datou0412](https://github.com/datou0412): Fix lineDecoration example css error [PR #1337](https://github.com/Microsoft/monaco-editor/pull/1337)
|
494 | * [Joshua Sullivan (@jbsulli)](https://github.com/jbsulli): Fix JavaScript RegExp range closing bracket [PR #1329](https://github.com/Microsoft/monaco-editor/pull/1329)
|
495 | * [Krish De Souza (@Kedstar99)](https://github.com/Kedstar99): Fixed various HTML errors with the various webpages [PR #1309](https://github.com/Microsoft/monaco-editor/pull/1309)
|
496 | * [Swarnava Sengupta (@swarnava)](https://github.com/swarnava): Make copyright year dynamic [PR #1303](https://github.com/Microsoft/monaco-editor/pull/1303)
|
497 |
|
498 | Contributions to `monaco-languages`:
|
499 |
|
500 | * [alan.invents (@ALANVF)](https://github.com/ALANVF): Add Tcl support [PR #59](https://github.com/Microsoft/monaco-languages/pull/59)
|
501 | * [Alessandro Fragnani (@alefragnani)](https://github.com/alefragnani): Pascal language support [PR #60](https://github.com/Microsoft/monaco-languages/pull/60)
|
502 | * [Brijesh Bittu (@brijeshb42)](https://github.com/brijeshb42): Update ruby auto indentation rules [PR #58](https://github.com/Microsoft/monaco-languages/pull/58)
|
503 | * [Andrew (@creativedrewy)](https://github.com/creativedrewy): Add Kotlin Language Support [PR #57](https://github.com/Microsoft/monaco-languages/pull/57)
|
504 | * [Salam Elbilig (@finalfantasia)](https://github.com/finalfantasia): [clojure] Improve the regular expressions for various symbols [PR #56](https://github.com/Microsoft/monaco-languages/pull/56)
|
505 | * [Neil Jones (@futurejones)](https://github.com/futurejones): Solidity - add "constructor" to main keywords [PR #55](https://github.com/Microsoft/monaco-languages/pull/55)
|
506 | * [Pavel Lang (@langpavel)](https://github.com/langpavel): GraphQL language support [PR #54](https://github.com/Microsoft/monaco-languages/pull/54)
|
507 | * [Samuel Helms (@samghelms)](https://github.com/samghelms): allows annotation in markdown language block headers [PR #61](https://github.com/Microsoft/monaco-languages/pull/61)
|
508 |
|
509 | Contributions to `monaco-typescript`:
|
510 |
|
511 | * [Olga Lesnikova (@Geloosa)](https://github.com/Geloosa): more safe extra lib filePath generation [PR #29](https://github.com/Microsoft/monaco-typescript/pull/29)
|
512 | * [Stefan Lacatus (@stefan-lacatus)](https://github.com/stefan-lacatus): Optimize how external libs are handled and allow for custom languages [PR #30](https://github.com/Microsoft/monaco-typescript/pull/30)
|
513 |
|
514 | ## [0.15.6] (23.11.2018)
|
515 | * Fixes issue with context menu (https://github.com/Microsoft/monaco-editor/issues/1199)
|
516 |
|
517 | ## [0.15.5] (16.11.2018)
|
518 | * Re-remove cast to any from our code base to allow for tree shaking to not shake useful code (https://github.com/Microsoft/monaco-editor/issues/1013)
|
519 |
|
520 | ## [0.15.4] (15.11.2018)
|
521 | * Fixes context menu in IE11 - https://github.com/Microsoft/monaco-editor/issues/1191
|
522 | * Fixes suggest widget - https://github.com/Microsoft/monaco-editor/issues/1185 and https://github.com/Microsoft/monaco-editor/issues/1186
|
523 |
|
524 | ## [0.15.3] (15.11.2018)
|
525 | * Remove cast to any from our code base to allow for tree shaking to not shake useful code (https://github.com/Microsoft/monaco-editor/issues/1013)
|
526 |
|
527 | ## [0.15.2] (14.11.2018)
|
528 | * Fixes usage of `marked` to allow for packaging with rollup (https://github.com/Microsoft/monaco-editor/issues/1183)
|
529 |
|
530 | ## [0.15.1] (13.11.2018)
|
531 | * Fixes the `/esm/` distribution (https://github.com/Microsoft/monaco-editor/issues/1178)
|
532 |
|
533 | ## [0.15.0] (12.11.2018)
|
534 |
|
535 | ### New & Noteworthy
|
536 |
|
537 | * Improved typings in `monaco.d.ts` to better reflect null types.
|
538 |
|
539 | ### Breaking changes
|
540 |
|
541 | * We are slowly migrating our code-base away from WinJS promises, so the exposed `monaco.Promise` API has been reduced to indicate that. We are setting up a Promise polyfill to cover browsers which do not have a native Promise implementation yet (i.e. IE11).
|
542 | * `CompletionItemProvider.provideCompletionItems` and `CompletionItemProvider.resolveCompletionItem` have been modified to better reflect the API of VS Code. Both arguments and return type have changed.
|
543 | * `SignatureHelpProvider.provideSignatureHelp` now receives an extra argument for the context.
|
544 | * Various new editor options or tweaks to existing ones: `parameterHints`, `autoClosingBrackets`, `autoClosingQuotes`, `autoSurround`, `copyWithSyntaxHighlighting`, `tabCompletion`.
|
545 |
|
546 | ### Thank you
|
547 |
|
548 | Contributions to `monaco-editor`:
|
549 |
|
550 | * [Arvind S (@arvind0598)](https://github.com/arvind0598): Updated C# sample code for a simpler game. [PR #1160](https://github.com/Microsoft/monaco-editor/pull/1160)
|
551 | * [Brooks Becton (@brooksbecton)](https://github.com/brooksbecton): Removing obsolete Note in Monarch Docs [PR #1089](https://github.com/Microsoft/monaco-editor/pull/1089)
|
552 | * [James Orr (@buzzcola)](https://github.com/buzzcola): Correct comma splice in README.md [PR #1111](https://github.com/Microsoft/monaco-editor/pull/1111)
|
553 | * [Chintogtokh Batbold (@chintogtokh)](https://github.com/chintogtokh): Clarify that repo doesn't contain source code [PR #1119](https://github.com/Microsoft/monaco-editor/pull/1119)
|
554 | * [Chris Helgert (@chrishelgert)](https://github.com/chrishelgert): Move issue template to '.github' folder and add some styling for better readability [PR #1121](https://github.com/Microsoft/monaco-editor/pull/1121)
|
555 | * [Steven Bock (@dabockster)](https://github.com/dabockster): Added better Java sample (FizzBuzz instead of JUnit) [PR #1161](https://github.com/Microsoft/monaco-editor/pull/1161)
|
556 | * [Michele Gobbi (@dynamick)](https://github.com/dynamick): Added Ruby [PR #1102](https://github.com/Microsoft/monaco-editor/pull/1102)
|
557 | * [Edilson Ngulele (@EdNgulele)](https://github.com/EdNgulele): style: Updated CONTRIBUTING.md [PR #1088](https://github.com/Microsoft/monaco-editor/pull/1088)
|
558 | * [Evan Walters (@evanwaltersdev)](https://github.com/evanwaltersdev): issue guidelines [PR #1096](https://github.com/Microsoft/monaco-editor/pull/1096)
|
559 | * [Abdussalam Abdurrahman (@finalfantasia)](https://github.com/finalfantasia): [clojure] Update Clojure example with one that's more representative. [PR #1059](https://github.com/Microsoft/monaco-editor/pull/1059)
|
560 | * [@flash76](https://github.com/flash76): Update README.md [PR #1141](https://github.com/Microsoft/monaco-editor/pull/1141)
|
561 | * [Daniel Pasch (@gempir)](https://github.com/gempir): fix 2 of 7 npm package vurnerabilities [PR #1087](https://github.com/Microsoft/monaco-editor/pull/1087)
|
562 | * [@Hotlar](https://github.com/Hotlar): lingual fixes to readme [PR #1086](https://github.com/Microsoft/monaco-editor/pull/1086)
|
563 | * [Jeremy Meiss (@jerdog)](https://github.com/jerdog): correct README grammar [PR #1114](https://github.com/Microsoft/monaco-editor/pull/1114)
|
564 | * [Joaquim Honório (@JoaquimCMH)](https://github.com/JoaquimCMH): Update CHANGELOG [PR #1152](https://github.com/Microsoft/monaco-editor/pull/1152)
|
565 | * [Ricardo Ambrogi (@KadoBOT)](https://github.com/KadoBOT): Remove commented code [PR #1113](https://github.com/Microsoft/monaco-editor/pull/1113)
|
566 | * [Abhinav Srivastava (@krototype)](https://github.com/krototype): changed the license block of readme [PR #1133](https://github.com/Microsoft/monaco-editor/pull/1133)
|
567 | * [Mera Gangapersaud (@Mera-Gangapersaud)](https://github.com/Mera-Gangapersaud): Fixed prerequisites link in Contributing.md [PR #1155](https://github.com/Microsoft/monaco-editor/pull/1155)
|
568 | * [Michael (@michael-k)](https://github.com/michael-k): Use python examples that work [PR #1053](https://github.com/Microsoft/monaco-editor/pull/1053)
|
569 | * [Remy Suen (@rcjsuen)](https://github.com/rcjsuen): Add missing links in CHANGELOG.md [PR #1029](https://github.com/Microsoft/monaco-editor/pull/1029)
|
570 | * [Shivansh Saini (@shivanshs9)](https://github.com/shivanshs9): Fixed typos in website page and CHANGELOG [PR #1153](https://github.com/Microsoft/monaco-editor/pull/1153)
|
571 | * [Sachin Saini (@thetinygoat)](https://github.com/thetinygoat): hacktoberfest fix [PR #1131](https://github.com/Microsoft/monaco-editor/pull/1131)
|
572 |
|
573 | Contributions to `monaco-languages`:
|
574 |
|
575 | * [Aastha (@AasthaGupta)](https://github.com/AasthaGupta): Fix markdown bug #1107 [PR #52](https://github.com/Microsoft/monaco-languages/pull/52)
|
576 | * [Abdussalam Abdurrahman (@finalfantasia)](https://github.com/finalfantasia): [clojure] Improve Clojure syntax highlighting. [PR #45](https://github.com/Microsoft/monaco-languages/pull/45)
|
577 | * [Abhishek (@GeekAb)](https://github.com/GeekAb): Markdown bug fix for #1107 [PR #51](https://github.com/Microsoft/monaco-languages/pull/51)
|
578 | * [Matthew D. Miller (@goober99)](https://github.com/goober99): Added support for Perl quote-like operators to fix #1101 [PR #50](https://github.com/Microsoft/monaco-languages/pull/50)
|
579 | * [Grzegorz Wcisło (@grzegorz-wcislo)](https://github.com/grzegorz-wcislo): Fix yaml string tokenization [PR #47](https://github.com/Microsoft/monaco-languages/pull/47)
|
580 | * [Pascal Berger (@pascalberger)](https://github.com/pascalberger): Use C# highlighting for Cake scripts [PR #53](https://github.com/Microsoft/monaco-languages/pull/53)
|
581 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke)
|
582 | * [JS/TS] Add support for alternative octal integer literal syntax [PR #49](https://github.com/Microsoft/monaco-languages/pull/49)
|
583 | * Improve tokenization of regular expressions [PR #46](https://github.com/Microsoft/monaco-languages/pull/46)
|
584 | * [Tiago Danin (@TiagoDanin)](https://github.com/TiagoDanin): New rule for non-teminated string in yaml [PR #48](https://github.com/Microsoft/monaco-languages/pull/48)
|
585 |
|
586 | Contributions to `monaco-typescript`:
|
587 |
|
588 | * [Parikshit Hooda (@Parikshit-Hooda)](https://github.com/Parikshit-Hooda): fixed typo in line 11 [PR #23](https://github.com/Microsoft/monaco-typescript/pull/23)
|
589 | * [Sebastian Pahnke (@spahnke)](https://github.com/spahnke): Render documentation in suggestion widget as Markdown [PR #22](https://github.com/Microsoft/monaco-typescript/pull/22)
|
590 |
|
591 | Contributions to `monaco-json`:
|
592 |
|
593 | * [Igor Nesterenko (@nesterone)](https://github.com/nesterone): Provide diagnostic option to enable on-demand schema loading [PR #7](https://github.com/Microsoft/monaco-json/pull/7)
|
594 |
|
595 | Contributions to `monaco-css`:
|
596 |
|
597 | * [Richard Samuelson (@ricsam)](https://github.com/ricsam): Fix indentation on the CSS test page [PR #7](https://github.com/Microsoft/monaco-css/pull/7)
|
598 |
|
599 |
|
600 |
|
601 | ## [0.14.3] (17.08.2018)
|
602 | * Fixes TypeScript/JavaScript coloring of regular expressions https://github.com/Microsoft/monaco-editor/issues/1009
|
603 |
|
604 | ## [0.14.2] (10.08.2018)
|
605 | * Reverts https://github.com/Microsoft/monaco-editor/pull/981
|
606 |
|
607 | ## [0.14.1] (10.08.2018)
|
608 | * Fixes Find All References (https://github.com/Microsoft/vscode/issues/56160)
|
609 |
|
610 | ## [0.14.0] (10.08.2018)
|
611 | ### New & Noteworthy
|
612 | * Using tree-shaking to reduce the amount of shipped code.
|
613 | * TypeScript and JavaScript coloring is now done with Monarch.
|
614 | * `typescriptServices` is no longer loaded on the UI thread, this helps with webpack's bundle output size.
|
615 | * Added coloring for: apex, azcli, clojure, powerquery, rust, scheme and shell.
|
616 | * Added sub-word navigation commands.
|
617 | * Added font zoom commands.
|
618 | * Syntax highlighting for deleted lines in inline diff editor.
|
619 | * Highlighted indent guide.
|
620 | * Column selection using middle mouse button.
|
621 | * Added editor options: `scrollBeyondLastColumn`, `hover`, `suggest`, `highlightActiveIndentGuide`, `showUnused`.
|
622 | * Added `setTokensProvider` with `EncodedTokensProvider`.
|
623 | * Added `monaco.languages.getEncodedLanguageId` to get the numeric language id.
|
624 | * `DefinitionProvider.provideDefinition`, `ImplementationProvider.provideImplementation`, `TypeDefinitionProvider.provideTypeDefinition` can now return a `DefinitionLink`.
|
625 |
|
626 | ### Breaking Changes
|
627 | * Removed no longer used `Severity`.
|
628 | * Renamed `IEditor.isFocused` to `IEditor.hasTextFocus`.
|
629 | * Renamed `ICodeEditor.onDidFocusEditor` to `ICodeEditor.onDidFocusEditorWidget`.
|
630 | * Renamed `ICodeEditor.onDidBlurEditor` to `ICodeEditor.onDidBlurEditorWidget`.
|
631 | * `DocumentSymbolProvider.provideDocumentSymbols` must now return `DocumentSymbol[]`.
|
632 |
|
633 | ### Thank you
|
634 |
|
635 | Contributions to `monaco-editor`:
|
636 |
|
637 | * [Ali Mirlou (@AliMirlou)](https://github.com/AliMirlou): Fix typo [PR #952](https://github.com/Microsoft/monaco-editor/pull/952)
|
638 | * [Avelino (@avelino)](https://github.com/avelino): added clojure exampple [PR #904](https://github.com/Microsoft/monaco-editor/pull/904)
|
639 | * [Sebastián Gurin (@cancerberoSgx)](https://github.com/cancerberoSgx): fix small error in integration docs [PR #957](https://github.com/Microsoft/monaco-editor/pull/957)
|
640 | * [Haegyun Jung (@haeguri)](https://github.com/haeguri): Fix playground sample option [PR #962](https://github.com/Microsoft/monaco-editor/pull/962)
|
641 | (https://github.com/Microsoft/monaco-editor/pull/914)
|
642 | * [Myles Scolnick (@mscolnick)](https://github.com/mscolnick): add sideEffects false for tree-shaking in webpack [PR #981](https://github.com/Microsoft/monaco-editor/pull/981)
|
643 | * [Niklas Mollenhauer (@nikeee)](https://github.com/nikeee): Fix hash comment in xdot sample [PR #916](https://github.com/Microsoft/monaco-editor/pull/916)
|
644 | * [Remy Suen (@rcjsuen)](https://github.com/rcjsuen): Add folding provider sample to the playground [PR #878](https://github.com/Microsoft/monaco-
|
645 |
|
646 | Contributions to `monaco-typescript`:
|
647 |
|
648 | * [Fathy Boundjadj (@fathyb)](https://github.com/fathyb): Use Markdown code block for hover tooltip [PR #20](https://github.com/Microsoft/monaco-typescript/pull/20)
|
649 | * [Matt McCutchen (@mattmccutchen)](https://github.com/mattmccutchen): Clear the `file` fields of `relatedInformation` too. (WIP) [PR #21](https://github.com/Microsoft/monaco-typescript/pull/21)
|
650 |
|
651 | Contributions to `monaco-languages`:
|
652 |
|
653 | * [Avelino (@avelino)](https://github.com/avelino)
|
654 | * upgrade all language support (today) [PR #35](https://github.com/Microsoft/monaco-languages/pull/35)
|
655 | * Clojure support [PR #36](https://github.com/Microsoft/monaco-languages/pull/36)
|
656 | * Clojure: added more keywords [PR #37](https://github.com/Microsoft/monaco-languages/pull/37)
|
657 | * [Faris Masad (@masad-frost)](https://github.com/masad-frost)
|
658 | * Fix Clojure syntax highlighting [PR #38](https://github.com/Microsoft/monaco-languages/pull/38)
|
659 | * Add Scheme language [PR #34](https://github.com/Microsoft/monaco-languages/pull/34)
|
660 | * Add auto-indentation for python [PR #33](https://github.com/Microsoft/monaco-languages/pull/33)
|
661 | * [Matt Masson (@mattmasson)](https://github.com/mattmasson): Add support for Power Query (M) language [PR #42](https://github.com/Microsoft/monaco-languages/pull/42)
|
662 | * [Oli Lane (@olane)](https://github.com/olane): Add Apex language [PR #44](https://github.com/Microsoft/monaco-languages/pull/44)
|
663 | * [Viktar Pakanechny (@Vityanchys)](https://github.com/Vityanchys): Added azcli [PR #43](https://github.com/Microsoft/monaco-languages/pull/43)
|
664 | * [zqlu (@zqlu)](https://github.com/zqlu)
|
665 | * Add Shell language [PR #39](https://github.com/Microsoft/monaco-languages/pull/39)
|
666 | * Add Perl language [PR #40](https://github.com/Microsoft/monaco-languages/pull/40)
|
667 | * add perl to bundle.js [PR #41](https://github.com/Microsoft/monaco-languages/pull/41)
|
668 |
|
669 | ## [0.13.1] (15.05.2018)
|
670 | - Fixes [issue #871](https://github.com/Microsoft/monaco-editor/issues/871): TypeScript import error after mocaco-editor upgraded from 0.12 to 0.13
|
671 |
|
672 | ## [0.13.0] (11.05.2018)
|
673 | ### New & Noteworthy
|
674 | * New folding provider `registerFoldingRangeProvider`.
|
675 | * You can now specifies the stack order of a decoration by setting `IModelDecorationOptions.zIndex`. A decoration with greater stack order is always in front of a decoration with a lower stack order.
|
676 | * You can now tell Monaco if there is an `inlineClassName` which affects letter spacing. the stack order of a decoration by setting `IModelDecorationOptions.inlineClassNameAffectsLetterSpacing`.
|
677 | * Get the text length for a certain line on text model (`ITextModel.getLineLength(lineNumber: number)`)
|
678 | * New option `codeActionsOnSave`, controls whether code action kinds will be run on save.
|
679 | * New option `codeActionsOnSaveTimeout`, controls timeout for running code actions on save.
|
680 | * New option `multiCursorMergeOverlapping`, controls if overlapping selections should be merged. Default to `true`.
|
681 |
|
682 | ### Breaking Change
|
683 | * Removed `ICodeEditor.getCenteredRangeInViewport`.
|
684 | * `RenameProvider.resolveRenameLocation` now returns `RenameLocation` instead of `IRange`.
|
685 |
|
686 | ### Thank you
|
687 | * [Sergey Romanov @Serhioromano](https://github.com/Serhioromano): Add new language Structured Text support [PR monaco-languages#32](https://github.com/Microsoft/monaco-languages/pull/32)
|
688 | * [Yukai Huang @Yukaii](https://github.com/Yukaii): Fix backspace in IME composition on iOS Safari [PR vscode#40546](https://github.com/Microsoft/vscode/pull/40546)
|
689 |
|
690 | ## [0.12.0] (11.04.2018)
|
691 | * Special thanks to [Tim Kendrick](https://github.com/timkendrick) for contributing a webpack plugin - `monaco-editor-webpack-plugin` - now available on [npm](https://www.npmjs.com/package/monaco-editor-webpack-plugin).
|
692 |
|
693 | ### Breaking changes
|
694 | * Introduced `MarkerSeverity` instead of `Severity` for markers serverity.
|
695 | * Replaced `RenameProvider.resolveInitialRenameValue` with `RenameProvider.resolveRenameLocation`.
|
696 | * Fixed typo in `monaco-typescript`, renamed `setMaximunWorkerIdleTime` to `setMaximumWorkerIdleTime`.
|
697 |
|
698 | ### Thank you
|
699 | * [Remy Suen @rcjsuen](https://github.com/rcjsuen): Fix conversion code from MarkedString to IMarkdownString in hovers [PR monaco-css#5](https://github.com/Microsoft/monaco-css/pull/5)
|
700 | * [Peng Xiao @pengx17](https://github.com/pengx17): fix an issue of `fromMarkdownString` [PR monaco-json#4](https://github.com/Microsoft/monaco-json/pull/4)
|
701 | * [TJ Kells @systemsoverload](https://github.com/systemsoverload): Add rust colorization support [PR monaco-languages#31](https://github.com/Microsoft/monaco-languages/pull/31)
|
702 |
|
703 | ## [0.11.1] (15.03.2018)
|
704 | - Fixes [issue #756](https://github.com/Microsoft/monaco-editor/issues/756): Can't use "Enter" key to accept an IntelliSense item
|
705 | - Fixes [issue #757](https://github.com/Microsoft/monaco-editor/issues/757): TypeScript errors in `editor.api.d.ts` typings
|
706 |
|
707 | ## [0.11.0] (14.03.2018)
|
708 |
|
709 | ### New & Noteworthy
|
710 | * **ESM distribution** (compatible with e.g. webpack).
|
711 | * New interval tree decorations implementation.
|
712 | * New piece tree text buffer implementation.
|
713 | * The minimap can be placed to the left.
|
714 | * Line numbers can be displayed in an interval.
|
715 | * The cursor width can be customized.
|
716 | * Smooth scrolling can be turned on.
|
717 | * Color decorators and color picker via `DocumentColorProvider`.
|
718 |
|
719 | ### Breaking changes
|
720 | * Replaced `MarkedString` with `IMarkdownString`. Source code snippets can be expressed using the GH markdown syntax.
|
721 | * Renamed `IResourceEdit` to `ResourceTextEdit`.
|
722 |
|
723 | ### API changes
|
724 | * Merged `IModel`, `IReadOnlyModel`, `IEditableTextModel`, `ITextModelWithMarkers`, `ITokenizedModel`, `ITextModelWithDecorations` to `ITextModel`. A type alias for `IModel` is defined for compatibility.
|
725 | * Merged `ICommonCodeEditor` and `ICodeEditor` to `ICodeEditor`.
|
726 | * Merged `ICommonDiffEditor` and `IDiffEditor` to `IDiffEditor`.
|
727 | * `CompletionItem.documentation`, `ParameterInformation.documentation` and `SignatureInformation.documentation` can now be an `IMarkdownString`.
|
728 | * Added `CompetionItem.command`, `CompletionItem.commitCharacters` and `CompletionItem.additionalTextEdits`.
|
729 | * Added language configuration `folding` which can define markers for code patterns where a folding regions should be created. See for example the [Python configuration](https://github.com/Microsoft/monaco-languages/blob/d2db3faa76b741bf4ee822c403fc355c913bc46d/src/python/python.ts#L35-L41).
|
730 | * Added by accident `ResourceFileEdit` (due to how `monaco.d.ts` is generated from vscode). That is not honoured by the editor, and should not be used.
|
731 |
|
732 | ### Thank you
|
733 | * [Remy Suen @rcjsuen](https://github.com/rcjsuen):
|
734 | * Fix a small typo in README.md [PR monaco-typescript#18](https://github.com/Microsoft/monaco-typescript/pull/18)
|
735 | * Remove unused IDisposable array [PR monaco-typescript#19](https://github.com/Microsoft/monaco-typescript/pull/19)
|
736 | * Add HEALTHCHECK as a Dockerfile keyword [PR monaco-languages#29](https://github.com/Microsoft/monaco-languages/pull/29)
|
737 | * Add ARG as a Dockerfile keyword [PR monaco-languages#30](https://github.com/Microsoft/monaco-languages/pull/30)
|
738 | * [Can Abacigil @abacigil](https://github.com/abacigil): MySQL, Postgres, Redshift and Redis Language Support [PR monaco-languages#26](https://github.com/Microsoft/monaco-languages/pull/26)
|
739 | * [Matthias Kadenbach @mattes](https://github.com/mattes): Support Content-Security-Policy syntax highlighting [PR monaco-languages#27](https://github.com/Microsoft/monaco-languages/pull/27)
|
740 | * [e.vakili @evakili](https://github.com/evakili): Whitespaces after # are allowed in C++ preprocessor statements [PR monaco-languages#28](https://github.com/Microsoft/monaco-languages/pull/28)
|
741 | * [Pankaj Kumar Gautam @PAPERPANKS](https://github.com/PAPERPANKS): adding microsoft logo to footer [PR monaco-editor#577](https://github.com/Microsoft/monaco-editor/pull/577)
|
742 | * [Dominik Moritz @domoritz](https://github.com/domoritz): Fix code in changelog [PR monaco-editor#582](https://github.com/Microsoft/monaco-editor/pull/582)
|
743 | * [ItsPugle @ItsPugle](https://github.com/ItsPugle): Updating the footer to reflect change of year [PR monaco-editor#707](https://github.com/Microsoft/monaco-editor/pull/707)
|
744 | * [Michael Seifert @MSeifert04](https://github.com/MSeifert04): Add linebreak for if [PR monaco-editor#726](https://github.com/Microsoft/monaco-editor/pull/726)
|
745 | * [Andrew Palm @apalm](https://github.com/apalm): Fix 'Configure JSON defaults' sample [PR monaco-editor#731](https://github.com/Microsoft/monaco-editor/pull/731)
|
746 | * [Niklas Mollenhauer @nikeee](https://github.com/nikeee): Fix line number API usage [PR monaco-editor#740](https://github.com/Microsoft/monaco-editor/pull/740)
|
747 | * [Andre @anc](https://github.com/anc): More realistic terminal shell [PR monaco-editor#742](https://github.com/Microsoft/monaco-editor/pull/742)
|
748 | * to the many others that have contributed PRs to [vscode](https://github.com/Microsoft/vscode) which have also made their way into the monaco-editor.
|
749 |
|
750 |
|
751 | ## [0.10.1] (16.10.2017)
|
752 | - Fixes [issue #601](https://github.com/Microsoft/monaco-editor/issues/601): window.opener should be set to null to protect against malicious code
|
753 |
|
754 | ## [0.10.0] (17.08.2017)
|
755 |
|
756 | ### Breaking changes
|
757 | * Removed `CodeAction`.
|
758 | * Method `provideCodeActions` in `CodeActionProvider` now returns `Command[] | Thenable<Command[]>` instead of `CodeAction[] | Thenable<CodeAction[]>`, which is already removed.
|
759 |
|
760 | ### API changes
|
761 | * added `monaco.editor.getModelMarkers`. Get markers for owner and/or resource.
|
762 |
|
763 | ### Notable Fixes
|
764 | * No longer use CSS class `.row` for command palette to avoid CSS conflicts with Bootstrap.
|
765 | * Fix Accessibility Help Dialog accessible issue on IE/Edge.
|
766 | * Fix Find Widget CSS compatibility issues with IE11.
|
767 | * Toggle Block Comment can remove extra whitespaces.
|
768 |
|
769 | ### Thank you
|
770 | * [Kitson Kelly @kitsonk](https://github.com/kitsonk): Update monaco-typescript to TypeScript 2.4.1 [PR monaco-typescript#15](https://github.com/Microsoft/monaco-typescript/pull/15)
|
771 | * [@duncanwerner](https://github.com/duncanwerner): Add hex number tokenization to R language [PR monaco-languages#21](https://github.com/Microsoft/monaco-languages/pull/21)
|
772 | * [Remy Suen @rcjsuen](https://github.com/rcjsuen): Update Dockerfile grammar with STOPSIGNAL and SHELL instructions [PR monaco-languages#22](https://github.com/Microsoft/monaco-languages/pull/22)
|
773 | * [Marlene Cota @marlenecota](https://github.com/marlenecota): Add Small Basic support [PR monaco-languages#23](https://github.com/Microsoft/monaco-languages/pull/23)
|
774 | * [Ben Jacobson @bjacobso](https://github.com/bjacobso): Add LIMIT to sql keywords [PR monaco-languages#24](https://github.com/Microsoft/monaco-languages/pull/24)
|
775 | * to the many others that have contributed PRs to [vscode](https://github.com/Microsoft/vscode) which have also made their way into the monaco-editor.
|
776 |
|
777 | ## [0.9.0] (03.07.2017)
|
778 |
|
779 | ### New & Noteworthy
|
780 | * Minimap (on by default, use `editor.minimap` to disable it).
|
781 | * Drag and Drop (on by default, use `editor.dragAndDrop` to disable it).
|
782 | * Copy text with formatting.
|
783 |
|
784 | ### Accessibility
|
785 | * There is a new [guide for making the editor accessible to all](https://github.com/Microsoft/monaco-editor/wiki/Accessibility-Guide-for-Integrators).
|
786 | * There is a new Alt+F1 (Ctrl+F1 in IE) accessibility help panel.
|
787 | * There is a new F8/Shift+F8 diff review panel in the diff editor.
|
788 | * Many bugfixes, including now respecting the Windows High Contrast Theme on Edge.
|
789 |
|
790 | ### Breaking changes
|
791 |
|
792 | * A lot has changed w.r.t. how themes work in the editor, mostly driven by the work to support theming in VS Code. `editor.updateOptions()` **no longer accepts `theme`**; the theme can be changed via the newly introduced `monaco.editor.setTheme()`. Additionally, we recommend editor colors be customized via `monaco.editor.defineTheme()` instead of via CSS -- see [sample](https://microsoft.github.io/monaco-editor/playground.html#customizing-the-appearence-exposed-colors). The color names will be stable, while the CSS class names might break at any time.
|
793 | * Support for the internal snippet syntax **has been discontinued** and snippet must now use the official, TextMate-like syntax. Find its grammar and samples [here](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax).
|
794 | * Changed `IModel.findMatches` to accept a list of word separators.
|
795 | * Changed the shape of the `IModelContentChangedEvent` emitted via `IModel.onDidChangeContent` to **now contain a batch** of all the changes that the model had.
|
796 | * No longer using `transform: translate3d`, now using `will-change: transform` for browser layer hinting. Use the `disableLayerHinting` option if you have any trouble with browser layers (blurriness or high GPU memory usage).
|
797 | * Simplified wrapping settings: `wordWrap`, `wordWrapColumn` and `wordWrapMinified`.
|
798 |
|
799 | ### API changes
|
800 |
|
801 | * added `monaco.languages.registerTypeDefinitionProvider`.
|
802 | * new editor options:
|
803 | * `accessibilityHelpUrl` - the url of a page to open for documentation about how to operate the editor when using a Screen Reader.
|
804 | * `find.seedSearchStringFromSelection` - Ctrl+F/Cmd+F seeds search string from the editor selection.
|
805 | * `find.autoFindInSelection` - Ctrl+F/Cmd+F turns on the find in selection toggle if the editor selection is multiline.
|
806 | * `minimap.enabled` - enable minimap.
|
807 | * `minimap.showSlider` - control when to render the minimap slider.
|
808 | * `minimap.renderCharacters` - render characters or blocks in the minimap.
|
809 | * `minimap.maxColumn` - maximum number of columns the minimap shows.
|
810 | * `overviewRulerBorder` - toggle that the overview ruler renders a border.
|
811 | * `links` - enable link detection.
|
812 | * `multiCursorModifier` - change the multi cursor modifier key.
|
813 | * `accessibilitySupport` - optimize the editor for use with a Screen Reader.
|
814 | * `autoIndent` - automatically fix indentation when moving lines, pasting or typing.
|
815 | * `dragAndDrop` - dragging and dropping editor selection within the editor.
|
816 | * `occurrencesHighlight` - enable highlighting of occurences.
|
817 | * `showFoldingControls` - fine-tune when the folding icons should show
|
818 | * `matchBrackets` - enable bracket matching
|
819 | * `letterSpacing` - configure font's letter-spacing.
|
820 |
|
821 | ### Thank you
|
822 | * [Joey Marianer (@jmarianer)](https://github.com/jmarianer): Support literal interpolated strings ($@"") [PR monaco-languages#13](https://github.com/Microsoft/monaco-languages/pull/13)
|
823 | * [@AndersMad](https://github.com/AndersMad): HTML Tags: Add support for dash and fix colon in end tag [PR monaco-languages#14](https://github.com/Microsoft/monaco-languages/pull/14)
|
824 | * [Sandy Armstrong (@sandyarmstrong)](https://github.com/sandyarmstrong): csharp: add support for binary literals and _ as separator [PR monaco-languages#16](https://github.com/Microsoft/monaco-languages/pull/16)
|
825 | * [Anton Kosyakov (@akosyakov)](https://github.com/akosyakov): Include src as a part of npm package [PR monaco-languages#17](https://github.com/Microsoft/monaco-languages/pull/17)
|
826 | * [Andrew Bonventre (@andybons)](https://github.com/andybons): Fix typo: concering → concerning [PR monaco-languages#18](https://github.com/Microsoft/monaco-languages/pull/18)
|
827 | * [Scott McMaster (@scottmcmaster)](https://github.com/scottmcmaster): MSDAX support [PR monaco-languages#19](https://github.com/Microsoft/monaco-languages/pull/19)
|
828 | * [Luzian Serafin (@lserafin)](https://github.com/lserafin): Add Solidity [PR monaco-languages#20](https://github.com/Microsoft/monaco-languages/pull/20)
|
829 | * [Kitson Kelly (@kitsonk)](https://github.com/kitsonk): Update to TypeScript 2.3.4 [PR monaco-typescript#13](https://github.com/Microsoft/monaco-typescript/pull/13)
|
830 | * [Kitson Kelly (@kitsonk)](https://github.com/kitsonk): Add documentation support on hover [PR monaco-typescript#14](https://github.com/Microsoft/monaco-typescript/pull/14)
|
831 | * [@replacepreg](https://github.com/replacepreg): Updating date at footer [PR monaco-editor#409](https://github.com/Microsoft/monaco-editor/pull/409)
|
832 | * [Aarin Smith (@aarinsmith)](https://github.com/aarinsmith): Fixed spelling error in README.md:85 'instantion' -> 'instantiation' [PR monaco-editor#440](https://github.com/Microsoft/monaco-editor/pull/440)
|
833 | * to the many others that have contributed PRs to [`vscode`](https://github.com/Microsoft/vscode) which have also made their way into the `monaco-editor`.
|
834 |
|
835 | ---
|
836 |
|
837 | ## [0.8.3] (03.03.2017)
|
838 | - Fixes an issue in monaco-typescript where it would attempt to validate a disposed model.
|
839 |
|
840 | ---
|
841 |
|
842 | ## [0.8.2] (01.03.2017)
|
843 | - Fixes the following regressions:
|
844 | - [issue #385](https://github.com/Microsoft/monaco-editor/issues/385): Cannot add action to the left-hand-side of the diff editor
|
845 | - [issue #386](https://github.com/Microsoft/monaco-editor/issues/386): Shortcuts for actions added via editor.addAction don't show up in the Command Palette
|
846 | - [issue #387](https://github.com/Microsoft/monaco-editor/issues/387): Cannot change diff editor to a custom theme based on high contrast
|
847 |
|
848 | ---
|
849 |
|
850 | ## [0.8.1] (27.01.2017)
|
851 | - CSS/JSON/HTML language supports updated:
|
852 | - CSS: Support for @apply
|
853 | - SCSS: Map support
|
854 | - New HTML formatter options: unformatedContent, wrapAttributes
|
855 | - Fixed issue where the editor was throwing in Safari due to `Intl` missing.
|
856 | - Fixed multiple issues where the editor would not position the cursor correctly when using browser zooming.
|
857 |
|
858 | ### API
|
859 | - Added `disableMonospaceOptimizations` editor option that can be used in case browser zooming exposes additional issues.
|
860 | - Added `formatOnPaste` editor option.
|
861 | - Added `IActionDescriptor.precondition`.
|
862 | - **Breaking change**: renamed `registerTypeDefinitionProvider` to `registerImplementationProvider` and associated types.
|
863 |
|
864 | ---
|
865 |
|
866 | ## [0.8.0] (18.01.2017)
|
867 | - This release has been brewing for a while and comes with quite a number of important changes.
|
868 | - There are many bugfixes and speed/memory usage improvements.
|
869 | - Now shipping TypeScript v2.1.5 in `monaco-typescript` (JS and TS language support).
|
870 |
|
871 | ### No longer supporting IE9 and IE10
|
872 | - we have not made the editor fail on purpose in these browsers, but we have removed IE9/IE10 targeted workarounds from our codebase;
|
873 | - now using **Typed Arrays** in a number of key places resulting in considerable speed boosts and lower memory consumption.
|
874 |
|
875 | ### Monarch Tokenizer
|
876 | - Monarch states are now memoized up to a depth of 5. This results in considerable memory improvements for files with many lines.
|
877 | - Speed improvements to Monarch tokenizer that resulted in one **breaking change**:
|
878 | - when entering an embedded mode (i.e. `nextEmbedded`), the state ending up in must immediately contain a `nextEmbedded: "@pop"` rule. This helps in quickly figuring out where the embedded mode should be left. The editor will throw an error if the Monarch grammar does not respect this condition.
|
879 |
|
880 | ### Tokens are styled in JS (not in CSS anymore)
|
881 | - This is a **breaking change**
|
882 | - Before, token types would be rendered on the `span` node of text, and CSS rules would match token types and assign styling to them (i.e. color, boldness, etc.to style tokens)
|
883 | - To enable us to build something like a minimap, we need to know the text color in JavaScript, and we have therefore moved the token style matching all to JavaScript. In the future, we foresee that even decorations will have to define their color in JavaScript.
|
884 | - It is possible to create a custom theme via a new API method `monaco.editor.defineTheme()` and the playground contains a sample showing how that works.
|
885 | - Token types can be inspected via `F1` > `Developer: Inspect tokens`. This will bring up a widget showing the token type and the applied styles.
|
886 |
|
887 | ### API changes:
|
888 |
|
889 | #### Namespaces
|
890 | - added `monaco.editor.onDidCreateEditor` that will be fired whenever an editor is created (will fire even for a diff editor, with the two editors that a diff editor consists of).
|
891 | - added `monaco.editor.tokenize` that returns logical tokens (before theme matching, as opposed to `monaco.editor.colorize`).
|
892 | - added `monaco.languages.registerTypeDefinitionProvider`
|
893 |
|
894 | #### Models
|
895 | - removed `IModel.getMode()`.
|
896 | - structural changes in the events `IModelLanguageChangedEvent`, `IModelDecorationsChangedEvent` and `IModelTokensChangedEvent`;
|
897 | - changed `IModel.findMatches`, `IModel.findNextMatch` and `IModel.findPreviousMatch` to be able to capture matches while searching.
|
898 |
|
899 | #### Editors
|
900 | - `ICodeEditor.addAction` and `IDiffEditor.addAction` now return an `IDisposable` to be able to remove a previously added action.
|
901 | - renamed `ICodeEditor.onDidChangeModelMode ` to `ICodeEditor.onDidChangeModelLanguage`;
|
902 | - `ICodeEditor.executeEdits` can now take resulting selection for better undo/redo stack management;
|
903 | - added `ICodeEditor.getTargetAtClientPoint(clientX, clientY)` to be able to do hit testing.
|
904 | - added `IViewZone.marginDomNode` to be able to insert a dom node in the margin side of a view zone.
|
905 | - settings:
|
906 | - `lineDecorationsWidth` can now take a value in the form of `"1.2ch"` besides the previous accepted number (in px)
|
907 | - `renderLineHighlight` can now take a value in the set `'none' | 'gutter' | 'line' | 'all'`.
|
908 | - added `fixedOverflowWidgets` to render overflowing content widgets as `'fixed'` (defaults to false)
|
909 | - added `acceptSuggestionOnCommitCharacter` to accept suggestions on provider defined characters (defaults to true)
|
910 | - added `emptySelectionClipboard` - copying without a selection copies the current line (defaults to true)
|
911 | - added `suggestFontSize` - the font size for the suggest widget
|
912 | - added `suggestLineHeight` - the line height for the suggest widget
|
913 | - diff editor settings:
|
914 | - added `renderIndicators` - Render +/- indicators for added/deleted changes. (defaults to true)
|
915 |
|
916 | ### Thank you
|
917 | * [Nico Tonozzi (@nicot)](https://github.com/nicot): Register React file extensions [PR monaco-typescript#12](https://github.com/Microsoft/monaco-typescript/pull/12)
|
918 | * [Jeong Woo Chang (@inspiredjw)](https://github.com/inspiredjw): Cannot read property 'uri' of null fix [PR vscode#13263](https://github.com/Microsoft/vscode/pull/13263)
|
919 | * [Jan Pilzer(@Hirse)](https://github.com/Hirse): Add YAML samples [PR monaco-editor#242](https://github.com/Microsoft/monaco-editor/pull/242)
|
920 |
|
921 | ---
|
922 |
|
923 | ## [0.7.1] (07.10.2016)
|
924 | - Bugfixes in monaco-html, including fixing formatting.
|
925 |
|
926 | ---
|
927 |
|
928 | ## [0.7.0] (07.10.2016)
|
929 | - Adopted TypeScript 2.0 in all the repos (also reflected in `monaco.d.ts`).
|
930 | - Added YAML colorization support.
|
931 | - Brought back the ability to use `editor.addAction()` and have the action show in the context menu.
|
932 | - Web workers now get a nice label next to the script name.
|
933 |
|
934 | ### API changes:
|
935 | - settings:
|
936 | - new values for `lineNumbers`: `'on' | 'off' | 'relative'`
|
937 | - new values for `renderWhitespace`: `'none' | 'boundary' | 'all'`
|
938 | - removed `model.setMode()`, as `IMode` will soon disappear from the API.
|
939 |
|
940 | ### Debt work
|
941 | - Removed HTML, razor, PHP and handlebars from `monaco-editor-core`:
|
942 | - the `monaco-editor-core` is now finally language agnostic.
|
943 | - coloring for HTML, razor, PHP and handlebars is now coming in from `monaco-languages`.
|
944 | - language smarts for HTML, razor and handlebars now comes from `monaco-html`.
|
945 | - Packaging improvements:
|
946 | - thanks to the removal of the old languages from `monaco-editor-core`, we could improve the bundling and reduce the number of .js files we ship.
|
947 | - we are thinking about simplifying this further in the upcoming releases.
|
948 |
|
949 | ### Thank you
|
950 | * [Sandy Armstrong (@sandyarmstrong)](https://github.com/sandyarmstrong): csharp: allow styling #r/#load [PR monaco-languages#9](https://github.com/Microsoft/monaco-languages/pull/9)
|
951 | * [Nico Tonozzi (@nicot)](https://github.com/nicot): Go: add raw string literal syntax [PR monaco-languages#10](https://github.com/Microsoft/monaco-languages/pull/10)
|
952 | * [Jason Killian (@JKillian)](https://github.com/JKillian): Add vmin and vmax CSS units [PR monaco-languages#11](https://github.com/Microsoft/monaco-languages/pull/11)
|
953 | * [Jan Pilzer (@Hirse)](https://github.com/Hirse): YAML colorization [PR monaco-languages#12](https://github.com/Microsoft/monaco-languages/pull/12)
|
954 | * [Sam El-Husseini (@microsoftsam)](https://github.com/microsoftsam): Using Cmd+Scroll to zoom on a mac [PR vscode#12477](https://github.com/Microsoft/vscode/pull/12477)
|
955 |
|
956 | ---
|
957 |
|
958 | ## [0.6.1] (06.09.2016)
|
959 | - Fixed regression where `editor.addCommand` was no longer working.
|
960 |
|
961 | ---
|
962 |
|
963 | ## [0.6.0] (05.09.2016)
|
964 | - This will be the last release that contains specific IE9 and IE10 fixes/workarounds. We will begin cleaning our code-base and remove them.
|
965 | - We plan to adopt TypeScript 2.0, so this will be the last release where `monaco.d.ts` is generated by TypeScript 1.8.
|
966 | - `javascript` and `typescript` language services:
|
967 | - exposed API to get to the underlying language service.
|
968 | - fixed a bug that prevented modifying `extraLibs`.
|
969 | - Multiple improvements/bugfixes to the `css`, `less`, `scss` and `json` language services.
|
970 | - Added support for ATS/Postiats.
|
971 |
|
972 | ### API changes:
|
973 | - settings:
|
974 | - new: `mouseWheelZoom`, `wordWrap`, `snippetSuggestions`, `tabCompletion`, `wordBasedSuggestions`, `renderControlCharacters`, `renderLineHighlight`, `fontWeight`.
|
975 | - removed: `tabFocusMode`, `outlineMarkers`.
|
976 | - renamed: `indentGuides` -> `renderIndentGuides`, `referenceInfos` -> `codeLens`
|
977 | - added `editor.pushUndoStop()` to explicitly push an undo stop
|
978 | - added `suppressMouseDown` to `IContentWidget`
|
979 | - added optional `resolveLink` to `ILinkProvider`
|
980 | - removed `enablement`, `contextMenuGroupId` from `IActionDescriptor`
|
981 | - removed exposed constants for editor context keys.
|
982 |
|
983 | ### Notable bugfixes:
|
984 | - Icons missing in the find widget in IE11 [#148](https://github.com/Microsoft/monaco-editor/issues/148)
|
985 | - Multiple context menu issues
|
986 | - Multiple clicking issues in IE11/Edge ([#137](https://github.com/Microsoft/monaco-editor/issues/137), [#118](https://github.com/Microsoft/monaco-editor/issues/118))
|
987 | - Multiple issues with the high-contrast theme.
|
988 | - Multiple IME issues in IE11, Edge and Firefox.
|
989 |
|
990 | ### Thank you
|
991 | * [Pavel Kolev (@paveldk)](https://github.com/paveldk): Fix sending message to terminated worker [PR vscode#10833](https://github.com/Microsoft/vscode/pull/10833)
|
992 | * [Pavel Kolev (@paveldk)](https://github.com/paveldk): Export getTypeScriptWorker & getJavaScriptWorker to monaco.languages.typescript [PR monaco-typescript#8](https://github.com/Microsoft/monaco-typescript/pull/8)
|
993 | * [Sandy Armstrong (@sandyarmstrong)](https://github.com/sandyarmstrong): Support CompletionItemKind.Method. [PR vscode#10225](https://github.com/Microsoft/vscode/pull/10225)
|
994 | * [Sandy Armstrong (@sandyarmstrong)](https://github.com/sandyarmstrong): Fix show in IE11 [PR vscode#10309](https://github.com/Microsoft/vscode/pull/10309)
|
995 | * [Sandy Armstrong (@sandyarmstrong)](https://github.com/sandyarmstrong): Correct docs for IEditorScrollbarOptions.useShadows [PR vscode#11312](https://github.com/Microsoft/vscode/pull/11312)
|
996 | * [Artyom Shalkhakov (@ashalkhakov)](https://github.com/ashalkhakov): Adding support for ATS/Postiats [PR monaco-languages#5](https://github.com/Microsoft/monaco-languages/pull/5)
|
997 |
|
998 | ---
|
999 |
|
1000 | ## [0.5.1] (24.06.2016)
|
1001 |
|
1002 | - Fixed mouse handling in IE
|
1003 |
|
1004 | ---
|
1005 |
|
1006 | ## [0.5.0] (24.06.2016)
|
1007 |
|
1008 | ### Breaking changes
|
1009 | - `monaco.editor.createWebWorker` now loads the AMD module and calls `create` and passes in as first argument a context of type `monaco.worker.IWorkerContext` and as second argument the `initData`. This **breaking change** was needed to allow handling the case of misconfigured web workers (running on a file protocol or the cross-domain case)
|
1010 | - the `CodeActionProvider.provideCodeActions` now gets passed in a `CodeActionContext` that contains the markers at the relevant range.
|
1011 | - the `hoverMessage` of a decoration is now a `MarkedString | MarkedString[]`
|
1012 | - the `contents` of a `Hover` returned by a `HoverProvider` is now a `MarkedString | MarkedString[]`
|
1013 | - removed deprecated `IEditor.onDidChangeModelRawContent`, `IModel.onDidChangeRawContent`
|
1014 |
|
1015 | ### Notable fixes
|
1016 | - Broken configurations (loading from `file://` or misconfigured cross-domain loading) now load the web worker code in the UI thread. This caused a **breaking change** in the behaviour of `monaco.editor.createWebWorker`
|
1017 | - The right-pointing mouse pointer is oversized in high DPI - [issue](https://github.com/Microsoft/monaco-editor/issues/5)
|
1018 | - The editor functions now correctly when hosted inside a `position:fixed` element.
|
1019 | - Cross-origin configuration is now picked up (as advertised in documentation from MonacoEnvironment)
|
1020 |
|
1021 | [0.24.0]: https://github.com/Microsoft/monaco-editor/compare/v0.23.0...v0.24.0
|
1022 | [0.23.0]: https://github.com/Microsoft/monaco-editor/compare/v0.22.3...v0.23.0
|
1023 | [0.22.3]: https://github.com/Microsoft/monaco-editor/compare/v0.22.2...v0.22.3
|
1024 | [0.22.2]: https://github.com/Microsoft/monaco-editor/compare/v0.22.1...v0.22.2
|
1025 | [0.22.1]: https://github.com/Microsoft/monaco-editor/compare/v0.22.0...v0.22.1
|
1026 | [0.22.0]: https://github.com/Microsoft/monaco-editor/compare/v0.21.3...v0.22.0
|
1027 | [0.21.3]: https://github.com/Microsoft/monaco-editor/compare/v0.21.2...v0.21.3
|
1028 | [0.21.2]: https://github.com/Microsoft/monaco-editor/compare/v0.21.1...v0.21.2
|
1029 | [0.21.1]: https://github.com/Microsoft/monaco-editor/compare/v0.21.0...v0.21.1
|
1030 | [0.21.0]: https://github.com/Microsoft/monaco-editor/compare/v0.20.0...v0.21.0
|
1031 | [0.20.0]: https://github.com/Microsoft/monaco-editor/compare/v0.19.3...v0.20.0
|
1032 | [0.19.3]: https://github.com/Microsoft/monaco-editor/compare/v0.19.2...v0.19.3
|
1033 | [0.19.2]: https://github.com/Microsoft/monaco-editor/compare/v0.19.1...v0.19.2
|
1034 | [0.19.1]: https://github.com/Microsoft/monaco-editor/compare/v0.20.0...v0.19.1
|
1035 | [0.19.0]: https://github.com/Microsoft/monaco-editor/compare/v0.18.1...v0.19.0
|
1036 | [0.18.1]: https://github.com/Microsoft/monaco-editor/compare/v0.18.0...v0.18.1
|
1037 | [0.18.0]: https://github.com/Microsoft/monaco-editor/compare/v0.17.1...v0.18.0
|
1038 | [0.17.1]: https://github.com/Microsoft/monaco-editor/compare/v0.17.0...v0.17.1
|
1039 | [0.17.0]: https://github.com/Microsoft/monaco-editor/compare/v0.16.2...v0.17.0
|
1040 | [0.16.2]: https://github.com/Microsoft/monaco-editor/compare/v0.16.1...v0.16.2
|
1041 | [0.16.1]: https://github.com/Microsoft/monaco-editor/compare/v0.16.0...v0.16.1
|
1042 | [0.16.0]: https://github.com/Microsoft/monaco-editor/compare/v0.15.6...v0.16.0
|
1043 | [0.15.6]: https://github.com/Microsoft/monaco-editor/compare/v0.15.5...v0.15.6
|
1044 | [0.15.5]: https://github.com/Microsoft/monaco-editor/compare/v0.15.4...v0.15.5
|
1045 | [0.15.4]: https://github.com/Microsoft/monaco-editor/compare/v0.15.3...v0.15.4
|
1046 | [0.15.3]: https://github.com/Microsoft/monaco-editor/compare/v0.15.2...v0.15.3
|
1047 | [0.15.2]: https://github.com/Microsoft/monaco-editor/compare/v0.15.1...v0.15.2
|
1048 | [0.15.1]: https://github.com/Microsoft/monaco-editor/compare/v0.15.0...v0.15.1
|
1049 | [0.15.0]: https://github.com/Microsoft/monaco-editor/compare/v0.14.3...v0.15.0
|
1050 | [0.14.3]: https://github.com/Microsoft/monaco-editor/compare/v0.14.2...v0.14.3
|
1051 | [0.14.2]: https://github.com/Microsoft/monaco-editor/compare/v0.14.1...v0.14.2
|
1052 | [0.14.1]: https://github.com/Microsoft/monaco-editor/compare/v0.14.0...v0.14.1
|
1053 | [0.14.0]: https://github.com/Microsoft/monaco-editor/compare/v0.13.1...v0.14.0
|
1054 | [0.13.1]: https://github.com/Microsoft/monaco-editor/compare/v0.13.0...v0.13.1
|
1055 | [0.13.0]: https://github.com/Microsoft/monaco-editor/compare/v0.12.0...v0.13.0
|
1056 | [0.12.0]: https://github.com/Microsoft/monaco-editor/compare/v0.11.1...v0.12.0
|
1057 | [0.11.1]: https://github.com/Microsoft/monaco-editor/compare/v0.11.0...v0.11.1
|
1058 | [0.11.0]: https://github.com/Microsoft/monaco-editor/compare/v0.10.1...v0.11.0
|
1059 | [0.10.1]: https://github.com/Microsoft/monaco-editor/compare/v0.10.0...v0.10.1
|
1060 | [0.10.0]: https://github.com/Microsoft/monaco-editor/compare/v0.9.0...v0.10.0
|
1061 | [0.9.0]: https://github.com/Microsoft/monaco-editor/compare/v0.8.3...v0.9.0
|
1062 | [0.8.3]: https://github.com/Microsoft/monaco-editor/compare/v0.8.2...v0.8.3
|
1063 | [0.8.2]: https://github.com/Microsoft/monaco-editor/compare/v0.8.1...v0.8.2
|
1064 | [0.8.1]: https://github.com/Microsoft/monaco-editor/compare/v0.8.0...v0.8.1
|
1065 | [0.6.1]: https://github.com/Microsoft/monaco-editor/compare/v0.6.0...v0.6.1
|
1066 | [0.6.0]: https://github.com/Microsoft/monaco-editor/compare/v0.5.1...v0.6.0
|
1067 | [0.5.1]: https://github.com/Microsoft/monaco-editor/compare/v0.5.0...v0.5.1
|