Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Deno 12 min read Release mediumAdept

Deno 1.20 Release Notes

Deno 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.

Related posts

  • Deno 2.8

    Deno mediumAdept

    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.

  • Deno 1.9 Release Notes

    Deno mediumAdept

    Deno 1.9 adds a native HTTP/2 server API (Deno.serveHttp) built on Hyper, which raises hello-world throughput by 48% over the pure-TypeScript std/http server and reuses fetch's Request/Response objects. Ops between JS and Rust were rebuilt on serde_v8, which serializes directly between V8 and Rust values instead of through JSON or flatbuffers payloads. That change cuts baseline op overhead by up to 98% and makes common functions up to ~3x faster. The release also adds blob: and data: URL support in fetch, ALPN in Deno.listenTls for HTTP/2 over TLS, LSP import completions, allow-lists for --allow-env and --allow-run, and an interactive --prompt permission mode. Several non-system Deno namespace APIs are deprecated and moved to std/io ahead of 2.0.

  • Deno's Other Open Source Projects

    Deno easyNovice

    Deno publishes many MIT-licensed supporting libraries extracted from its runtime, most of them Rust crates. Highlights include rusty_v8 (zero-overhead Rust bindings to V8's C++ API), deno_core (ops and an event loop mapping JS Promises to Rust Futures), rust-urlpattern, import_map, eszip (a streamable single-file format for serialized module graphs, used by Deno Deploy), sui (embedding data in ELF/PE/Mach-O executables while keeping them code-signable), dnt (Deno-to-npm transform), wasmbuild, the monch parser combinator library, deno_task_shell, the flaky_test macro, and vnotify (detecting changes across millions of S3 objects via hashed notification keys). Most entries come with short usage examples.

  • Deno 1.35: A fast and convenient way to build web servers

    Deno mediumAdept

    Deno.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.

  • Deno 1.24 Release Notes

    Deno mediumAdept

    Deno 1.24 moves all TypeScript emitting to swc and caches type-check results, making `deno check` 20% faster cold and 70–90% faster on reruns for codebases like oak. FFI calls become roughly 200x faster (nop from ~437ns to ~2ns) via V8 fast API calls and JIT-generated trampolines, and FFI gains thread-safe JS callbacks through `Deno.UnsafeCallback`, with pointers now represented as bigint. The release also adds `unhandledrejection` and `beforeunload` events (enabling Node `process` polyfills) and import-map-aware `import.meta.resolve()`. Other changes include a reworked unstable subprocess API with ref/unref, a `--parallel` test flag with config-file include/exclude, and std additions: semver, typed flags parsing and dotenv variable expansion.

The quest for software engineering knowledge.

Look:
Layout: