Deno v1.0.4 版本發佈

文章來源:Deno 中文社區

Deno 於 2020.06.02 發佈了 v1.0.4 版本。中國用戶可以使用以下命令安裝 Deno v1.0.4 版本:

Linux/macOS:

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

Windows:

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

Deno CLI 的變更:

本次版本包含一個 Deno Core 新特性,和若干 bug 修復。

  • feat(core): Ops 可以使用零拷貝緩衝(zero copy buffers) (#4788)

  • fix(bundle): 減小了 bundle 文件的尺寸 (#5997)

  • fix(cli): 修復了 Deno.remove() 無法刪除 unix 套接字的 bug (#5967)

  • fix(cli): compile TS dependencies of JS files (#6000)

  • fix(cli): ES private fields parsing in SWC (#5964)

  • fix(cli): Better use of @ts-expect-error (#6038)

  • fix(cli): media type for .cjs and application/node (#6005)

  • fix(doc): remove JSDoc comment truncation (#6031)

  • fix(cli/js/web): Body.bodyUsed should use IsReadableStreamDisturbed

  • fix(cli/js/web): formData parser for binary files in fetch() (#6015)

  • fix(cli/js/web): set null body for null-body status in fetch() (#5980)

  • fix(cli/js/web): network error on multiple redirects in fetch() (#5985)

  • fix(cli/js/web): Headers.name and FormData.name (#5994)

  • upgrade: Rust crates (#5959, #6032)

Deno 標準庫(Deno Standard Modules) v0.55.0 的變更:

  • feat(std/hash): 添加 Sha512 和 HmacSha512 (#6009)

  • feat(std/http) support code 103 Early Hints (#6021)

  • feat(std/http): 添加 TooEarly 狀態碼 (#5999)

  • feat(std/io): 添加 LimitedReader (#6026)

  • feat(std/log): 爲日誌文件增加緩衝區支持 (#6014)

  • feat(std/mime/multipart): Added multiple FormFile input (#6027)

  • feat(std/node): 添加 util.type.isDate (#6029)

  • fix(std/http): file server not closing files (#5952)

  • fix(std/path): 添加瀏覽器支持 (#6003)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章