Deno 2.0 Release Candidate released with major enhancements, TypeScript 5.6, and more

Deno 2.0 Release Candidate released with major enhancements, TypeScript 5.6, and more

Deno has launched the first release candidate for Deno 2.0, marking the largest update since its initial 1.0 release. This version introduces significant changes, including the removal of the global variable window and the addition of Node's process. Dependency management sees improvements, and a new error type, Deno.errors.NotCapable, helps distinguish between OS-level and Deno-specific errors.

Several APIs have been stabilized, with enhanced error messages offering hints for using unstable APIs without the necessary flags. Conversely, some APIs have been removed or soft-deprecated. Support for the subcommands deno bundle and deno vendor has been dropped, alongside the deprecation of various CLI flags. Import Assertions support, deprecated in version 1.46, is no longer available.

Deno 2.0 also enhances Node.js and npm compatibility, includes improved JSDoc test commands, and ships with the latest TypeScript 5.6 version.

by Paul

Deno iconDeno
  21
  • ...

Deno is a modern JavaScript and TypeScript server runtime designed for security and simplicity. Rated 4, it offers robust support for TypeScript and excels in server-side applications. As a runtime environment, Deno aims to streamline development while enhancing security measures. Top alternatives include Node.js, Bun, and ASP.NET.

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