Backend Development 2 min read

Node.js v19.9.0 Released: New TracingChannel, URL.canParse API, and Other Notable Changes

Node.js v19.9.0 has been released, introducing a high‑performance TracingChannel in diagnostic_channel, a new URL.canParse API with usage examples, and several minor updates such as getMaxListeners, migration to WiX4, deprecation of napi_module_register, highWaterMark setters/getters, and an exposed reporter for run‑api.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Node.js v19.9.0 Released: New TracingChannel, URL.canParse API, and Other Notable Changes

Node.js v19.9.0 has been released.

Key changes worth noting:

diagnostic_channel now includes a TracingChannel that provides a high‑performance channel for publishing trace data about function execution time and purpose. (#44943)

New URL.canParse API

A new API has been added to the URL class: URL.canParse checks whether an input string, optionally with a base URL, can be parsed according to the WHATWG URL specification. (#47179)

const isValid = URL.canParse('/foo', 'https://example.org/'); // true
const isNotValid = URL.canParse('/foo'); // false

Other notable changes include:

events

(SEMVER-MINOR) Added getMaxListeners method.

(SEMVER-MINOR) Migrated to WiX4.

(SEMVER-MINOR) Deprecated napi_module_register .

(SEMVER-MINOR) Added setter & getter for the default highWaterMark .

(SEMVER-MINOR) Exposed reporter for the run API.

Did you find this article helpful? Liking and sharing is the biggest support!

backendJavaScriptNode.jsreleaseURLTracingChannel
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.