惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
Arctic Wolf
T
Tenable Blog
T
Troy Hunt's Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy & Cybersecurity Law Blog
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hacker News: Front Page
S
Secure Thoughts
AWS News Blog
AWS News Blog
L
LINUX DO - 最新话题
D
Darknet – Hacking Tools, Hacker News & Cyber Security
M
MIT News - Artificial intelligence
T
Tor Project blog
S
Schneier on Security
PCI Perspectives
PCI Perspectives
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
美团技术团队
Google DeepMind News
Google DeepMind News
V
Visual Studio Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
罗磊的独立博客
T
Threat Research - Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
V
V2EX
C
CXSECURITY Database RSS Feed - CXSecurity.com
Stack Overflow Blog
Stack Overflow Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
GRAHAM CLULEY
L
LINUX DO - 热门话题
D
Docker
J
Java Code Geeks
GbyAI
GbyAI
H
Heimdal Security Blog
The Hacker News
The Hacker News
MongoDB | Blog
MongoDB | Blog
V
Vulnerabilities – Threatpost
T
Tailwind CSS Blog
Cloudbric
Cloudbric
TaoSecurity Blog
TaoSecurity Blog
C
CERT Recently Published Vulnerability Notes
Y
Y Combinator Blog
Recorded Future
Recorded Future
Cisco Talos Blog
Cisco Talos Blog
T
Threatpost
The Register - Security
The Register - Security
Hacker News - Newest:
Hacker News - Newest: "LLM"

Deno

Deno 2.8 | Deno Claw Patrol: an open-source security firewall for agents | Deno Fresh 2.3: Zero JS by default, View Transitions, and Temporal support | Deno Deno 2.7: Temporal API, Windows ARM, and npm overrides | Deno Build a dinosaur runner game with Deno, pt. 6 | Deno Build a dinosaur runner game with Deno, pt. 5 | Deno Deno Deploy is Generally Available | Deno Introducing Deno Sandbox | Deno Build a dinosaur runner game with Deno, pt. 4 | Deno Build a dinosaur runner game with Deno, pt. 3 | Deno Build a dinosaur runner game with Deno, pt. 2 | Deno React / Next.js Denial-of-Service Vulnerability: Deno Deploy users protected | Deno Deno 2.6: dx is the new npx | Deno Build a dinosaur runner game with Deno, pt. 1 | Deno React Server Functions / Next.js Vulnerability: Deno Deploy users protected | Deno My highlights from the new Deno Deploy | Deno Deno's Other Open Source Projects | Deno How Deno protects against npm exploits | Deno Help Us Raise $200k to Free JavaScript from Oracle | Deno Deno 2.5: Permissions in the config file | Deno Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno Deno 2.4: deno bundle is back | Deno JavaScript™ Trademark Update | Deno What's coming to JavaScript | Deno A brief history of JavaScript | Deno Reports of Deno's Demise Have Been Greatly Exaggerated | Deno An Update on Fresh | Deno How Plaid migrated 100 services to a new database platform 5x faster with Deno | Deno Deno 2.3: Improved deno compile, local npm packages, and more | Deno Add JSR packages with pnpm and Yarn | Deno Zero-config Debugging with Deno and OpenTelemetry | Deno Exploring Art with TypeScript, Jupyter, Polars, and Observable Plot | Deno Deno v Oracle Update 3: Fighting the JavaScript Trademark | Deno Build a custom RAG AI agent in TypeScript and Jupyter | Deno How to get deep traces in your Node.js backend with OTel and Deno | Deno toranoana.deno #20 登録受付中(2025年3月14日) | Deno Node just added TypeScript support. What does that mean for Deno? | Deno The Dino 🦕, the Llama 🦙, and the Whale 🐋 | Deno Publish a lint rule, get a prize | Deno Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite | Deno If you're not using npm specifiers, you're doing it wrong | Deno How Deno's documentation is evolving | Deno Oracle justified its JavaScript trademark with Node.js—now it wants that ignored | Deno Introducing the JSR open governance board | Deno Intro to Wasm in Deno | Deno Announcing OpenAI on JSR | Deno Deno in 2024 | Deno Goodbye WinterCG, welcome WinterTC | Deno Build a SolidJS app with Deno | Deno Run your Next.js SSR app on Deno Deploy | Deno Solve Advent of Code 2024 with Deno and Win Prizes! | Deno Deno v. Oracle: Canceling the JavaScript Trademark | Deno Deno 2.1: Wasm Imports and other enhancements | Deno Build a Typesafe API with tRPC and Deno | Deno Self-contained Executable Programs with Deno Compile | Deno Build a Database App with Drizzle ORM and Deno | Deno Introducing your new JavaScript package manager: Deno | Deno Announcing Growthbook on JSR | Deno Build an Astro site with Deno | Deno How to convert CommonJS to ESM | Deno Announcing Deno 2 | Deno The Final Touches: What’s New In v2.0.0-rc.10 | Deno Announcing Stable V8 Bindings for Rust | Deno Deno 2.0 Release Candidate | Deno Secure, efficient private npm registries with Cloudsmith and Deno | Deno Painting the Plane as We Fly It: Designing JSR | Deno Introducing Web Cache API support on Deno Deploy | Deno Deno 1.46: The Last 1.x Release | Deno Protect your cloud spend with new Deno Deploy spend limits | Deno What we got wrong about HTTP imports | Deno Benchmarking AWS Lambda Cold Starts Across JavaScript Runtimes | Deno Announcing Supabase on JSR | Deno Deno 1.45: Workspace and Monorepo Support | Deno Introducing KV Backup for Deno Subhosting | Deno A Gentle Intro to TypeScript | Deno Announcing Hono on JSR | Deno How We Made the Deno Language Server Ten Times Faster | Deno How the Guardian uses Deno to audit accessibility and performance across their 2.7 million articles | Deno Introducing More Flexible Domain Association for Deno Subhosting | Deno The stabilization process of the Standard Library has begun | Deno Deno 1.44: Private npm registries, improved Node.js compat, and performance boosts | Deno How we built a secure, performant, multi-tenant cloud platform to run untrusted code | Deno The Deno Standard Library is now available on JSR | Deno How to document your JavaScript package | Deno Your Low Code Solution Needs an Escape Hatch | Deno Deno 1.43: Improved Language Server performance | Deno How Slack used Deno to save months of engineering effort in launching their new platform | Deno JSR Is Not Another Package Manager | Deno Announcing the Hookdeck SDK on JSR | Deno Announcing the Neon Serverless Driver on JSR | Deno An intro to TSConfig for JavaScript Developers | Deno How we built JSR | Deno How Netlify used Deno Subhosting to build a successful edge functions product | Deno Introducing Simpler Project Creation in Deno Deploy | Deno Deno 1.42: Better dependency management with JSR | Deno Introducing deployctl, the command line interface for Deno Deploy | Deno Introducing JSR - the JavaScript Registry | Deno How to add Monaco to a Next.js app and securely run untrusted user code | Deno Survey Results and Roadmap | Deno Deno 1.41: smaller deno compile binaries | Deno
Deno 1.6 Release Notes | Deno
2020-12-08 · via Deno

