Change8

v2.5.1

📦 denoView on GitHub →
2 features🐛 15 fixes🔧 11 symbols

Summary

Deno 2.5.1 is a maintenance release focusing on Node.js compatibility fixes, unstable HttpClient enhancements, and CLI bug fixes for workspaces and macOS.

✨ New Features

  • Added support for Deno.HttpClient in WebSocket (unstable)
  • Added TCP proxy support for Deno.HttpClient (unstable)

🐛 Bug Fixes

  • Set the type of outputFile in deno bundle to Uint8Array<ArrayBuffer>
  • Filter resolution errors for bare ambient modules in deno check
  • Mark unix and vsock proxy connections as proxy in fetch extension
  • Handle falsy values enumerability in process.env
  • Implemented fchmod on Windows for Node.js compatibility
  • Allow fs.glob to accept URL for the current working directory
  • Set default callback and added validation for fs.close
  • Validate fs.read on empty buffers and readlink arguments
  • Ensure FFI fast calls are correctly taken
  • Ensure duplicate HTTP listeners inherit onError and signal handlers
  • Fixed regression where 'deno init --npm' failed on macOS
  • Prevent LSP from writing lockfile during cache-on-save
  • Reduce 'module not found' errors caused by missing copy package in Node.js compat
  • Corrected config file path in permission error messages within workspaces
  • Added info/hint for the unstable Deno.bundle API

🔧 Affected Symbols

Deno.HttpClientWebSocketdeno bundleprocess.envfs.fchmodfs.globfs.closefs.readfs.readlinkdeno initDeno.bundle