diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-01-20 21:49:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 21:49:30 +0530 |
commit | 2ea535c8c1817a20a3915e350242423ee71cfa73 (patch) | |
tree | 0f279c36d8017a56bd43a0ed21d2a40121e1731d | |
parent | 16776c9ade8325182ac589b0955a7e94394b021a (diff) |
1.18.0
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Releases.md | 42 | ||||
-rw-r--r-- | cli/Cargo.toml | 2 | ||||
-rw-r--r-- | cli/compat/esm_resolver.rs | 2 | ||||
-rw-r--r-- | cli/compat/mod.rs | 2 | ||||
-rw-r--r-- | cli/tests/testdata/compat/import_map.json | 2 | ||||
-rw-r--r-- | cli/tests/testdata/compat/import_map_https_imports.mjs | 2 |
7 files changed, 48 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock index 041a434d8..7f58e144b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.17.3" +version = "1.18.0" dependencies = [ "atty", "base64 0.13.0", diff --git a/Releases.md b/Releases.md index b1d51a95b..f80456be8 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,48 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.18.0 / 2022.01.20 + +- feat: auto-discover config file (#13313) +- feat: output `cause` on JS runtime errors (#13209) +- feat: stabilize test steps API (#13400) +- feat(cli, runtime): compress snapshots (#13320) +- feat(cli): add ignore directives to bundled code (#13309) +- feat(compat) preload Node.js built-in modules in global vars REPL (#13127) +- feat(ext/crypto): implement AES-GCM decryption (#13319) +- feat(ext/crypto): implement AES-GCM encryption (#13119) +- feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey (#13286) +- feat(ext/crypto): implement pkcs8/JWK for P-384 curves (#13154) +- feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH + (#13104) +- feat(ext/crypto): JWK support for unwrapKey/wrapKey (#13261) +- feat(ext/crypto): support AES-CTR encrypt/decrypt (#13177) +- feat(ext/crypto): support importing raw EC keys (#13079) +- feat(ext/ffi): infer symbol types (#13221) +- feat(ext/ffi): support alias names for symbol definitions (#13090) +- feat(ext/ffi): UnsafeFnPointer API (#13340) +- feat(ext/websocket): add header support to WebSocketStream (#11887) +- feat(ext/websocket): server automatically handle ping/pong for incoming + WebSocket (#13172) +- feat(lsp): provide registry details on hover if present (#13294) +- feat(runtime): add op_network_interfaces (#12964) +- feat(serde_v8): deserialize ArrayBuffers (#13436) +- feat(streams): reject pending reads when releasing reader (#13375) +- feat(test): Add support for "deno test --compat" (#13235) +- fix(cli): Don't strip shebangs from modules (#13220) +- fix(cli): fix `deno install --prompt` (#13349) +- fix(cli/dts): add NotSupported error type (#13432) +- fix(ext/console): don't depend on globalThis present (#13387) +- fix(ext/crypto): validate maskGenAlgorithm asn1 in importKey (#13421) +- fix(ext/ffi): `pointer` type can accept `null` (#13335) +- fix(fmt): markdown formatting should not remove backslashed backslash at start + of paragraph (#13429) +- fix(lsp): better handling of registry config errors (#13418) +- fix(runtime): don't crash when window is deleted (#13392) +- fix(streams): update TypeError message for pending reads when releasing reader + (#13376) +- fix(tsc): Add typings for `Intl.ListFormat` (#13301) + ### 1.17.3 / 2022.01.12 - fix: Get lib.deno_core.d.ts to parse correctly (#13238) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 198540705..77aa6bbe8 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.17.3" +version = "1.18.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 389e34c1b..714683157 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.121.0/node/http.ts").unwrap(); + Url::parse("https://deno.land/std@0.122.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 8299febe3..3a03a5e79 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.121.0/"; +static STD_URL_STR: &str = "https://deno.land/std@0.122.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 3faa13c82..39d16bad7 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.121.0/" + "std/": "https://deno.land/std@0.122.0/" } } diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs index 3b8075838..fe4dbb417 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.121.0/collections/find_single.ts"; +import { findSingle } from "https://deno.land/std@0.122.0/collections/find_single.ts"; import os from "node:os"; console.log(sortBy([2, 3, 1], (it) => it)); |