皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

deno 1.5.0 发布

1.5.0 / 2020.10.27

  • BREAKING: Enable isolatedModules by default (#8050)
  • feat(bundle): Add support for –no-check (#8023)
  • feat(console): Inspect with colors regardless of Deno.noColor (#7778)
  • feat(doc): Support –import-map flag (#7821)
  • feat(fmt): Make –ignore flag stable (#7922)
  • feat(install): Add missing flags for deno install (#7601)
  • feat(repl): Add regex based syntax highlighter (#7811)
  • feat(repl): Add tab completion (#7827)
  • feat(test): Pass script args to test command (#8121)
  • feat(unstable): Add Deno.sleepSync() (#7974)
  • feat(unstable): Add Deno.systemCpuInfo() (#7774)
  • feat: Add alert, confirm, and prompt (#7507)
  • feat: Add types for WeakRef/FinalizationRegistry (#8056)
  • feat: Stabilize Deno.fsync and Deno.fdatasync (#8038)
  • fix(console): Fix the test cases of function inspections (#7965)
  • fix(console): Only inspect getters with option (#7830)
  • fix(core): Indicate exceptions in promises (#8124)
  • fix(core): Top Level Await module execution (#7946)
  • fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)
  • fix(op_crates/fetch): Ensure Request.method is a string (#8100)
  • fix(op_crates/web): Better TextEncoder error message (#8005)
  • fix(op_crates/web): Expose event properties in console output (#8103)
  • fix(op_crates/web): TextEncoder should throw RangeError (#8039)
  • fix(op_crates/web): URL.pathname backslash replacement (#7937)
  • fix(repl): Ignore pair matching inside literals (#8037)
  • fix(repl): Keyboard interrupt should continue (#7960)
  • fix(repl): Unterminated string literal should invalidate (#7896)
  • fix(repl): Write all results to stdout (#7893)
  • fix(rt/main): Add global interface objects (#7875)
  • fix(rt/performance): Check for object props in startOrMeasureOptions (#7884)
  • fix(rt/websockets): Only add Sec-WebSocket-Protocol if not empty (#7936)
  • fix(test): Return error when awaiting unresolved promise (#7968)
  • fix: Do not throw on empty typescript files (#8143)
  • fix: Fix inspection of Function (#7930)
  • fix: Handle URL paths in Deno.mkdir() (#8140)
  • fix: Handling of relative importmaps while using watch (#7950)
  • fix: Print error stacks from the origin Worker (#7987)
  • fix: Restore permission check on workers (#8123)
  • fix: Use -rw-r–r– for cache files (#8132)
  • fix: Use rid getter for stdio (#8014)
  • fix: handle roots with extensions that don’t match media type (#8114)
  • refactor(core): more control over isolate creation (#8000)
  • refactor: New TSC infrastructure (#7996, #7981, #7892)
  • refactor: Rename –importmap to –import-map (#7032)
  • refactor: Rewrite Deno.transpileOnly() to use SWC (#8090)
  • upgrade: deno_doc, deno_lint, dprint, swc (#8009, #8077)
  • upgrade: rusty_v8 and v8 8.7.220.3 (#8017)

Changes in std version 0.75.0:

  • feat(std/fs/node): Add more APIs (#7921)
  • feat(std/path): Add toFileUrl() (#7971)
  • feat(std/testing): Add assertExists assertion (#7874)
  • feat(std/testing): Add assertObjectMatch assertion (#8001)
  • fix(std/http): Path traversal in file_server.ts (#8134)
  • fix(std/toml): Parsing inline arrays of inline tables (#7902)
  • fix(std/encoding): base64 properly encodes mbc and handles Uint8Arrays (#7807)
  • fix(std/http/file_server): File server should ignore query params (#8116)
  • fix(std/node): Buffer.copy doesn’t work as expected (#8125)
  • fix(std/wasi): Disallow path_open outside of pre-opened dirfd (#8078)
  • refactor(std/testing): Rename assert_Contains to assert_Includes (#7951)

Install / Upgrade

Using Deno:

deno upgrade --version 1.5.0

With Shell:

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

With PowerShell:

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

 

Assets 7

 

转自 https://github.com/denoland/deno/releases