Skip to content

Commit

Permalink
1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jan 20, 2022
1 parent 16776c9 commit 2ea535c
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions Releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[package]
name = "deno"
version = "1.17.3"
version = "1.18.0"
authors = ["the Deno authors"]
default-run = "deno"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion cli/compat/esm_resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion cli/compat/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/testdata/compat/import_map.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"imports": {
"std/": "https://deno.land/std@0.121.0/"
"std/": "https://deno.land/std@0.122.0/"
}
}
2 changes: 1 addition & 1 deletion cli/tests/testdata/compat/import_map_https_imports.mjs
Original file line number Diff line number Diff line change
@@ -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));
Expand Down

0 comments on commit 2ea535c

Please sign in to comment.