Skip to content

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

Deno 6 min read Release mediumAdept

Deno 1.25 Release Notes

Deno 1.25 adds a `deno init` scaffolding command, experimental `npm:` specifiers that run npm packages and binaries without `npm install` or node_modules, and an experimental `Deno.serve()` HTTP/1.1 server benchmarked at 4x Node.js and 3x the previous Deno server on hello-world requests. Startup is faster because dependency analysis is now cached per file, cutting a ts_morph example from ~1080ms to ~225ms on runs after the first. FFI fast calls now cover u64, i64, pointer and a new `buffer` type for TypedArrays, which takes a hash benchmark from ~181ns to ~56ns per call, and `UnsafePointerView` gains getCString, getArrayBuffer and copyInto.

Assumes: JavaScript/TypeScript basicsnpm packages

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

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

    Deno mediumAdept

    Deno 1.15 adds non-blocking FFI calls that run on a dedicated thread and return Promises, plus buffer arguments for FFI symbols (passed with an explicit length). It also expands Web Crypto with AES-CBC, ECDH derivation, key wrapping and more import/export formats, and unifies custom CA certificates across connectTls, startTls and createHttpClient via a caCerts PEM array. The release introduces an experimental nested test-step API with per-step sanitizer scopes that can underpin Mocha-style polyfills. Other changes include a --compat flag for running Node programs, URLPattern stabilization alongside Chromium, deno uninstall, deno lint --watch and V8 9.5.

The quest for software engineering knowledge.

Look:
Layout: