From ac4311880fd59383e1408647581cf996fb53fec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 4 Feb 2022 01:07:26 +0100 Subject: [PATCH] v1.18.2 --- Cargo.lock | 2 +- Releases.md | 15 +++++++++++++++ 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, 21 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 465b0887eb..ecba847000 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -710,7 +710,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.18.1" +version = "1.18.2" dependencies = [ "atty", "base64 0.13.0", diff --git a/Releases.md b/Releases.md index b7b32f46a5..8c62b72008 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,21 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.18.2 / 2022.02.03 + +- feat(unstable): add Deno.getUid (#13496) +- fix: don't crash when $HOME is a relative path (#13581) +- fix(cli): handle extensionless imports better (#13548) +- fix(cli): handle local files with query params on emit (#13568) +- fix(cli/dts/webgpu): make GPUBlendComponent properties optional (#13574) +- fix(ext/crypto): enforce 128bits tagLength for AES-GCM decryption (#13536) +- fix(ext/crypto): utf16 jwk encoding (#13535) +- fix(lsp): properly display x-deno-warning with redirects (#13554) +- fix(lsp): regression where certain diagnostics were showing for disabled files + (#13530) +- fix(repl): tab completions (#13540) +- perf(lsp): cancellable TS diagnostics (#13565) + ### 1.18.1 / 2022.01.27 - feat(unstable): add Deno.networkInterfaces (#13475) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3a2be4bb05..83b7a4d342 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.18.1" +version = "1.18.2" authors = ["the Deno authors"] default-run = "deno" edition = "2021" diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs index 77dbc3e057..3cf1dbd006 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.123.0/node/http.ts").unwrap(); + Url::parse("https://deno.land/std@0.125.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 abfffb2d27..d53092ee7e 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.123.0/"; +static STD_URL_STR: &str = "https://deno.land/std@0.125.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 e18644acbe..de910979c2 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.123.0/" + "std/": "https://deno.land/std@0.125.0/" } } diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs index e26d232276..596cc3f4c4 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.123.0/collections/find_single.ts"; +import { findSingle } from "https://deno.land/std@0.125.0/collections/find_single.ts"; import os from "node:os"; console.log(sortBy([2, 3, 1], (it) => it));