Deno 于 2020.06.19 发布了 v1.1.1 版本。中国用户可以使用以下命令安装 Deno v1.1.1 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.1.1
Windows:
$v="1.1.1"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
Deno CLI 的变更:
-
fix: “deno test” should respect
NO_COLOR=true
(#6371) -
fix:
Deno.bundle
支持 ES2017 以下版本 (#6346) -
fix: decode path properly on win32 (#6351)
-
fix: improve failure message for deno upgrade (#6348)
-
fix: apply http redirection limit for cached files (#6308)
-
fix: JSX compilation bug and provide better error message (#6300)
-
fix:
DatagramConn.send
(unstable) should return bytes sent (#6265, #6291) -
upgrade: v8 to 8.5.104, rusty_v8 0.5.1 (#6377)
-
upgrade: crates (#6378)
Deno 标准库(Deno Standard Modules) v0.58.0 的变更:
-
feat(std/log): expose logger name to
LogRecord
(#6316) -
fix(std/async):
MuxAsyncIterator
throws muxed errors (#6295) -
fix(std/io):
BufWriter/StringWriter
bug (#6247) -
fix(std/io): Use
Deno.test
in writers_test (#6273) -
fix(std/node): added tests for static methods of Buffer (#6276)
-
fix(std/testing):
assertEqual
so that it handles URL objects (#6278) -
perf(std/hash): reimplement all hashes in WASM (#6292)