Today we are releasing Deno 1.6.0. This release contains some major features, and many bug fixes. Here are some highlights:

  • Build self contained, standalone binaries: deno compile can build your Deno projects into completely standalone executables
  • Built-in Deno Language Server: fully integrated LSP for code editors
  • Experimental support for Mac Arm64: release binaries that run natively on Apple’s new M1 chip.

If you already have Deno installed you can upgrade to 1.6 by running deno upgrade. If you are installing Deno for the first time, you can use one of the methods listed below:


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


iwr https://deno.land/x/install/install.ps1 -useb | iex


brew install deno


scoop install deno


choco install deno


cargo install deno

New features and changes

deno compile: self-contained, standalone binaries

We aim to provide a useful toolchain of utilities in the Deno CLI. Examples of this are deno fmt, and deno lint. Today we are pleased to add another developer tool to the Deno toolchain: deno compile.

deno compile does for Deno what nexe or pkg do for Node: create a standalone, self-contained binary from your JavaScript or TypeScript source code. This has been the single most upvoted issue on the Deno issue tracker.

It works like this:

$ deno compile --unstable https://deno.land/std@0.79.0/http/file_server.ts
Check https://deno.land/std@0.79.0/http/file_server.ts
Bundle https://deno.land/std@0.79.0/http/file_server.ts
Compile https://deno.land/std@0.79.0/http/file_server.ts
Emit file_server

$ ./file_server
HTTP server listening on http://0.0.0.0:4507/

As with all new features in Deno, deno compile requires the --unstable flag to communicate that there may be breaking changes to the interface in the short term. If you have feedback, please comment in the Deno discord, or create an issue with feature requests on the Deno issue tracker.

For implementation details, see #8539.

Current limitations

