Change8

v2.6.9

📦 denoView on GitHub →
4 features🐛 40 fixes🔧 17 symbols

Summary

This release introduces documentation support for markdown files and enhances upgrade reliability with zip checksum verification. It also includes numerous fixes, particularly improving compatibility and stability within the Node.js extension environment.

✨ New Features

  • Support for markdown files in documentation.
  • Ability to verify zip archives against checksum during upgrade.
  • Added context to error messages for improved troubleshooting.
  • Send reject-ack message through the cron socket.

🐛 Bug Fixes

  • Made the 'Path' property in audit logs more readable.
  • Pulled in tunnel fix for Windows.
  • Use a temporary directory with a node_modules folder when compiling npm specifiers.
  • Fixed `.only` tests compatibility in node extensions.
  • Fixed `fs.writeFile` and `FileHandle.writeFile` compatibility in node extensions.
  • Added `threadName` to the `worker_threads` module.
  • Added `worker.cpuUsage([prev])` API.
  • Added `hasColors()` to `process.stdout` and `process.stderr`.
  • Added stub for `ServerResponse.writeEarlyHints`.
  • Added zstd compression support to `node:zlib`.
  • Emit close on both paired MessagePorts.
  • Emit error event for worker with missing main module.
  • Emit error event for worker_threads terminal errors.
  • Fixed 'test-worker-process-{argv,env}.js' tests.
  • Fixed multiple `node:zlib` compatibility issues.
  • Handle raw fd instead of rid in `isatty`.
  • Implement Node worker `BroadcastChannel` ref/unref.
  • Implement `Symbol.asyncDispose` for Node Worker.
  • Implement `DatabaseSync.setAuthorizer()`.
  • Make `child_process` stdio streams Socket instances.
  • Propagate worker exit code from `process.exit()`.
  • Read from stdin when spawning node with no arguments.
  • Serialize `workerData` before resolving worker filename.
  • Set `exitCode`/`signalCode` correctly for killed child processes.
  • Unref child_process stdio streams by default.
  • Unref stdin on pause to allow process exit.
  • Validate `execArgv` and `NODE_OPTIONS` in `worker_threads`.
  • Use correct severity for `console.trace` in OpenTelemetry extension.
  • Corrected GPUQueue writeBuffer size given in elements of TA for WebGPU extension.
  • Fixed extra trailing space in zsh directory completions.
  • `randomBytes` now returns a buffer with a dedicated ArrayBuffer.
  • Handle EOF gracefully in JSON REPL mode.
  • Fixed test runner output clearing caused by user input.
  • Fixed `deno info` npm subpath import resolution.
  • Added `raw.esm.sh` to the default `--allow-import` list.
  • Fixed flaky cron socket tests.
  • Fixed running on pre-Windows 10 version 1709.
  • Fixed support for `DENO_SERVE_ADDRESS` not being applied to the first server.
  • Fixed support for loading `npm:` and `jsr:` specifiers in required ES modules.
  • Fixed flakiness in `unstable_cron_socket_serve_reject` caused by control socket coordination.

Affected Symbols