Deno 2.8 is the biggest minor release to date, introducing six new subcommands: `deno audit fix` (auto-patches vulnerable npm packages), `deno bump-version` (semver bumping with Conventional Commits support), `deno ci` (reproducible lockfile-based installs), `deno pack` (builds npm-publishable tarballs from Deno/JSR projects), `deno transpile` (strips TypeScript types to plain JS), and `deno why` (explains why a package is installed). Key highlights include: 3.66x faster cold npm installs via parallel resolution, abbreviated packuments, and optimized decompression; Node.js API compatibility jumping from 42% to 76.4% pass rate; `import defer` support (TC39 proposal for lazy module evaluation); TypeScript 6.0.3 bundled; `lib.node` types included by default; Chrome DevTools network inspection for Deno programs; built-in CPU profiler with flamegraph and Markdown output; `catalog:` protocol for monorepo dependency version management; framework-aware `deno compile` supporting Next.js, Astro, Fresh, Remix, SvelteKit, and more; OpenTelemetry gRPC exporter and permission audit integration; and numerous testing improvements including per-test timeouts, function coverage reporting, and sanitizers off by default.

42m read timeFrom deno.com
Post cover image
Table of contents
New subcommandsDeno now defaults to npm:Node.js API compatibilityPerformanceimport deferTypeScript 6.0.3lib.node included by defaultDebuggingPackage and workspace managementdeno compile updatesOpenTelemetryTesting and coverageWeb APIsTask runnerdeno upgrade changesModule loader hookssetTimeout and setIntervalMiscellaneousV8 14.9Acknowledgments
2 Comments

Sort: