v2.5.5
📦 denoView on GitHub →
✨ 5 features🐛 9 fixes🔧 17 symbols
Summary
Deno 2.5.5 introduces several unstable features including a new 'deno audit' command and dependency age constraints, alongside numerous bug fixes for Node.js compatibility, the LSP, and npm package resolution.
Migration Steps
- If using unstable features like 'deno audit' or the new dependency age constraints, ensure the --unstable flag is used or appropriate unstable settings are enabled in deno.json.
✨ New Features
- Added 'deno audit' subcommand (unstable)
- Ability to specify minimum dependency age constraints in deno.json or via CLI to exclude packages or install dependencies older than a specific date (unstable)
- Dynamic command-line completions for 'deno task' (unstable)
- TypeScript-Go (tsgo) integration for 'deno check' (unstable)
- Added process ID to permission broker messages (unstable)
🐛 Bug Fixes
- Fixed Deno.serve to correctly pass the tcpBacklog option
- Fixed Node.js compatibility for dns.resolve6, path.matchesGlob, and fs.read/write methods
- Implemented sqlite 'backup' capability and FileHandle.readLines() in Node.js extension
- Fixed memory leak in ReadableStream promise chain
- Improved npm package deduplication and reduced lockfile diffs
- Fixed issue where empty permissions in config incorrectly required the -P flag
- Fixed LSP to refresh configuration when tsconfig.json changes and added source.organizeImports support
- Fixed JSON formatting to support hexadecimal numbers, plus signs, and underscores in words
- Prevented 'Event' from being overwritten during runtime bootstrap
🔧 Affected Symbols
deno auditdeno taskdeno checkDeno.serveDeno.argsdns.resolve6fs.readfs.readSyncfs.writefs.writeSyncpath.matchesGlobcrypto.createHmacinspector.Session.postFileHandle.readLinesAssertionErrorReadableStreamEvent