Deno 于 2021.02.13 发布了 v1.7.4 版本。中国用户可以使用以下命令安装 Deno v1.7.4 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.7.4
Windows:
$v="1.7.4"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
同时安装多个版本 deno 可以使用 dvm。
Deno CLI 的变更:
-
feat(unstable, lsp): add deno cache code actions (#9471)
-
feat(unstable, lsp): add implementations code lens (#9441)
-
fix(cli): check for inline source maps before external ones (#9394)
-
fix(cli): fix WebSocket close (#8776)
-
fix(cli): import maps handles data URLs (#9437)
-
fix(console): log function object properties / do not log non-enumerable props
by default (#9363) -
fix(lsp): handle code lenses for non-documents (#9454)
-
fix(lsp): handle type deps properly (#9436)
-
fix(lsp): prepare diagnostics when the config changes (#9438)
-
fix(lsp): properly handle static assets (#9476)
-
fix(lsp): support codeAction/resolve (#9405)
-
fix(op_crates): Don’t use
Deno.inspect
in op crates (#9332) -
fix(runtime/tls): handle invalid host for connectTls/startTls (#9453)
-
upgrade: rusty_v8 0.17.0, v8 9.0.123 (#9413)
-
upgrade: deno_doc, deno_lint, dprint, swc_ecmascript, swc_bundler (#9474)
Deno 标准库(Deno Standard Modules) 0.87.0 的变更:
-
BREAKING(http/cookie): remove Cookies and SameSite type aliases (#720)
-
docs(fmt): fix examples in fmt/colors.ts (#715)
-
docs(io/ioutil): improve jsdoc (#706)
-
fix(http/file_server): svg media type (#718)
-
refactor(hash/md5): throw
TypeError
for wrong type (#698) -
test(node): enable native node tests (#695)