Deno 于 2020.11.09 发布了 v1.5.2 版本。中国用户可以使用以下命令安装 Deno v1.5.2 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.5.2
Windows:
$v="1.5.2"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
Deno CLI 的变更:
-
修复(core/error): 移除
JsError::fmt()
的多余行 (#8145) -
修复(op_crates/web): make
TextEncoder
work with forced non-strings (#8206) -
修复(op_crates/web): 修复
URLSearchParams
, malformed url handling (#8092) -
修复(op_crates/web): define abort event handler on prototype (#8230)
-
修复(cli/repl): 修复语法高亮 (#8202)
-
修复: inject helpers when transpiling via swc (#8221)
-
修复: add commit hash and target to long_version output (#8133)
-
修复: correct libs sent to tsc for unstable worker (#8260)
-
修复: properly handle type checking root modules with type definitions (#8263)
-
修复: allow remapping to locals for import map (#8262)
-
修复: ensure that transitory dependencies are emitted (#8275)
-
修复: make onabort event handler web compatible (#8225)
-
修复: display of non-ASCII characters on Windows (#8199)
-
重构: Cleanup Flags to Permissions conversion (#8213)
-
重构: migrate runtime compile/bundle to new infrastructure (#8192)
-
重构: cleanup compiler snapshot and tsc/module_graph (#8220)
-
重构: 移除
ProgramState::permissions
(#8228) -
重构: 重构 file_fetcher (#8245)
-
重构: rewrite permission_test to not depend on Python (#8291)
-
重构: auto detect target triples for upgrade (#8286)
-
构建: 迁移到 dlint (#8176)
-
构建: 移除 eslint (#8232)
-
构建: 使用 deno 重写 tools/ 目录下面的脚本 (#8247)
-
构建: full color ci logs (#8280)
-
升级: TypeScript to 4.0.5 (#8138)
-
升级: deno_doc, deno_lint, dprint, swc (#8292)
Deno 标准库(Deno Standard Modules) 0.77.0 的变更: