Change8

Migrating to Deno v2.5.2

Version v2.5.2 introduces 1 breaking change. This guide details how to update your code.

Released: 9/24/2025

1
Breaking Changes
2
Migration Steps
10
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

Uint8Arrayfs.readFilefs.readFileSyncfs.statfsfs.statfsSynccrypto.timingSafeEqualcrypto.Cipherivcrypto.DecipherivReadableStreamWritableStream

Breaking Changes

Issue #1

Direct execution of .bat and .cmd files on Windows is now rejected for security/stability; use a shell or explicit interpreter instead.

Migration Steps

  1. 1
    If running on Windows, ensure scripts do not attempt to execute .bat or .cmd files directly.
  2. 2
    Update configuration files to utilize the new top-level permissions key if desired.

Release Summary

Deno 2.5.2 introduces LSP support for BDD-style tests and several Node.js compatibility fixes for fs and crypto modules. It also includes performance optimizations for V8 scoping and module watching.

Need More Details?

View the full release notes and all changes for Deno v2.5.2.

View Full Changelog