Migrating to Deno v2.5.0
Version v2.5.0 introduces 1 breaking change. This guide details how to update your code.
Released: 9/10/2025
1
Breaking Changes
2
Migration Steps
18
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Deno.testDeno.listenDeno.listenTlsDeno.serveDeno.bundleChildProcess.stdoutChildProcess.stderrDatabaseSynccrypto.getRandomValuescrypto.hkdfSyncfs.existsfs.mkdtempfs.symlinkpath.normalizepath.relativesetTimeoutsetIntervalQuicListenerBreaking Changes
●Issue #1
The `deno fmt` command now prompts or requires `deno fmt .` when no files are provided and no configuration files are discovered.
Migration Steps
- 1Update scripts using `deno test --nocapture` to use `deno test --no-capture`.
- 2If using `deno fmt` without arguments in CI/scripts, ensure a config file exists or update to `deno fmt .` to avoid interactive prompts.
Release Summary
Deno 2.5.0 introduces a runtime API for bundling, setup/teardown hooks for Deno.test, and configuration-based permissions. It also includes significant Node.js compatibility improvements and upgrades to TypeScript 5.9.2 and V8 14.0.0.
Need More Details?
View the full release notes and all changes for Deno v2.5.0.
View Full Changelog