Deno v1.1.2 版本发布

Deno 于 2020.06.26 发布了 v1.1.2 版本。中国用户可以使用以下命令安装 Deno v1.1.2 版本:

Linux/macOS:

curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.1.2

Windows:

$v="1.1.2"; iwr https://x.deno.js.cn/install.ps1 -useb | iex

Deno CLI 的变更:

  • 修复(web/console): Improve string quoting behaviour (#6457)

  • 修复(web/url): Support UNC paths on Windows (#6418)

  • 修复(web/url): Support URLSearchParam as Body (#6416)

  • 修复: ‘Compile’ messages changed to ‘Check’ messages (#6504)

  • 修复: Panic when process stdio rid is 0 or invalid (#6405)

  • 修复: enable experimental-wasm-bigint (#6443)

  • 修复: ipv6 parsing for --allow-net params (#6453, #6472)

  • 修复: panic when demanding permissions for hostless URLs (#6500)

  • 修复: strings shouldn’t be interpreted as file URLs (#6412)

  • 重构: Add ability to output compiler performance information (#6434)

  • 重构: Incremental compilation for TypeScript (#6428, #6489)

  • 升级: rusty_v8 0.4.2 / V8 8.5.216 (#6503)

unstable APIs 变更:

  • Add Deno.fdatasyncSync and fdatasync (#6403)

  • Add Deno.fstatSync and fstat (#6425)

  • Add Deno.fsyncSync and fsync (#6411)

  • Add Deno.ftruncate and ftruncateSync (#6243)

  • Remove Deno.dir (#6385)

Deno 标准库(Deno Standard Modules) v0.59.0 的变更:

  • BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410)

  • feat(std/node): support hex / base64 encoding in Buffer (#6414)

  • feat(std/wasi): add wasi_snapshot_preview1 (#6441)

  • 修复(std/io): Make BufWriter/BufWriterSync.flush write all chunks (#6269)

  • 修复(std/node): 修复 readFile types, add encoding types (#6451)

  • 修复(std/node): global process should usable (#6392)

  • 修复(std/node/process): env, argv exports (#6455)

  • 修复(std/testing) assertArrayContains should work with any array-like (#6402)

  • 修复(std/testing): assertThrows gracefully fails if non-Error thrown (#6330)

  • 重构(std/testing): Remove unuseful statement (#6486)

  • 重构: shift copyBytes and tweak deps to reduce dependencies (#6469)

2赞

V8 升级到了 8.5.x