From c86c7346a89878ca37b969e0118d98f81b7ffa91 Mon Sep 17 00:00:00 2001 From: David Gonzalez Date: Sat, 10 Oct 2020 14:36:54 -0400 Subject: [PATCH] Missing breaking change I'm not sure what release starting 0.21.0 caused it, not other methods being static now beyond parse() and file() in monaco.uri. Regards and keep doing this amazing project awesomER! --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f73a4da..baaf5d26 100644 --- a/CHANGELOG.md +++ b/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).