For now there are several limitations you may encounter when using deno compile. If you have a use case for one of these, please respond in the corresponding tracking issues.

  • Web Workers are not currently supported. The tracking issue for this feature is #8654.
  • You can not dynamically include code with dynamic import. The tracking issue for this feature is #8655.
  • Customizing V8 flags, and sandbox permissions is not currently possible. The tracking issue for this feature is #8656.

Future plans

You might have noticed that unlike other tools that create standalone, self-contained binaries for JS (like pkg), deno compile does not have a virtual file system that can be used to bundle assets. We are hoping that with future TC39 proposals like import assertions, and asset references, the need for a virtual file system will disappear, because assets can then be expressed right in the JS module graph.

Currently the deno compile subcommand does not support cross platform compilation. Compilation for a specific platform has to happen on that platform. If there is demand, we would like to add the ability to cross compile for a different architecture using a --target flag when compiling. The tracking issue for this is #8567.

Due to how the packaging of the binary works currently, a lot of unnecessary code is included the binary. From preliminary tests we have determined that we could reduce the final binary size by around 60% (to around 20MB) when stripping out this unnecessary code. Work on this front is happening at the moment (e.g. in #8640).

Built-in Deno Language Server

Deno 1.6 ships with a new deno lsp subcommand that provides a language server implementing Language Server Protocol. LSP allows editors to communicate with Deno to provide all sorts of advanced features like code completion, linting, and on-hover documentation.

The new deno lsp subcommand is not yet feature-complete, but it implements many of the main LSP functionalities:

  • Code completions
  • Hints on hover
  • Go to definition
  • Go to references
  • deno fmt integration
  • deno lint integration

The Deno VSCode extension does not yet support deno lsp. It is still more feature rich than the nascent deno lsp can provide. However, we expect this to change in the coming weeks as the LSP becomes more mature. For now, if you want to try deno lsp with VSCode, you must install VSCode Deno Canary. Make sure that you have installed Deno 1.6 before trying this new extension. And make sure to disable the old version of the extension, otherwise diagnostics might be duplicated.

To track the progress of the development follow issue #8643. We will release a new version of vscode-deno that uses deno lsp when #8643 is complete.

Migration to stricter type checks complete

In Deno 1.4 we introduced some stricter TypeScript type checks in --unstable that enabled us to move a bunch of code from JS into Rust (enabling huge performance increases in TypeScript transpilation, and bundling). In Deno 1.5 these stricter type checks were enabled for everyone by default, with a opt-out in the form of the "isolatedModules": false TypeScript compiler option.

In this release this override has been removed. All TypeScript code is now run with "isolatedModules": true.

For more details on this, see the Deno 1.5 blog post.

TypeScript 4.1

Deno 1.6 ships with the latest stable version of TypeScript.

For more information on new features in Typescript 4.1 see Announcing TypeScript 4.1

Canary channel

For advanced users that would like to test out bug fixes and features before they land in the next stable Deno release, we now provide a canary update channel. Canary releases are made multiple times a day, once per commit on the master branch of the Deno repository.

You can identify these releases by the 7 character commit hash at the end of the version, and the canary string in the deno --version output.

Starting with Deno 1.6, you can switch to the canary channel, and download the latest canary by running deno upgrade --canary. You can jump to a specific commit hash using deno upgrade --canary --version 5eedcb6b8d471e487179ac66d7da9038279884df.

Warning: jumping between canary versions, or downgrading to stable, may corrupt your DENO_DIR.

The zip files of the canary releases can be downloaded from https://dl.deno.land.

aarch64-apple-darwin builds are not supported in canary yet.

Experimental support for Mac Arm64

Users of the new Apple computers with M1 processors will be able to run Deno natively. We refer to this target by the LLVM target triple aarch64-apple-darwin in our release zip files.

This target is still considered experimental because it has been built using Rust nightly (we normally use Rust stable), and because we do not yet have automated CI processes to build and test this target. That said, Deno on M1 fully passes the test suite, so we’re relatively confident it will be a smooth experience.

Binaries of rusty_v8 v0.14.0 targeting M1 are also provided with the same caveats.

Changes to std/bytes

As a part of the efforts of the Standard Library Working Group; std/bytes module has seen major overhaul. This is a first step towards stabilizing the Deno standard library.

Most of the APIs were renamed to better align with the APIs available on Array:

  • copyBytes -> copy
  • equal -> equals
  • findIndex -> indexOf
  • findLastIndex -> lastIndexOf
  • hasPrefix -> startsWith
  • hasSuffix -> endsWith

The full release notes, including bug fixes, can be found at https://github.com/denoland/deno/releases/tag/v1.6.0.