From ded77918fbd324c6d4038127bfce60380d56397d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 22 Dec 2021 18:48:06 +0100 Subject: [PATCH] v1.17.1 --- Cargo.lock | 2 +- Releases.md | 12 ++++++++++++ cli/Cargo.toml | 2 +- cli/compat/esm_resolver.rs | 2 +- cli/compat/mod.rs | 2 +- cli/tests/testdata/compat/import_map.json | 2 +- .../testdata/compat/import_map_https_imports.mjs | 2 +- 7 files changed, 18 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f3c300e2b4..771d551071 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -636,7 +636,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.17.0" +version = "1.17.1" dependencies = [ "atty", "base64 0.13.0", diff --git a/Releases.md b/Releases.md index 9c298917dd..cd14b479c6 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,18 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.17.1 / 2021.12.22 + +- feat(lsp, unstable): add code lens for debugging tests (#13138) +- feat(lsp, unstable): supply accept header when fetching registry config + (#13159) +- fix: inspector prompts (#13123) +- fix(coverage): Split sources by char index (#13114) +- fix(ext/ffi): use `c_char` instead of `i8` for reading strings (#13118) +- fix(ext/websocket): WebSocketStream don't error with "sending after closing" + when closing (#13134) +- fix(repl): support assertions on import & export declarations (#13121) + ### 1.17.0 / 2021.12.16 - feat: add `--no-check=remote` flag (#12766) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 4a2516badc..25bd91c38d 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.17.0" +version = "1.17.1" authors = ["the Deno authors"] default-run = "deno" edition = "2021" diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs index 5e379e5765..d2fdeaae05 100644 --- a/cli/compat/esm_resolver.rs +++ b/cli/compat/esm_resolver.rs @@ -1193,7 +1193,7 @@ mod tests { let cwd = testdir("basic"); let main = Url::from_file_path(cwd.join("main.js")).unwrap(); let expected = - Url::parse("https://deno.land/std@0.118.0/node/http.ts").unwrap(); + Url::parse("https://deno.land/std@0.119.0/node/http.ts").unwrap(); let actual = node_resolve("http", main.as_str(), &cwd).unwrap(); println!("actual {}", actual); diff --git a/cli/compat/mod.rs b/cli/compat/mod.rs index 14e168764b..de5e1cc488 100644 --- a/cli/compat/mod.rs +++ b/cli/compat/mod.rs @@ -16,7 +16,7 @@ pub(crate) use esm_resolver::NodeEsmResolver; // each release, a better mechanism is preferable, but it's a quick and dirty // solution to avoid printing `X-Deno-Warning` headers when the compat layer is // downloaded -static STD_URL_STR: &str = "https://deno.land/std@0.118.0/"; +static STD_URL_STR: &str = "https://deno.land/std@0.119.0/"; static SUPPORTED_MODULES: &[&str] = &[ "assert", diff --git a/cli/tests/testdata/compat/import_map.json b/cli/tests/testdata/compat/import_map.json index 6db072ad24..eea58edb44 100644 --- a/cli/tests/testdata/compat/import_map.json +++ b/cli/tests/testdata/compat/import_map.json @@ -1,5 +1,5 @@ { "imports": { - "std/": "https://deno.land/std@0.118.0/" + "std/": "https://deno.land/std@0.119.0/" } } diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs index 4fdf16facf..bfea1e0ede 100644 --- a/cli/tests/testdata/compat/import_map_https_imports.mjs +++ b/cli/tests/testdata/compat/import_map_https_imports.mjs @@ -1,5 +1,5 @@ import { sortBy } from "std/collections/sort_by.ts"; -import { findSingle } from "https://deno.land/std@0.118.0/collections/find_single.ts"; +import { findSingle } from "https://deno.land/std@0.119.0/collections/find_single.ts"; import os from "node:os"; console.log(sortBy([2, 3, 1], (it) => it));