From f92bb9cf4de6ed4b6a84a14775e0dbe4ed45291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 29 Apr 2020 23:04:05 +0200 Subject: [PATCH] v0.42.0 --- Cargo.lock | 6 +-- Releases.md | 103 +++++++++++++++++++++++++++++++++++++ cli/Cargo.toml | 10 ++-- core/Cargo.toml | 2 +- deno_typescript/Cargo.toml | 4 +- 5 files changed, 114 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7756e542a..dd58066c56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "deno" -version = "0.41.0" +version = "0.42.0" dependencies = [ "atty", "base64 0.12.0", @@ -511,7 +511,7 @@ dependencies = [ [[package]] name = "deno_core" -version = "0.41.0" +version = "0.42.0" dependencies = [ "derive_deref", "downcast-rs", @@ -527,7 +527,7 @@ dependencies = [ [[package]] name = "deno_typescript" -version = "0.41.0" +version = "0.42.0" dependencies = [ "deno_core", "serde", diff --git a/Releases.md b/Releases.md index af3f3f59b5..0db72e63eb 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,109 @@ https://github.com/denoland/deno/releases We also have one-line install commands at https://github.com/denoland/deno_install +### v0.42.0 / 2020.04.29 + +- BREAKING: "address" renamed to "path" in + UnixAddr/UnixConnectOptions/UnixListenOptions (#4959) +- BREAKING: Change DirEntry to not require extra stat syscall (#4941) +- BREAKING: Change order of args in Deno.copy() (#4885) +- BREAKING: Change order of copyN arguments (#4900) +- BREAKING: Change return type of Deno.resources() (#4893) +- BREAKING: Deno.chdir() should require --allow-write (#4889) +- BREAKING: Factor out Deno.listenDatagram(), mark as unstable (#4968) +- BREAKING: Make shutdown unstable and async (#4940) +- BREAKING: Make unix sockets require allow-write (#4939) +- BREAKING: Map-like interface for Deno.env (#4942) +- BREAKING: Mark --importmap as unstable (#4934) +- BREAKING: Mark Deno.dir() unstable (#4924) +- BREAKING: Mark Deno.kill() as unstable (#4950) +- BREAKING: Mark Deno.loadavg() and osRelease() as unstable (#4938) +- BREAKING: Mark Deno.setRaw() as unstable (#4925) +- BREAKING: Mark Deno.umask() unstable (#4935) +- BREAKING: Mark Deno.utime() as unstable (#4955) +- BREAKING: Mark runtime compile ops as unstable (#4912) +- BREAKING: Mark signal APIs as unstable (#4926) +- BREAKING: Remove Conn.closeRead (#4970) +- BREAKING: Remove Deno.EOF, use null instead (#4953) +- BREAKING: Remove Deno.OpenMode (#4884) +- BREAKING: Remove Deno.runTests() API (#4922) +- BREAKING: Remove Deno.symbols namespace (#4936) +- BREAKING: Remove combined io interface like ReadCloser (#4944) +- BREAKING: Remove overload of Deno.test() taking named function (#4951) +- BREAKING: Rename Deno.fsEvents() to Deno.watchFs() (#4886) +- BREAKING: Rename Deno.toAsyncIterator() to Deno.iter() (#4848) +- BREAKING: Rename FileInfo time fields and represent them as Date objects + (#4932) +- BREAKING: Rename SeekMode variants to camelCase and stabilize (#4946) +- BREAKING: Rename TLS APIs to camel case (#4888) +- BREAKING: Use LLVM target triple for Deno.build (#4948) +- BREAKING: introduce unstable flag; mark Deno.openPlugin, link, linkSync, + symlink, symlinkSync as unstable (#4892) +- BREAKING: make camel case readDir, readLink, realPath (#4995) +- BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992) +- BREAKING: std/node: require\_ -> require (#4828) +- feat(fmt): parallelize formatting (#4823) +- feat(installer): Add DENO_INSTALL_ROOT (#4787) +- feat(std/http): Improve parseHTTPVersion (#4930) +- feat(std/io): Increase copyN buffer size to match go implementation (#4904) +- feat(std/io): synchronous buffered writer (#4693) +- feat(std/path): Add fromFileUrl() (#4993) +- feat(std/uuid): Implement uuid v5 (#4916) +- feat(test): add quiet flag (#4894) +- feat: Add Deno.readTextFile(), Deno.writeTextFile(), with sync counterparts + (#4901) +- feat: Add buffer size argument to copy (#4907) +- feat: Add close method to Plugin (#4670) (#4785) +- feat: Change URL.port implementation to match WHATWG specifications (#4954) +- feat: Deno.startTLS() (#4773, #4965) +- feat: Make zero a valid port for URL (#4963) +- feat: add help messages to Deno.test() sanitizers (#4887) +- feat: support Deno namespace in Worker API (#4784) +- fix(core): Op definitions (#4814) +- fix(core): fix top-level-await error handling (#4911) +- fix(core/js_errors): Get error's name and message from JS fields (#4808) +- fix(format): stdin not formatting JSX (#4971) +- fix(installer): handle case-insensitive uri (#4909) +- fix(std): existsFile test +- fix(std/fs): move dest if not exists and overwrite (#4910) +- fix(std/io): Make std/io copyN write the whole read buffer (#4978) +- fix(std/mime): MultipartReader for big files (#4865) +- fix(std/node): bug fix and tests fs/mkdir (#4917) +- fix: bug in Deno.copy (#4977) +- fix: don't throw RangeError when an invalid date is passed (#4929) +- fix: make URLSearchParams more standardized (#4695) +- refactor(cli): Improve source line formatting (#4832) +- refactor(cli): Move resource_table from deno::State to deno_core::Isolate + (#4834) +- refactor(cli): Remove bootstrap methods from global scope after bootstrapping + (#4869) +- refactor(cli/doc): Factor out AstParser from DocParser (#4923) +- refactor(cli/inspector): Store debugger url on DenoInspector (#4793) +- refactor(cli/js): Rewrite streams (#4842) +- refactor(cli/js/io): Change type of stdio handles in JS api (#4891, #4952) +- refactor(cli/js/io): Rename sync io interfaces (#4945) +- refactor(cli/js/net): Deno.listener closes when breaking out of async iterator + (#4976) +- refactor(cli/js/permissions): Split read and write permission descriptors + (#4774) +- refactor(cli/js/testing): Rename disableOpSanitizer to sanitizeOps (#4854) +- refactor(cli/js/web): Change InspectOptions, mark Deno.inspect as stable + (#4967) +- refactor(cli/js/web): Decouple Console implementation from stdout (#4899) +- refactor(cli/ops): Replace block_on in net interfaces (#4796) +- refactor(cli|std): Add no-async-promise-executor lint rule (#4809) +- refactor(core): Modify op dispatcher to include &mut Isolate argument (#4821) +- refactor(core): Remove core/plugin.rs (#4824) +- refactor(core): Rename deno_core::Isolate to deno_core::CoreIsolate (#4851) +- refactor(core): add id field to RecursiveModuleLoad (#4905) +- refactor(std/log): support enum log level (#4859) +- refactor(std/node): proper Node polyfill directory iteration (#4783) +- upgrade: Rust 1.43.0 (#4871) +- upgrade: dprint 0.13.0 (#4816) +- upgrade: dprint 0.13.1 (#4853) +- upgrade: rusty_v8 v0.4.0 (#4856) +- chore: Mark Deno.Metrics and Deno.RunOptions as stable (#4949) + ### v0.41.0 / 2020.04.16 - BREAKING: Improve readdir() and FileInfo interfaces (#4763) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 0d614eaf9a..ed3941f3c4 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "0.41.0" +version = "0.42.0" license = "MIT" authors = ["the Deno authors"] edition = "2018" @@ -19,12 +19,12 @@ name = "deno" path = "main.rs" [build-dependencies] -deno_core = { path = "../core", version = "0.41.0" } -deno_typescript = { path = "../deno_typescript", version = "0.41.0" } +deno_core = { path = "../core", version = "0.42.0" } +deno_typescript = { path = "../deno_typescript", version = "0.42.0" } [dependencies] -deno_core = { path = "../core", version = "0.41.0" } -deno_typescript = { path = "../deno_typescript", version = "0.41.0" } +deno_core = { path = "../core", version = "0.42.0" } +deno_typescript = { path = "../deno_typescript", version = "0.42.0" } atty = "0.2.14" base64 = "0.12.0" diff --git a/core/Cargo.toml b/core/Cargo.toml index d05fdd3332..81ca245ba2 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_core" -version = "0.41.0" +version = "0.42.0" edition = "2018" description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio" authors = ["the Deno authors"] diff --git a/deno_typescript/Cargo.toml b/deno_typescript/Cargo.toml index 782102bc62..c0b11f9ce7 100644 --- a/deno_typescript/Cargo.toml +++ b/deno_typescript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deno_typescript" -version = "0.41.0" +version = "0.42.0" license = "MIT" description = "To compile TypeScript to a snapshot during build.rs" repository = "https://github.com/denoland/deno" @@ -19,6 +19,6 @@ exclude = [ path = "lib.rs" [dependencies] -deno_core = { path = "../core", version = "0.41.0" } +deno_core = { path = "../core", version = "0.42.0" } serde_json = "1.0.51" serde = { version = "1.0.106", features = ["derive"] }