Deno 2.4 is here: What’s new and what to expect

Deno 2.4: What’s New and What to Expect
Major tooling upgrades: Bundling and formatting
- Deno 2.4 introduces updates to make common tasks simpler, faster, and more intuitive.
- A new command to update all packages to their latest versions, irrespective of semver constraints.
Advanced environment control with the --importmap
flag
- This feature is beneficial for framework authors and developers constructing custom platforms on Deno.
- Allows for direct import of assets, treating them as first-class citizens within the module graph.
Bridging the gap: Deepening Node.js compatibility
- Deno 2.4 enhances compatibility with the existing npm ecosystem, making it easier to run Node.js projects and utilize npm packages.
- The new
--compat
flag streamlines the process of setting up compatibility.
Production-ready features: Observability and security
- Deno 2.4 brings robust security and observability features, including automatic observability without needing a flag.
- More flexible permission controls enhance Deno's signature security model.
Conclusion
Deno 2.4 signifies a significant step forward for the runtime, with enhancements like a powerful bundler and improved Node.js compatibility. This release aims to reduce friction and enhance the developer experience.