Deno 2.8
Deno 2.8 adds new subcommands (audit fix, bump-version with Conventional Commits workspace support, ci, pack for building npm tarballs from Deno/JSR projects, transpile, why), makes unprefixed package names default to npm in deno add/install, and supports TC39 import defer. Node.js test-suite pass rate rose from about 42% to 76.4%, compared with 40.6% for Bun 1.3.14. Cold npm installs are 3.66x faster, driven by abbreviated packuments, parallel resolution, decompression moved off the event loop and split tarball extraction. Other gains include 2.21x node:http throughput, 3.07x base64 via simdutf, and malloc_trim fixes for RSS bloat on Linux.
Related posts
- Announcing Deno 2
Deno easyNoviceDeno 2 adds backwards compatibility with Node.js and npm, so it runs existing Node projects using package.json, node_modules and npm workspaces, and supports npm: import specifiers without a manifest. It also adds package management commands (deno install/add/remove, claimed 15% faster than npm on a cold cache and 90% faster on a hot cache), private registries via .npmrc, workspaces and monorepos, a stabilized standard library on JSR, and an LTS channel starting with 2.1 that gets six months of backported fixes. Toolchain updates include multi-core deno serve, HTML/CSS/YAML formatting and node:test support. A correction notes HTTP throughput is about 20% lower than charted because V8 pointer compression was disabled to lift the 4GB heap limit.
- Deno 2.3: Improved deno compile, local npm packages, and more
Deno mediumAdeptDeno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries. Local npm packages can now be used through a "patch" entry in deno.json. deno fmt gains formatting of CSS, HTML and SQL in tagged templates plus 14 new options, and OpenTelemetry support adds span events, cross-service context propagation, node:http auto-instrumentation and V8 heap metrics. deno install is about 2x faster when npm dependencies are cached, thanks to in-memory npm metadata caching and lockfile v5, with a benchmark showing 2.5x on a Vite React template. The release also adds the JavaScript `using` keyword, coverage ignore comments and TypeScript 5.8 with V8 13.5.
- Deno 1.20 Release Notes
Deno mediumAdeptDeno 1.20 cuts JavaScript-to-Rust op call overhead by up to ~60% by using Rust proc macros to generate a dedicated V8 binding per op, eliminating op routing and skipping deserialization of unused arguments; a 1 MB base64 roundtrip drops from ~125 ms to ~3.3 ms. The release also adds automatic gzip/brotli compression of non-streamed HTTP responses, an unstable `deno bench` subcommand (1000 warmup plus 1000 measured iterations by default), and a cross-platform `deno task` runner using a POSIX-like shell subset. Other changes include import maps in the config file, in-memory TLS certs, `Deno.upgradeHttp()`, FFI global statics, opt-in `--trace-ops` for test leak tracing (made opt-in because of a performance regression), `AbortSignal.timeout()`, and stricter default permissions for tests and workers, plus TypeScript 4.6 and V8 10.0.
- Deno 1.42: Better dependency management with JSR
Deno mediumAdeptDeno 1.42 adds first-class JSR support through new `deno publish` and `deno add` subcommands, which install packages from JSR and npm and write import map entries. It also adds LSP completions for jsr: specifiers and broadens Node compatibility across crypto, worker_threads, fs, http2 and other modules. Further changes include shell improvements in `deno task` (cross-platform shebangs, `$?`, redirects), `deno lint --fix`, and dropping mid-execution type checking under `--check`. Timers were rewritten so creating a million timers takes 1.4s instead of 5.9s with up to 70% less memory, startup is 10% faster on Linux, and `DENO_FUTURE=1` previews Deno 2 removals.
- Deno 1.35: A fast and convenient way to build web servers
Deno mediumAdeptDeno.serve() is now stable, replacing the connection-iterator Deno.serveHttp() pattern with a one-line handler built on web-standard Request and Response objects. Deno's benchmarks against Node 18.12.1 on a bare-metal Xeon show roughly twice the hello-world throughput, with better tail latency and memory use, and npm packages using node:http get the same speedup. The release also expands Node compatibility (http, https, http2, zlib Brotli), so axios, aws-sdk, puppeteer and astro now work. Other changes include LSP auto-imports for npm and import-map specifiers, an immutable rewrite of std/semver, new std html/entities and http/user_agent modules, V8 11.6 and TypeScript 5.1.6.