Deno 1.5.4 released, V8-based TypeScript runtime

Deno 1.5.4 is now released, Deno is a safe TypeScript runtime on V8.

The update content of this version is as follows:

  • feat (unstable): Addition deno test --no-run
  • feat(unstable): Bundle and fmt subcommands supporting --watch flag
  • Fix: Support "deno run --v8-flags=--help" without script
  • fix(tsc): Allow non-standard extensions to be imported
  • Refactoring: Improve Deno.version type declaration
  • Refactoring: Rename --failfast of test subcommand to --fail-fast 
  • Upgrade: rusty_v8 0.13.0, v8 8.8.278.2

Changes in std version 0.79.0:

  • feat(std/hash): add HmacSha1
  • feat(std/http): Check whether the cookie attribute is valid
  • feat(std/http): verify cookie path value
  • feat(std/io): ReadableStream from AsyncIterator and WritableStream from Writer
  • feat(std/log): log error stack
  • feat (std / node) : 添加 os.totalmem 、 os.freemem
  • feat(std/node):添加 ReadableStream、WritableStream、errors support
  • feat(std/node): add util.deprecate
  • feat(std/node): add process.nextTick
  • fix(std/http): fix error handling in request iterator
  • fix(std/node): Fix event scalability
  • fix(std/node): Type global, globalThis, window correctly

Install / Upgrade

Using Deno:

deno upgrade --version 1.5.4

With Shell:

curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.5.4

With PowerShell:

$v="1.5.4"; iwr https://deno.land/x/install/install.ps1 -useb | iex

Update instructions: https://github.com/denoland/deno/releases/tag/v1.5.4 

Guess you like

Origin www.oschina.net/news/121646/deno-1-5-4-released