Procházet zdrojové kódy

Prepare for 0.19.0

Alex Dima před 5 roky
rodič
revize
ccfa555758
6 změnil soubory, kde provedl 899 přidání a 1081 odebrání
  1. 54 0
      CHANGELOG.md
  2. 1 1
      gulpfile.js
  3. 407 525
      monaco.d.ts
  4. 23 23
      package-lock.json
  5. 7 7
      package.json
  6. 407 525
      website/playground/monaco.d.ts.txt

+ 54 - 0
CHANGELOG.md

@@ -1,5 +1,59 @@
 # Monaco Editor Changelog
 # Monaco Editor Changelog
 
 
+## [0.19.0] (20.12.2019)
+
+### New & Noteworthy
+
+* It is now possible to pass in a `dimension` in the editor construction options in order to avoid a synchronous layout.
+* There is new API to provide semantic tokens.
+* New options:
+  * `multiCursorPaste`: define how to distribute paste in case of multi-cursor
+  * `matchBrackets`: control if enclosing brackets should be highlighted
+* Fixes for tokenization in: TypeScript, JavaScript, Handlebars, Kotlin and VB.
+
+### Breaking changes
+
+* `getConfiguration()` is replaced by `getRawOptions()`, which returns the passed in editor options.
+
+### Thank you
+
+Contributions to `monaco-editor`:
+
+* [Lars Hvam (@larshp)](https://github.com/larshp)
+  * contributing: add details for running website locally [PR #1617](https://github.com/microsoft/monaco-editor/pull/1617)
+  * playground: update symbols-provider-example [PR #1616](https://github.com/microsoft/monaco-editor/pull/1616)
+* [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)
+
+Contributions to `monaco-editor-webpack-plugin`:
+* [Dominik Moritz (@domoritz)](https://github.com/domoritz): Bump to 0.16 [PR #62](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/62)
+* [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)
+* [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)
+* [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)
+* [James Diefenderfer (@jimmydief)](https://github.com/jimmydief)
+  * Add support for plugin-specific public path [PR #81](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/81)
+  * Add support for dynamic filenames [PR #83](https://github.com/microsoft/monaco-editor-webpack-plugin/pull/83)
+
+Contributions to `monaco-languages`:
+
+* [Maksym Bykovskyy (@mbykovskyy)](https://github.com/mbykovskyy): Adds cameligo language support [PR #75](https://github.com/microsoft/monaco-languages/pull/75)
+* [Steven Degutis (@sdegutis)](https://github.com/sdegutis): Adds Markdown Table syntax highlighting [PR #73](https://github.com/microsoft/monaco-languages/pull/73)
+* [Sergey Romanov (@Serhioromano)](https://github.com/Serhioromano): Improvements to ST language [PR #76](https://github.com/microsoft/monaco-languages/pull/76)
+* [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)
+
+Contributions to `monaco-typescript`:
+
+* [Denys Vuika (@DenysVuika)](https://github.com/DenysVuika): register multiple extra libs at once [PR #24](https://github.com/microsoft/monaco-typescript/pull/24)
+* [Elizabeth Craig (@ecraig12345)](https://github.com/ecraig12345)
+  * Generate and publish typings for package [PR #50](https://github.com/microsoft/monaco-typescript/pull/50)
+  * Remove another require call [PR #49](https://github.com/microsoft/monaco-typescript/pull/49)
+* [@katis](https://github.com/katis): Update TypeScript to 3.7.2 [PR #51](https://github.com/microsoft/monaco-typescript/pull/51)
+* [Tamas Kiss (@kisstkondoros)](https://github.com/kisstkondoros): Add documentation to signature help [PR #52](https://github.com/microsoft/monaco-typescript/pull/52)
+* [Lars Hvam (@larshp)](https://github.com/larshp): fix typo [PR #45](https://github.com/microsoft/monaco-typescript/pull/45)
+* [Sebastian Pahnke (@spahnke)](https://github.com/spahnke)
+  * Provide related information to diagnostics [PR #48](https://github.com/microsoft/monaco-typescript/pull/48)
+  * Adopt monaco.MarkerTag API [PR #47](https://github.com/microsoft/monaco-typescript/pull/47)
+  * Add support to ignore certain diagnostics [PR #46](https://github.com/microsoft/monaco-typescript/pull/46)
+
 ## [0.18.1] (19.09.2019)
 ## [0.18.1] (19.09.2019)
 
 
 * 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)
 * 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)

+ 1 - 1
gulpfile.js

@@ -453,7 +453,7 @@ function addPluginDTS() {
 		contents = [
 		contents = [
 			'/*!-----------------------------------------------------------',
 			'/*!-----------------------------------------------------------',
 			' * Copyright (c) Microsoft Corporation. All rights reserved.',
 			' * Copyright (c) Microsoft Corporation. All rights reserved.',
-			' * Type definitions for monaco-editor v'+MONACO_EDITOR_VERSION,
+			' * Type definitions for monaco-editor',
 			' * Released under the MIT license',
 			' * Released under the MIT license',
 			'*-----------------------------------------------------------*/',
 			'*-----------------------------------------------------------*/',
 		].join('\n') + '\n' + contents + '\n' + extraContent.join('\n');
 		].join('\n') + '\n' + contents + '\n' + extraContent.join('\n');

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 407 - 525
monaco.d.ts


+ 23 - 23
package-lock.json

@@ -3637,7 +3637,7 @@
     },
     },
     "is-obj": {
     "is-obj": {
       "version": "1.0.1",
       "version": "1.0.1",
-      "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
+      "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
       "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
       "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
       "dev": true
       "dev": true
     },
     },
@@ -4520,39 +4520,39 @@
       }
       }
     },
     },
     "monaco-css": {
     "monaco-css": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/monaco-css/-/monaco-css-2.5.1.tgz",
-      "integrity": "sha512-oIQGRFs+eqT8Zq7edPmfFkyxTi6hcN691e3xzGuPtMH6pW5vGW2+1krtLMdh6MlqNMQ5EnF5GCny/t65MyhXLQ==",
+      "version": "2.6.0",
+      "resolved": "https://registry.npmjs.org/monaco-css/-/monaco-css-2.6.0.tgz",
+      "integrity": "sha512-p+qZxteFlSkWx2pXnK9k11FKvC8q3qt1gL2yH4F3bLjKs1ngD65XncVxC5fuKdMhH23im9dv/ZF6rKP93+04tg==",
       "dev": true
       "dev": true
     },
     },
     "monaco-editor-core": {
     "monaco-editor-core": {
-      "version": "0.18.1",
-      "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.18.1.tgz",
-      "integrity": "sha512-euzXzmwjZFG0oAPGjICMwINcZBzQDyfGDYlAR5YNMBJZO9Bmkqq1xpTTze/qQ0KKbVmawFXiwgUbg7WVgebP9Q==",
+      "version": "0.19.0",
+      "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.19.0.tgz",
+      "integrity": "sha512-wD60zpYDhsuJbzzLQigAteK2cA5fkuaDn+4c7NLwm/526OX5eL6MMvLhfvRgrDvLO00SYhFf6vz1y1C8M1hTpQ==",
       "dev": true
       "dev": true
     },
     },
     "monaco-html": {
     "monaco-html": {
-      "version": "2.5.3",
-      "resolved": "https://registry.npmjs.org/monaco-html/-/monaco-html-2.5.3.tgz",
-      "integrity": "sha512-q6t7xi8iK3o81GxZVXChoN8NPsJOQ0Dm2vZjpOAEIWpeOVdxELcTDnkcvQBahhVMRoJjhj+jSn1+F4HZBO6kvQ==",
+      "version": "2.6.0",
+      "resolved": "https://registry.npmjs.org/monaco-html/-/monaco-html-2.6.0.tgz",
+      "integrity": "sha512-UVvgqFFuzCjwsfINKmc2nm4qvQhBsu1luw4lUz+YF3CxAcVQBmscWiz5fb6/MFRG77K0h+7uADseNmc9APzEgA==",
       "dev": true
       "dev": true
     },
     },
     "monaco-json": {
     "monaco-json": {
-      "version": "2.7.0",
-      "resolved": "https://registry.npmjs.org/monaco-json/-/monaco-json-2.7.0.tgz",
-      "integrity": "sha512-MKMA+XRnWxxB0q694FJwlKFaMmaEagyfLFDPQ7TYHHQxznAuAU7VxKdL6cicdtEsDgB8mEbOhnKbB+bQMTfDDA==",
+      "version": "2.8.0",
+      "resolved": "https://registry.npmjs.org/monaco-json/-/monaco-json-2.8.0.tgz",
+      "integrity": "sha512-Qnu4zt6yQ68nq6OP5f9Nt+Kt+kf8uJK2tw+4JE8BpmBkA3Gy+H2QHYtikp2K6k7x3yrDfr4cw1xRAPxmS1hatA==",
       "dev": true
       "dev": true
     },
     },
     "monaco-languages": {
     "monaco-languages": {
-      "version": "1.8.0",
-      "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.8.0.tgz",
-      "integrity": "sha512-vC/lqNgSslQT3vSlNOpyT34ELK0eoNbA/rHUvTUjQemIiR1GpRMKhuwB21BqzWk+0MjZuJydGSCQMCebBge7jg==",
+      "version": "1.9.0",
+      "resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.9.0.tgz",
+      "integrity": "sha512-FAP2tF4Kwz5xYEBO3iSoyYAFjnk6IpW9YSMjnkNIR8bqb21uT7pZFSRu3j1MdoG0c+P/LdQH/VSHSXBTI5wdbw==",
       "dev": true
       "dev": true
     },
     },
     "monaco-typescript": {
     "monaco-typescript": {
-      "version": "3.5.1",
-      "resolved": "https://registry.npmjs.org/monaco-typescript/-/monaco-typescript-3.5.1.tgz",
-      "integrity": "sha512-MRnGTwN4elJ9bZPxvtdl735le9zLsoDkOEbXNlUE2fhz5RNqAX+Fuc6xLzfCLM3WF2nr4ExKsHHg2K61jQnWxA==",
+      "version": "3.6.1",
+      "resolved": "https://registry.npmjs.org/monaco-typescript/-/monaco-typescript-3.6.1.tgz",
+      "integrity": "sha512-VXzS/s/YoQlolf7zRsM7PGVhY+HUTTHcLzFCx1QxuyOpoY1uFlUaMeTIV/AMYzMjSqHIiJ58kNiWjoP1YNsaAQ==",
       "dev": true
       "dev": true
     },
     },
     "move-concurrently": {
     "move-concurrently": {
@@ -4870,7 +4870,7 @@
       "dependencies": {
       "dependencies": {
         "minimist": {
         "minimist": {
           "version": "0.0.10",
           "version": "0.0.10",
-          "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
+          "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
           "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",
           "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",
           "dev": true
           "dev": true
         }
         }
@@ -7502,9 +7502,9 @@
       }
       }
     },
     },
     "yaserver": {
     "yaserver": {
-      "version": "0.1.2",
-      "resolved": "https://registry.npmjs.org/yaserver/-/yaserver-0.1.2.tgz",
-      "integrity": "sha512-g+tGCFT5L5byArdXUvBSiMtYIt0QbjFZXvM0wcWKoKqkc3sv430rvflRpvNSVmM0g7hfkVI7c+o264yJ68G9lQ==",
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/yaserver/-/yaserver-0.2.0.tgz",
+      "integrity": "sha512-onsELrl7Y42M4P3T9R0N/ZJNJRu4cGwzhDyOWIFRMJvPUIrGKInYGh+DJBefrbr1qoyDu7DSCLl9BL5hSSVfDA==",
       "dev": true
       "dev": true
     },
     },
     "yauzl": {
     "yauzl": {

+ 7 - 7
package.json

@@ -33,12 +33,12 @@
     "gulp": "^4.0.0",
     "gulp": "^4.0.0",
     "gulp-typedoc": "^2.2.2",
     "gulp-typedoc": "^2.2.2",
     "mocha": "^6.2.2",
     "mocha": "^6.2.2",
-    "monaco-css": "2.5.1",
-    "monaco-editor-core": "0.18.1",
-    "monaco-html": "2.5.3",
-    "monaco-json": "2.7.0",
-    "monaco-languages": "1.8.0",
-    "monaco-typescript": "3.5.1",
+    "monaco-css": "2.6.0",
+    "monaco-editor-core": "0.19.0",
+    "monaco-html": "2.6.0",
+    "monaco-json": "2.8.0",
+    "monaco-languages": "1.9.0",
+    "monaco-typescript": "3.6.1",
     "puppeteer": "^1.15.0",
     "puppeteer": "^1.15.0",
     "rimraf": "^2.6.3",
     "rimraf": "^2.6.3",
     "style-loader": "^1.0.1",
     "style-loader": "^1.0.1",
@@ -48,6 +48,6 @@
     "vinyl": "^2.2.0",
     "vinyl": "^2.2.0",
     "webpack": "^4.41.2",
     "webpack": "^4.41.2",
     "webpack-cli": "^3.3.10",
     "webpack-cli": "^3.3.10",
-    "yaserver": "^0.1.2"
+    "yaserver": "^0.2.0"
   }
   }
 }
 }

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 407 - 525
website/playground/monaco.d.ts.txt


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů