From 551ace40cc513403a6a0cfd21304a2f9a1db7ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 17 Feb 2022 01:54:07 +0100 Subject: [PATCH] v1.19.0 --- Cargo.lock | 2 +- Releases.md | 33 +++++++++++++++++++ cli/Cargo.toml | 2 +- cli/compat/esm_resolver.rs | 2 +- cli/compat/mod.rs | 2 +- cli/tests/testdata/compat/import_map.json | 2 +- .../compat/import_map_https_imports.mjs | 2 +- 7 files changed, 39 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 105d68a784..7ce03fc72e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -719,7 +719,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.18.2" +version = "1.19.0" dependencies = [ "atty", "base64 0.13.0", diff --git a/Releases.md b/Releases.md index 8c62b72008..2f3d3e5289 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,39 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.19.0 / 2022.02.17 + +- feat: Add Deno.FsFile, deprecate Deno.File (#13660) +- feat: Add hint to permission prompt to display allow flag (#13695) +- feat: deno vendor (#13670) +- feat: never prompt for hrtime permission (#13696) +- feat: permission prompt by default (#13650) +- feat(compat): support --compat in web workers (#13629) +- feat(compile): Replace bundling with eszip in deno compile (#13563) +- feat(coverage): add "--output" flag (#13289) +- feat(ext/console): better circular information in object inspection (#13555) +- feat(ext/http): add support for unix domain sockets (#13628) +- feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive (#13103) +- feat(ext/web): add CompressionStream API (#11728) +- feat(lsp): add redirect diagnostic and quick fix (#13580) +- feat(lsp): provide completions from import map if available (#13624) +- feat(lsp): support linking to symbols in JSDoc on hover (#13631) +- feat(runtime): stabilize addSignalListener API (#13438) +- feat(runtime): web streams in fs & net APIs (#13615) +- feat(test): better errors for resource sanitizer (#13296) +- feat(test): improved op sanitizer errors + traces (#13676) +- feat(watch): add "--no-clear-screen" flag (#13454) +- fix(compat): ESM resolver for package subpath (#13599) +- fix(ext/console): fix uncaught TypeError in css styling (#13567) +- fix(ext/console): print circular ref indicator in cyan (#13684) +- fix(ext/crypto): optional additionalData in encrypt/decrypt (#13669) +- fix(ext/crypto): support EC p256 private key material in exportKey (#13547) +- fix(lsp): do not panic getting root_uri to auto discover configuration file + (#13603) +- fix(lsp): independent diagnostic publishing should include all diagnostic + sources on each publish (#13483) +- fix(lsp): op_exists handles bad specifiers (#13612) + ### 1.18.2 / 2022.02.03 - feat(unstable): add Deno.getUid (#13496) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c356d0f46d..1523abc7a0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.18.2" +version = "1.19.0" authors = ["the Deno authors"] default-run = "deno" edition = "2021" diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs index 357a95de84..d2b45ba0f5 100644 --- a/cli/compat/esm_resolver.rs +++ b/cli/compat/esm_resolver.rs @@ -1234,7 +1234,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.125.0/node/http.ts").unwrap(); + Url::parse("https://deno.land/std@0.126.0/node/http.ts").unwrap(); let actual = node_resolve("http", main.as_str(), &cwd).unwrap(); assert!(matches!(actual, ResolveResponse::Esm(_))); diff --git a/cli/compat/mod.rs b/cli/compat/mod.rs index d53092ee7e..375edc9a77 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.125.0/"; +static STD_URL_STR: &str = "https://deno.land/std@0.126.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 de910979c2..8488f0140c 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.125.0/" + "std/": "https://deno.land/std@0.126.0/" } } diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs index 596cc3f4c4..d8c2a89c2a 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.125.0/collections/find_single.ts"; +import { findSingle } from "https://deno.land/std@0.126.0/collections/find_single.ts"; import os from "node:os"; console.log(sortBy([2, 3, 1], (it) => it));