Deno 2.1 released as the first LTS version with enhanced Wasm support and much more
Deno, an open-source JavaScript runtime, has released version 2.1, introducing a range of new features, enhancements, and bug fixes. This release marks Deno's first Long-Term Support (LTS) version, ensuring critical updates for the next six months.
Significant improvements have been made to WebAssembly (Wasm) support, making it more ergonomic and performant to import Wasm modules. The new --npm flag in deno init allows users to start projects similarly to npm and other package managers. Dependency management is enhanced with the deno outdated subcommand for managing JSR and npm updates.
The internal infrastructure of deno compile has undergone a major overhaul, allowing arbitrary file embedding and leveraging V8 code caching for faster program startups. Deno 2.1 also brings advancements in the permission system, deno task, CommonJS support, Node.js globals, and includes formatting and linting improvements. Additionally, users can now display images in Jupyter notebooks, among many other LSP and performance improvements.
