瀏覽代碼

Merge pull request #2186 from luminaxster/patch-1

Missing breaking change
Alexandru Dima 4 年之前
父節點
當前提交
722c968e81
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      CHANGELOG.md

+ 3 - 0
CHANGELOG.md

@@ -4,6 +4,9 @@
 
 Fixes [a regression in monaco-css](https://github.com/microsoft/monaco-editor/issues/2158).
 
+### Breaking changes
+* `monaco.uri` methods `file, from, isUri, joinPath, parse, revive` are now static. Changing `new monaco.uri.method` to `monaco.uri.method` resolves 'TypeError: monaco.Uri.file is not a constructor at...' errors.
+
 ## [0.21.1] (24.09.2020)
 
 Fixes [a few regressions](https://github.com/microsoft/monaco-editor/issues?q=is%3Aissue+milestone%3A%22August+2020+%282%29%22+is%3Aclosed).