Change8

Migrating to Deno v2.1.11

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

Released: 4/10/2025

1
Breaking Changes
2
Migration Steps
11
Affected Symbols

⚠️ Check Your Code

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

ErrorConstructorErrorWithStackTraceLimitError.isErrorTemporal.ZonedDateTime.getTimeZoneTransitionnode:http.ServerResponsenode:http.IncomingMessagenode:fs.mkdirnode:crypto.decipherIvglobalThis.cachesSubtleCryptocreateImageBitmap

Breaking Changes

Issue #1

The ErrorWithStackTraceLimit interface has been removed. Code relying on this specific interface should now use the standard ErrorConstructor interface which now includes stackTraceLimit.

Migration Steps

  1. 1
    Update any TypeScript code referencing the 'ErrorWithStackTraceLimit' interface to use 'ErrorConstructor' instead.
  2. 2
    If experiencing type checking failures, consider using the suggested '--no-check' flag as prompted by the new CLI hints.

Release Summary

Version 2.1.11 is an LTS release providing significant bug fixes for Node.js compatibility, improved npm peer dependency resolution, and expanded documentation for Web APIs like SubtleCrypto and Temporal.

Need More Details?

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

View Full Changelog