Deno 2.2 Adds Built-in OpenTelemetry
Written by Kay Ewbank   
Thursday, 06 March 2025

Deno 2.2 has been released with built-in OpenTelemetry among its improvements. Other changes include new Lint plugins, and support for node:sqlite.

Deno is built in Rust, and is described as secure by default as it has no file, network, or environment access, unless explicitly enabled. 

deno

The first addition to this release is built-in OpenTelemetry. This is a collection of APIs, SDKs, and tools that can be used to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) to help analyze software’s performance and behavior. Deno automatically instruments APIs including console.log, Deno.serve, and fetch. You can also instrument your own code using npm:@opentelemetry/api.

This release also introduces a major upgrade to deno lint, including a new plugin system and 15 new rules, particularly for React and Preact users. The new rules mainly target JSX and React best practices. The biggest update to deno lint is a new JavaScript plugin API that provides the ability to extend the linter's functionality with a new plugin system.

This release also adds what the team says is a highly requested node:sqlite module, making it easy to work with in-memory or local databases.

Deno check, Deno's tools for type checking, have also been improved with two main changes in this release. Firstly, JSDoc tags are now respected, and secondly, the settings for compilerOptions can now be configured per workspace member.

The Deno team says that Deno's WebGPU implementation got a major revamp. This fixes many issues that were being encountered, and should also improve overall performance of the available APIs. In addition, the Jupyter integration is now able to display GPUTextures as images, and GPUBuffers as text:

Other changes of note are more compatibility with node.js and npm, and a number of performance improvements, including  lower memory consumption due to Deno now clearing information about module analysis after a timeoutl and Deno.stat and node:fs.stat being up to 2.5x faster on Windows.

Deno 2.2 is available now.

deno

More Information

Deno Website

Related Articles

Deno 2 Release Candidate Ready

Deno Adds Support For Private npm Registries

Deno Improves JSR Support 

Deno Supports Built-in Node Modules 

.

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


FerretDB 2 Moves To DocumentDB
11/02/2025

FerretDB has been updated to version 2.0, which the company says offers major improvements in performance, compatibility, support, and flexibility. In practical terms, the main change is a move to use [ ... ]



Machine Learning Pioneers Awarded Queen Elizabeth Prize
09/02/2025

The 2025 Queen Elizabeth Prize has been awarded to Yoshua Bengio, Bill Dally, Geoffrey Hinton, John Hopfield, Jensen Huang, Yann LeCun, and Fei-Fei Li. The seven 2025 Laureates share the £500,00 [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info