Skip to content

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

Deno 9 min read Release mediumAdept

Deno 1.43: Improved Language Server performance

Deno 1.43 cuts Language Server auto-completion latency in large codebases from 6-8 seconds to under one second and sharply reduces LSP memory use, fixing out-of-memory failures. It reworks node:vm and node:worker_threads for better npm compatibility with tools like Vitest, Docusaurus, Angular CLI and Next.js. It also adds V8 bytecode caching for 5-240% faster startup, a declarative `deno serve` subcommand, a `Deno.serve()` completion promise and `addr` property, JSX precompile skip options, `URL.parse()`, V8 12.4 with Float16Array, and Deno 2 breaking changes behind `DENO_FUTURE=1`.

Related posts

  • How We Made the Deno Language Server Ten Times Faster

    Deno mediumAdept

    Deno cut language server auto-completion latency in large codebases from about 8 seconds to under one second by fixing how its Rust server synchronizes project state with the embedded TypeScript compiler (tsc). Flamegraphs from a customer-modeled benchmark (75k lines of app code, 750k in dependencies) showed tsc spending most of its time pulling every file's contents across the expensive Rust-to-JavaScript boundary on each request. The fixes were to sync only local files, since remote npm:/jsr:/URL dependencies are cached and rarely change, and to add a JavaScript-side cache that the Rust server invalidates on file changes, which eliminated most cross-boundary calls. The improvements shipped in Deno 1.43.

  • Deno 1.42: Better dependency management with JSR

    Deno mediumAdept

    Deno 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.44: Private npm registries, improved Node.js compat, and performance boosts

    Deno mediumAdept

    Deno 1.44 adds private npm registry support via `.npmrc`, gRPC connectivity through `@grpc/grpc-js`, and a long list of Node.js compatibility fixes. These fixes target `worker_threads`, `process` signals, N-API and CommonJS re-exports, and are enough to run Next.js (with `DENO_FUTURE=1`), SvelteKit, vitest and DuckDB. Re-enabling V8 pointer compression cuts memory 5–30% (about 30% for deno.com). Parallelized module loading makes dynamic-import-heavy projects start 2–3x faster, and a SQLite WAL journal in DENO_DIR speeds Lambda cold starts. Smaller additions include `Deno.exitCode`, `Response.bytes()`, new lint rules, test-runner flags and stabilized `FsFile` sync/lock APIs.

  • Deno 2.9

    Deno mediumAdept

    Deno 2.9 introduces experimental `deno desktop`, which compiles a web UI plus Deno logic into a single native binary using either the OS webview or bundled Chromium via CEF, with native window, tray and dock APIs and cross-compilation to installers for all five targets. `deno install` now seeds `deno.lock` from npm, pnpm, yarn and Bun lockfiles with exact versions and hashes, migrates pnpm workspace config, and shims `node` for tools that shell out to it. Cold start drops from 34ms to 17ms through lazy-loaded Node globals, V8 code caching and a minified snapshot. A new Rust HTTP/1.1 path raises `Deno.serve` throughput 11–27% and cuts peak RSS by 2.2–3.1x. The release also adds CSS module imports, `deno link`/`deno list`, JSR packages in node_modules and automatic lockfile merge-conflict resolution.

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

The quest for software engineering knowledge.

Look:
Layout: