Deno 1.32: Enhanced Node.js Compatibility
Deno 1.32 improves Node.js compatibility by installing npm packages only when a bare specifier matches package.json, surfacing package.json errors lazily, adding DENO_NO_PACKAGE_JSON, and supporting createCipheriv/createDecipheriv in node:crypto. `deno compile` now handles dynamic imports and Web Workers, bundling statically analyzable specifiers automatically and others via a new --include flag. The release also adds --ext for running extensionless files, removes unstable WebGPU to cut binary size and startup time, moves std/encoding modules to top-level paths, and upgrades to TypeScript 5.0 (over 2x faster initial type-check when skipping remote modules) and V8 11.2. Users of 1.32.0 should upgrade to 1.32.1 due to a critical security issue.
Related posts
- Deno 1.34: deno compile supports npm packages
Deno mediumAdeptDeno 1.34 lets `deno compile` bundle npm packages and their dependencies into a single self-contained executable. That makes tools like vite and eslint shippable as binaries with pinned dependencies, and they tend to start faster than running from a local cache. The release also adds cross-platform glob support in deno.json, deno task and CLI flags, and TLS certificates with IP addresses via rustls. Smaller changes include a top-level `exclude` and `nodeModulesDir` in config, configurable language-server limits, a `Deno.serve()` signature change that returns a `Deno.Server`, new `createHttpClient` pool options, more Node.js polyfills, and upgrades to V8 11.5 and TypeScript 5.0.4.
- 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.39: The Return of WebGPU
Deno mediumAdeptDeno 1.39 reintroduces WebGPU behind the --unstable-webgpu flag, built on wgpu (the same foundation as Firefox's implementation) after an earlier version was pulled over performance problems. The release also adds summary and HTML reporters to deno coverage, broader dynamic import inclusion and BYONM support in deno compile, and LSP responsiveness and shutdown-timeout fixes. Node.js migration gets easier through --unstable-sloppy-imports for extensionless and directory imports, running node_modules/.bin executables in deno task, CommonJS entrypoint handling and an opt-in __proto__ flag. Other changes include stable Unix-socket Deno.serve and HttpServer.shutdown, Deno.Kv.watch, a JSON schedule format for Deno.cron, deprecated IO interfaces in favor of Web Streams, new std modules and TypeScript 5.3.
- Deno 1.31: package.json support
Deno mediumAdeptDeno 1.31 adds automatic package.json detection, so dependencies resolve from bare specifiers and package.json scripts run via deno task (simple scripts only for now). The Node.js compatibility layer, roughly 1.5MB that previously lived in std/node, is now embedded in the runtime and loaded from V8 snapshots to cut startup time. Node-API is stabilized, and npm specifiers now work in remote modules without --unstable. FFI pointers become opaque objects or null instead of numbers, which speeds up calls through V8 Fast API, makes pointer spoofing harder and requires migration. Deno.Command is now stable, deno bundle is deprecated, and deno bench gains JSON output.
- Deno 1.11 Release Notes
Deno mediumAdeptDeno 1.11 adds official Docker images (Alpine, CentOS, Debian, Distroless, Ubuntu), abortable fetch via AbortSignal, Web Crypto's crypto.subtle.digest and crypto.randomUUID, TextEncoderStream/TextDecoderStream, and an unstable in-process BroadcastChannel for workers. deno lint is now stable, and deno compile binaries gain data-URI dynamic imports and Deno.emit(). The language server adds test code lenses, per-resource configuration, registry auto-discovery and JSON/Markdown formatting. The release also ships TypeScript 4.3 and launches a web platform test dashboard for tracking browser compatibility.