diff --git a/Cargo.lock b/Cargo.lock index 3b84734647..553b3c7c99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -636,7 +636,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.16.4" +version = "1.17.0" dependencies = [ "atty", "base64 0.13.0", diff --git a/Releases.md b/Releases.md index c83bb1dab8..9c298917dd 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,61 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.17.0 / 2021.12.16 + +- feat: add `--no-check=remote` flag (#12766) +- feat: Add support for import assertions and JSON modules (#12866) +- feat: REPL import specifier auto-completions (#13078) +- feat: support abort reasons in Deno APIs and `WebSocketStream` (#13066) +- feat: support compat mode in REPL (#12882) +- feat(cli): update to TypeScript 4.5 (#12410) +- feat(core): Add ability to "ref" and "unref" pending ops (#12889) +- feat(core): intercept unhandled promise rejections (#12910) +- feat(ext/crypto): implement unwrapKey (#12539) +- feat(ext/crypto): support `importKey` in SPKI format (#12921) +- feat(ext/crypto): support exporting RSA JWKs (#13081) +- feat(ext/crypto): support importing ECSDA and ECDH (#13088) +- feat(ext/crypto): support importing exporting AES JWK keys (#12444) +- feat(ext/crypto): support importing RSA JWKs (#13071) +- feat(ext/fetch): Support `WebAssembly.instantiateStreaming` for file fetches + (#12901) +- feat(ext/fetch): support abort reasons in fetch (#13106) +- feat(ext/ffi): implement UnsafePointer and UnsafePointerView (#12828) +- feat(ext/net): ALPN support in `Deno.connectTls()` (#12786) +- feat(ext/net): enable sending to broadcast address (#12860) +- feat(ext/timers): add refTimer, unrefTimer API (#12953) +- feat(ext/web): implement `AbortSignal.prototype.throwIfAborted()` (#13044) +- feat(lsp): add type definition provider (#12789) +- feat(lsp): add workspace symbol provider (#12787) +- feat(lsp): improve registry completion suggestions (#13023) +- feat(lsp): registry suggestion cache respects cache headers (#13010) +- feat(repl): add --unsafe-ignore-certificate-errors flag (#13045) +- feat(runtime): add op_set_exit_code (#12911) +- feat(streams): support abort reasons in streams (#12991) +- feat(test): Add more overloads for "Deno.test" (#12749) +- feat(watch): clear screen on each restart (#12613) +- feat(watch): support watching external files (#13087) +- fix: support "other" event type in FSWatcher (#12836) +- fix(cli): config file should resolve paths relative to the config file + (#12867) +- fix(cli): don't add colors for non-tty outputs (#13031) +- fix(cli): don't cache .tsbuildinfo unless emitting (#12830) +- fix(cli): fix slow test, unbreak ci (#12897) +- fix(cli): skip bundling for pre-bundled code in "compile" (#12687) +- fix(ext/crypto): throw on key & op algo mismatch (#12838) +- fix(ext/crypto): various cleanup in JWK imports (#13092) +- fix(ext/net): make unix and tcp identical on close (#13075) +- fix(ext/timers): fix flakiness of `httpConnAutoCloseDelayedOnUpgrade` test + (#13017) +- fix(ext/web): set location undefined when `--location` is not specified + (#13046) +- fix(lsp): handle import specifier not having a trailing quote (#13074) +- fix(lsp): lsp should respect include/exclude files in format config (#12876) +- fix(lsp): normalize urls in did_change_watched_files (#12873) +- fix(lsp): provide diagnostics for import assertions (#13105) +- fix(workers): Make `worker.terminate()` not immediately kill the isolate + (#12831) + ### 1.16.4 / 2021.12.03 - fix(core): Wake up the runtime if there are ticks scheduled (#12933) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1b8c4fe269..096628ce7a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.16.4" +version = "1.17.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 3a3d31e1fb..5e379e5765 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.117.0/node/http.ts").unwrap(); + Url::parse("https://deno.land/std@0.118.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 8083471f09..54f8b5fde9 100644 --- a/cli/compat/mod.rs +++ b/cli/compat/mod.rs @@ -15,7 +15,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.117.0/"; +static STD_URL_STR: &str = "https://deno.land/std@0.118.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 22ee3b0daa..6db072ad24 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.117.0/" + "std/": "https://deno.land/std@0.118.0/" } } diff --git a/cli/tests/testdata/compat/import_map_https_imports.mjs b/cli/tests/testdata/compat/import_map_https_imports.mjs index e64030da0f..4fdf16facf 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.117.0/collections/find_single.ts"; +import { findSingle } from "https://deno.land/std@0.118.0/collections/find_single.ts"; import os from "node:os"; console.log(sortBy([2, 3, 1], (it) => it));