v2.2.5
Breaking Changes📦 denoView on GitHub →
⚠ 1 breaking✨ 3 features🐛 8 fixes🔧 8 symbols
Summary
Deno 2.2.5 introduces unstable support for local npm packages and OpenTelemetry event recording, alongside a V8 engine upgrade to 13.5 and various Node.js compatibility fixes.
⚠️ Breaking Changes
- The ErrorWithStackTraceLimit interface has been removed. Use the standard ErrorConstructor interface which now includes stackTraceLimit.
Migration Steps
- Update code referencing the 'ErrorWithStackTraceLimit' interface to use the standard 'Error' or 'ErrorConstructor' type instead.
✨ New Features
- Added basic OpenTelemetry (otel) event recording (unstable).
- Added support for using a local copy of npm packages (unstable).
- Upgraded deno_core and V8 engine to version 13.5.
🐛 Bug Fixes
- Fixed stack overflow in documentation generator for namespaces that export themselves or ancestors.
- Added util.getCallSites to Node.js compatibility layer.
- Fixed immediate statement reset in Node.js run() execution.
- Restricted ATTACH DATABASE statements in Node.js compatibility layer.
- Explicitly enabled sysinfoapi feature on winapi dependency for Windows systems.
- Fixed LSP diagnostic 'import-map-remap' when referrer and target are within the entry base.
- Fixed OpenTelemetry implementation by replacing ArrayPrototypeSplit with StringPrototypeSplit.
- Updated ErrorConstructor interface to include stackTraceLimit.
🔧 Affected Symbols
deno_coreV8util.getCallSitesErrorConstructorErrorWithStackTraceLimitwinapiArrayPrototypeSplitStringPrototypeSplit