Changelog

denoland/deno · · 11 commits

Node compat gets several runtime fixes

Deno tightened Node API compatibility around child_process, sqlite, process, and HTTP, plus a few smaller test/metadata updates.

Node child_process now honors uid/gid and exposes getgroups() (fraidev49a9e13)

spawn() was missing uid/gid on async launches, and permission failures now surface as synchronous EPERM like Node.js. The day also adds process.getgroups() on Unix, filling a previously missing API for code that inspects supplementary groups.

SQLite prepare() now matches Node options and iterator semantics (bartlomieju3015343)

DatabaseSync.prepare() now accepts the Node-style second-argument options object, including readBigInts, returnArrays, allowBareNamedParameters, and allowUnknownNamedParameters. It also defaults defensive mode to true and fixes iterator invalidation so active iterators fail cleanly after statement execution.

process.threadCpuUsage() is implemented (bartlomieju5a92ed2)

Deno now exposes per-thread CPU accounting with an optional diff argument, aligning with Node’s API shape. This is backed by a new runtime op that reuses native thread CPU usage plumbing across macOS, Linux, and Windows.

HTTP h2c upgrade requests no longer hang (bartlomieju4a0e228)

node:http no longer emits the `