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.
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'); // falseOther 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!
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.