Deno v1.0.3 版本发布

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

Linux/macOS:


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

Windows:


iwr https://x.deno.js.cn/install.ps1 -useb -outf install.ps1; .\install.ps1 v1.0.3


Deno CLI 的变更:

  • fix: 为 Deno.dirDiagnostics 添加 unstable 检查 (5750)

  • fix: 为 unix transport 添加 unstable 检查 (5818)

  • fix: Create HTTP cache lazily (5795)

  • fix: Dependency analysis in TS compiler (5817, 5785, 5870)

  • fix: Expose Error.captureStackTrace (5254)

  • fix: Improved typechecking error for unstable props (5503)

  • fix: REPL evaluates in strict mode (5565)

  • fix: Write lock file before running any code (5794)

  • fix(debugger): BorrowMutError when evaluating expression in inspector console (5822)

  • fix(doc): Handle comments at the top of the file (5891)

  • fix(fmt): Handle formatting UTF-8 w/ BOM files (5881)

  • fix(permissions): Fix CWD and exec path leaks (5642)

  • fix(web/blob): DenoBlob name (5879)

  • fix(web/console): Hide values for console.table if display not necessary (5914)

  • fix(web/console): Improve indentation when displaying objects with console.log (5909)

  • fix(web/encoding): atob should throw dom exception (5730)

  • fix(web/fetch): Make Response constructor standard (5787)

  • fix(web/fetch): Allow ArrayBuffer as Fetch request body (5831)

  • fix(web/formData): Set default filename for Blob to <blob> (5907)

  • upgrade: dprint to 0.19.0 (5899)

标准库(Deno Standard Modules) v0.54.0 的变更:

  • feat(std/encoding): 添加 base64 (5811)

  • feat(std/http): Handle .wasm files in file_server (5896)

  • feat(std/node): Add link/linkSync polyfill (5930)

  • feat(std/node): fs.writeFile/sync path can now be an URL (5652)

  • feat(std/testing): Return results in benchmark promise (5842)

  • fix(std/http): readTrailer evaluates header names by case-insensitive (4902)

  • fix(std/log): Improve the calculation of byte length (5819)

  • fix(std/log): Fix FileHandler test with mode 'x' on non-English systems (5757)

  • fix(std/log): Use writeAllSync instead of writeSync (5868)

  • fix(std/testing/asserts): Support browsers (5847)

2 个赞

隔了两天,已经1.0.4了 :smiley:

手动维护 + 翻译的嘛? :rofl:

前几篇都认真翻译了,然后发现其实也没翻译的必要,都看得懂