Deno 于 2020.08.21 发布了 v1.3.1 版本。中国用户可以使用以下命令安装 Deno v1.3.1 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.3.1
Windows:
$v="1.3.1"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
Deno CLI 的变更:
-
修复: Allow isolated "%"s when parsing file URLs (#7108)
-
修复:
Blob.arrayBuffer
的返回类型为Uint8Array
(#7086) -
修复: CLI argument parsing with dash values (#7039)
-
修复: Create Body stream from any valid bodySource (#7128)
-
修复: Granular permission requests/revokes (#7074)
-
修复: Handling of multiple spaces in URLSearchParams (#7068)
-
核心: Enable
WebAssembly.instantiateStreaming
(#7043) -
核心: Add missing export of HeapLimits (#7047)
-
升级: swc_ecmascript, deno_lint, dprint (#7098)
Deno 标准库(Deno Standard Modules) v0.66.0 的变更:
-
BREAKING(std/datetime): 删除
currentDayOfYear
(#7059) -
特性(std/node): 添加 basic asserts (#7091)
-
特性(std/datetime): Generalise parser, add formatter (#6619)
-
修复(std/node): Misnamed assert exports (#7123)
-
修复(std/encoding/toml): Stop TOML parser from detecting numbers in strings.
(#7064)
-
修复(std/encoding/csv): Improve error message on ParseError (#7057)