Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite
Deno 2.2 adds built-in OpenTelemetry that auto-instruments console.log, Deno.serve and fetch and exports to an OTLP endpoint behind the --unstable-otel flag. It also adds an ESLint-like JavaScript lint plugin API with visitor and CSS-selector syntax, 15 new JSX/React lint rules, and support for node:sqlite. Other changes include JSDoc @import support and per-workspace compilerOptions in deno check, 5-20x faster LSP completions, wildcard and command-less tasks, interactive deno outdated, smaller and faster deno compile output, explicit warmup and n options for deno bench, WebTransport/QUIC APIs, and upgrades to TypeScript 5.7 and V8 13.4.
Related posts
- Deno 2.3: Improved deno compile, local npm packages, and more
Deno mediumAdeptDeno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries. Local npm packages can now be used through a "patch" entry in deno.json. deno fmt gains formatting of CSS, HTML and SQL in tagged templates plus 14 new options, and OpenTelemetry support adds span events, cross-service context propagation, node:http auto-instrumentation and V8 heap metrics. deno install is about 2x faster when npm dependencies are cached, thanks to in-memory npm metadata caching and lockfile v5, with a benchmark showing 2.5x on a Vite React template. The release also adds the JavaScript `using` keyword, coverage ignore comments and TypeScript 5.8 with V8 13.5.
- Deno 2.4: deno bundle is back
Deno mediumAdeptDeno 2.4 brings back `deno bundle`, now built on esbuild, producing single-file bundles for Deno or browser targets with tree shaking, minification, sourcemaps and npm/JSR dependency support. Text and bytes imports via import attributes (behind `--unstable-raw-imports`) let assets be embedded in bundles and `deno compile` binaries. Built-in OpenTelemetry is now stable, and the release adds a `--preload` flag, a `deno update` command, `deno run --coverage`, a `DENO_COMPAT=1` mode for package.json-first projects, and conditional package.json exports. `--allow-net` gains subdomain wildcards and CIDR ranges, a new `--deny-import` flag blocks specific hosts, and `Deno.execPath()` no longer requires read permission, which avoids pushing users toward a blanket `--allow-read`.
- How to get deep traces in your Node.js backend with OTel and Deno
Deno mediumAdeptRunning an unmodified Node.js Express server under Deno 2.2+ with the `--unstable-otel` flag yields OpenTelemetry traces and span-correlated logs with no code changes. Deno auto-instruments `console.log`, `fetch` and `Deno.serve()`. The comparison is a small ChatGPT-backed chat app viewed in Grafana's otel-lgtm Docker stack (Tempo for traces). The plain-Node route needed eight @opentelemetry dependencies, an 84-line telemetry.js configuring NodeSDK exporters and HTTP instrumentation, and a custom logger that attaches trace IDs. In Deno, a few environment variables are enough, though the feature is still experimental.
- Deno 1.11 Release Notes
Deno mediumAdeptDeno 1.11 adds official Docker images (Alpine, CentOS, Debian, Distroless, Ubuntu), abortable fetch via AbortSignal, Web Crypto's crypto.subtle.digest and crypto.randomUUID, TextEncoderStream/TextDecoderStream, and an unstable in-process BroadcastChannel for workers. deno lint is now stable, and deno compile binaries gain data-URI dynamic imports and Deno.emit(). The language server adds test code lenses, per-resource configuration, registry auto-discovery and JSON/Markdown formatting. The release also ships TypeScript 4.3 and launches a web platform test dashboard for tracking browser compatibility.
- Deno 1.34: deno compile supports npm packages
Deno mediumAdeptDeno 1.34 lets `deno compile` bundle npm packages and their dependencies into a single self-contained executable. That makes tools like vite and eslint shippable as binaries with pinned dependencies, and they tend to start faster than running from a local cache. The release also adds cross-platform glob support in deno.json, deno task and CLI flags, and TLS certificates with IP addresses via rustls. Smaller changes include a top-level `exclude` and `nodeModulesDir` in config, configurable language-server limits, a `Deno.serve()` signature change that returns a `Deno.Server`, new `createHttpClient` pool options, more Node.js polyfills, and upgrades to V8 11.5 and TypeScript 5.0.4.