Article source: Deno Chinese Community
Deno released v1.0.4 on 2020.06.02. Chinese users can install Deno v1.0.4 version with the following command:
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
Changes in Deno CLI:
This version includes a new feature of Deno Core and several bug fixes.
-
feat(core): Ops can use zero copy buffers ( #4788 )
-
fix(bundle): reduced the size of the bundle file ( #5997 )
-
fix (cli): Fixes
Deno.remove()
can not delete the unix socket 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
andapplication/node
(#6005) -
fix(doc): remove JSDoc comment truncation (#6031)
-
fix(cli/js/web):
Body.bodyUsed
should useIsReadableStreamDisturbed
-
fix(cli/js/web):
formData
parser for binary files infetch()
(#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
andFormData.name
(#5994)
Changes in Deno Standard Modules v0.55.0:
-
feat(std/hash): Add Sha512 and HmacSha512 ( #6009 )
-
feat(std/http) support code
103
Early Hints (#6021) -
feat (std / http): add a
TooEarly
status code ( # 5999 ) -
feat(std/io): added
LimitedReader
( #6026 ) -
feat(std/log): add buffer support for log files ( #6014 )
-
feat(std/mime/multipart): Added multiple FormFile input (#6027)
-
feat(std/node): added
util.type.isDate
( #6029 ) -
fix(std/http): file server not closing files (#5952)
-
fix(std/path): add browser support ( #6003 )