Deno 于 2021.02.19 发布了 v1.7.5 版本。中国用户可以使用以下命令安装 Deno v1.7.5 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.7.5
Windows:
$v="1.7.5"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
同时安装多个版本 deno 可以使用 dvm。
Deno CLI 的变更:
-
fix: 使
btoa
符合规范 (#9053) -
fix: Don’t use file names from source maps (#9462)
-
fix: Make dynamic import async errors catchable (#9505)
-
fix: webidl utils and align
Event
to spec (#9470) -
fix(lsp): document spans use original range (#9525)
-
fix(lsp): handle cached type dependencies properly (#9500)
-
fix(lsp): handle data URLs properly (#9522)
Deno 标准库(Deno Standard Modules) 0.88.0 的变更:
-
BREAKING(encoding): remove module utf8.ts (#728)
-
chore: fix typo in contributing section (#709)
-
docs(bytes): improve README.md (#737)
-
feat(node): add native module polyfills: url, crypto (#729)
-
feat(node): add tty module (#738)
-
feat(node): support conditional exports (#726)
-
fix(std/testing) : Handle Symbols correctly in deep equalities (#731)
-
test(node): run external tests with --quiet (#732)