Deno 2.4 brings back bundle command, stabilizes OpenTelemetry, adds preload flag, and more
Jul 3, 2025 at 2:15 PM

Deno 2.4 brings back bundle command, stabilizes OpenTelemetry, adds preload flag, and more

Deno 2.4 has launched as the latest update to this open-source JavaScript and TypeScript runtime, delivering several workflow improvements. Most notably, this release restores the deno bundle sub-command, enabling developers to create single-file JavaScript or TypeScript bundles. This command now works with npm and JSR dependencies, targets both server and browser platforms, and features tree shaking and automatic minification using esbuild.

Alongside these changes, Deno 2.4 introduces new capabilities for developers. Data files such as Markdown documents, icon assets, or binary blobs can now be linked directly into the JavaScript module graph. Observability also advances, as built-in OpenTelemetry support achieves stable status in this release. For greater scripting flexibility, a --preload flag allows designated code to execute prior to the main script.

Dependency management receives an upgrade through the new deno update sub-command. This tool lets users update project dependencies to the latest available versions. Following these new features, script coverage collection is now possible with the deno run --coverage option. Deno 2.4 additionally includes a range of other enhancements and bug fixes, as summarized in the official release blog post.

Jul 3, 2025 by Paul

cz
city_zen found this interesting
Deno iconDeno
  20
  • ...

Deno is an open-source JavaScript runtime designed for the modern web, emphasizing security and web standards. It offers zero-config TypeScript support, robust server-side capabilities, and a comprehensive built-in toolchain. Highly rated at 4.3, Deno provides a secure environment for developers with its top features including support for both TypeScript and JavaScript.

No comments so far, maybe you want to be first?
Gu