Deno v1.4.3 版本发布

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

Linux/macOS:

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

Windows:

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

Deno CLI 的变更:

  • 新特性(unstable): Add module specifier to deno info --json output (#7725)

  • 修复: Bundle loader returns exported value (#7764)

  • 修复: Check cached versions during transpile (#7760)

  • 修复: Net listen crashes on explicit undefined hostname (#7706)

  • 修复: --no-check recognizes require (#7720)

  • 修复: Use $deno$test.ts instead of .deno.test.ts (#7717)

  • 修复: Use global_state file_fetcher when using SpecifierHandler (#7748)

  • 修复(console): Catch and format getter errors (#7766)

  • 修复(dts): Use var instead of const and let for globals (#7680)

  • 修复(inspector): Shutdown server gracefully on drop (#7716)

  • 修复(repl): Enable await and let re-declarations (#7784)

  • 修复(repl): Use a default referrer when empty (#7794)

  • 修复(test): Do not start inspector server when collecting coverage (#7718)

  • 修复(websocket): Add missing close events and remove extra error event (#7606)

  • 重构: Add concept of ‘legacy’ compiler to enable non-breaking 重构ing(#7762)

  • 重构: Combine MainWorker::new and MainWorker::create (#7693)

  • 重构: Extract inspector session (#7756, #7763)

  • 重构: Factor out check_unstable op helper (#7695)

  • 重构: Improve graph and tsc_config (#7747)

  • 重构: Improve op crate interfaces for other consumers (#7745)

  • 重构: Move op state registration to workers (#7696)

  • 重构: Use JsRuntime to implement TSC (#7691)

  • 重构: Add Deno.InspectOptions::colors (#7742)

  • 升级: swc, deno_doc, deno_lint, dprint (#7711, #7793)

Deno 标准库(Deno Standard Modules) 0.72.0 的变更:

  • BREAKING(std/encoding/csv): Improve the definition of ParseOptions (#7714)

  • 新特性(std/path): Align globToRegExp() with bash glob expansion (#7209)

  • 修复(std/datetime): Add timezone to date strings in tests (#7675)

  • 重构(std/example): Inconsistencies in the example tests (#7684)

  • 重构(std/testing): Get rid of default export and make std/testing/diff.ts private (#7592)

2 个赞