Deno 2.9.2
Deno 2.9.2 has landed — and it\u2019s a big one for desktop app developers. Hot module reloading, framework auto-detection, and window transparency APIs lead a feature-packed patch. Let\u2019s break it down.
\u26a1 Desktop Dominance
The desktop subsystem gets the lion\u2019s share of attention in this release. Deno can now auto-detect React Router frameworks, enabling seamless integration with popular front-end routing setups. The --hmr flag is now wired through for both Vite and Nuxt projects, giving you instant hot module replacement during development. Framework dev servers can drive HMR directly, removing the need for manual configuration. And for developers building polished desktop apps, new window opacity and transparency APIs provide finer control over the look and feel of native windows.
\ud83d\udee1\ufe0f Security & Stability
A v8.setHeapSnapshotNearHeapLimit implementation lands in the Node compatibility layer, giving V8 heap profiling more precise control. The inspector server can now be started on SIGUSR1, matching Node.js conventions. Telemetry honors the OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT environment variable for OpenTelemetry compliance.
\ud83d\udc1b Bug Bashes
Multiple coverage counting bugs were squashed — trailing comments no longer skew hit counts, block-boundary gaps are properly excluded from branch coverage, and branch-junction lines are correctly marked as covered when either arm executes. Compilation gets a boost with libsui bumped to 0.16.3, fixing segfaults under gVisor and Cloud Run. The desktop app launcher now self-loads the runtime and surfaces startup errors instead of exiting silently — a huge debugging quality-of-life improvement.
\ud83d\udccb Full Changelog Highlights
- \ud83d\udce6 feat(desktop): autodetect React Router framework, enable
--hmrfor Vite and Nuxt, run HMR by framework dev server, window opacity and transparency APIs - \ud83d\udd0c feat(ext/node): implement v8.setHeapSnapshotNearHeapLimit
- \ud83d\udcf1 feat(inspector): start inspector server on SIGUSR1
- \ud83e\udde9 feat(node): implement getTestContext() in node:test
- \u2705 fix(compile): bump libsui to 0.16.3, fix segfault under gVisor/Cloud Run
- \ud83d\udcca fix(coverage): don\u2019t let comments change hit counts, fix block-boundary gap counting
- \ud83d\udcbb fix(desktop): surface compiled-app startup errors instead of silent exits
- \ud83d\udee1\ufe0f fix(ext): throw DataError for invalid multi-part form data
\u2b06\ufe0f Upgrade Today
Run deno upgrade to grab 2.9.2. If you\u2019re building desktop apps with Deno, this is a must-have update. For everyone else, the coverage fixes and Node compat improvements make it a worthwhile upgrade. Get it while it\u2019s hot \ud83d\udd25