New release of Node.js v22.9.0💚

Chriscullis
1 min read2 days ago

--

Photo by Rahul Mishra on Unsplash

In this article, we’ll explore the functionalities of the getCallSite API, its benefits, and how it can help streamline your debugging efforts in Node.js applications. Whether you're a seasoned developer or just starting, understanding this new addition will empower you to write more robust and maintainable code. Here’s a brief overview of the key points:

New Features

  • getCallSite API: Added to the util module, allowing users to retrieve the current execution stack trace, providing details like function names and line numbers.
  • TLS Context Update: Introduced allowPartialTrustChain option in tls.createSecureContext to allow partial trust in certificate chains.

Notable Changes

  • Maglev Disabled: Due to crashes and unexpected behaviors, the V8 Maglev feature is now disabled by default to improve stability.

Deprecations

  • Certain instantiations of node:repl and zlib classes without new are now deprecated.

Commits and Improvements

  • Various performance enhancements, bug fixes, and improvements to benchmarks and documentation.

This version seems focused on improving stability and developer experience, particularly with the new stack trace capabilities and adjustments to TLS handling. If you have specific questions or need insights on any feature, feel free to ask!

--

--