Skip to content

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

Deno 8 min read Release mediumAdept

Deno 1.9 Release Notes

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.

Assumes: JavaScript/TypeScript runtimesHTTP basics

Related posts

  • 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.20 Release Notes

    Deno mediumAdept

    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.

  • Deno 1.13 Release Notes

    Deno mediumAdept

    Deno 1.13 stabilizes the native HTTP server API (Deno.serveHttp, built on Hyper and dogfooded on deno.land), adds synchronous self.structuredClone() for deep cloning with circular references, and lets TLS trust the system CA store via DENO_TLS_CA_STORE=system, alongside a dangerous --unsafely-ignore-certificate-errors flag. The unstable Rust native plugin system is replaced by an experimental FFI API (Deno.dlopen), because Rust lacks a stable ABI. Other changes include V8 9.3 (Error cause, Object.hasOwn), HMAC support in WebCrypto, type-checking of Markdown code blocks via deno test --doc, AbortSignal in writeFile, and an experimental stream-based WebSocketStream API that addresses backpressure.

  • Deno 1.16 Release Notes

    Deno mediumAdept

    Deno 1.16 adds file:// support to fetch (streamed in chunks, Firefox-like semantics with no content-length or content-type headers), React 17-style JSX transforms via @jsxImportSource, an unstable Deno.addSignalListener API, and console display of Error.cause. It stabilizes Deno.startTls, which enables STARTTLS-based Postgres, MySQL and SMTP drivers on stable, and stabilizes per-test permissions. localStorage no longer needs --location: the storage bucket key falls back to the config file path and then the main module path. The release also adds explicit TLS handshake(), BYOB stream readers, AbortSignal reasons, the dnt tool for publishing Deno modules to npm, and V8 9.7 with WebAssembly reference types and findLast.

  • Deno 1.14 Release Notes

    Deno mediumAdept

    Deno 1.14 expands the Web Crypto API (RSA-OAEP, ECDH, AES generation, PBKDF2/HKDF derivation, ECDSA verify), makes `deno lint` and `deno fmt` configurable through the shared `--config` file, adds unstable URLPattern, and stabilizes `Deno.upgradeWebSocket()`. It also adds zero-copy ArrayBuffer transfer between workers, unstable file-locking and uid/gid subprocess APIs, mutual TLS in `fetch` via `Deno.createHttpClient`, and Basic auth in `DENO_AUTH_TOKENS`. URL parsing is 3x faster, and `std/http` was rewritten on the native HTTP bindings. The release ships TypeScript 4.4 and V8 9.4, which brings class static initialization blocks.

The quest for software engineering knowledge.

Look:
Layout: