mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
v1.17.0
This commit is contained in:
parent
e0cba6b19b
commit
5f11f87495
7 changed files with 61 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -636,7 +636,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno"
|
name = "deno"
|
||||||
version = "1.16.4"
|
version = "1.17.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"base64 0.13.0",
|
"base64 0.13.0",
|
||||||
|
|
55
Releases.md
55
Releases.md
|
@ -6,6 +6,61 @@ https://github.com/denoland/deno/releases
|
||||||
We also have one-line install commands at:
|
We also have one-line install commands at:
|
||||||
https://github.com/denoland/deno_install
|
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
|
### 1.16.4 / 2021.12.03
|
||||||
|
|
||||||
- fix(core): Wake up the runtime if there are ticks scheduled (#12933)
|
- fix(core): Wake up the runtime if there are ticks scheduled (#12933)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "deno"
|
name = "deno"
|
||||||
version = "1.16.4"
|
version = "1.17.0"
|
||||||
authors = ["the Deno authors"]
|
authors = ["the Deno authors"]
|
||||||
default-run = "deno"
|
default-run = "deno"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ mod tests {
|
||||||
let cwd = testdir("basic");
|
let cwd = testdir("basic");
|
||||||
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
|
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
|
||||||
let expected =
|
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();
|
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
|
||||||
println!("actual {}", actual);
|
println!("actual {}", actual);
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub(crate) use esm_resolver::NodeEsmResolver;
|
||||||
// each release, a better mechanism is preferable, but it's a quick and dirty
|
// 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
|
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
|
||||||
// downloaded
|
// 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] = &[
|
static SUPPORTED_MODULES: &[&str] = &[
|
||||||
"assert",
|
"assert",
|
||||||
|
|
2
cli/tests/testdata/compat/import_map.json
vendored
2
cli/tests/testdata/compat/import_map.json
vendored
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"std/": "https://deno.land/std@0.117.0/"
|
"std/": "https://deno.land/std@0.118.0/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { sortBy } from "std/collections/sort_by.ts";
|
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";
|
import os from "node:os";
|
||||||
|
|
||||||
console.log(sortBy([2, 3, 1], (it) => it));
|
console.log(sortBy([2, 3, 1], (it) => it));
|
||||||
|
|
Loading…
Reference in a new issue