Deno 1.7.0 发布,基于 V8 的 TypeScript 运行时
Deno 1.7.0 现已发布,Deno 是 V8 上的安全 TypeScript 运行时。
此版本更新内容如下:
- BREAKING(unstable):将 hosts 用于 net allowlists
- BREAKING(unstable):删除 CreateHttpClientOptions.caFile
- feat(install):在 Windows 上添加对 MSYS 的支持
- feat(unstable):添加 Deno.resolveDns API
- feat(unstable):运行时编译器 API 合并到 Deno.emit()
- feat:将 WorkerOptions 接口添加到类型声明中
- feat: 为 Workers 添加可配置的权限
- fix(cli):在 help 和 version 后 print a newline
- fix(coverage):合并重复的报告
- fix(inspector):测试后杀死子进程
- 重构:将 WebSocket API 移至 op_crate
- 升级:Rust 1.49.0
- 升级:deno_doc、deno_lint、dprint、swc_ecmascript、swc_bundler
- ......
Changes in std version 0.84.0:
- BREAKING(std/wasi):make implementation details private
- BREAKING(std/wasi):return exit code from start
- feat(std/wasi):允许指定 stdio 资源
- fix(std):不要对 browser-compatibility headers 使用 JSDoc 语法
- fix(std/http):在服务器中使用 ES 专用字段
- fix(std/http):解析 HTTP version header
- fix(std/node):解析 symlinked directories 中的文件
详情可查看更新说明:https://github.com/denoland/deno/releases/tag/v1.7.0