Change8

v22.21.1

📦 node-jsView on GitHub →
5 features🐛 5 fixes🔧 8 symbols

Summary

This release focuses on performance optimizations for array inspection and HTTP/2, along with critical bug fixes for process execution environment variables and async context handling during unhandled rejections.

✨ New Features

  • Improved array inspection performance in console and util modules.
  • Optimized priority queue implementation in internal library.
  • Implemented passive listener behavior per specification.
  • Improved http.writeEarlyHints performance by avoiding for-of loops.
  • Enhanced SPrintF and string utility functions in C++ source to support std::string_view and reduce allocations.

🐛 Bug Fixes

  • Fixed http2 allowHttp1+Upgrade functionality which was broken by shouldUpgradeCallback.
  • Fixed incorrect asyncContext under unhandled-rejections=strict in process module.
  • Fixed default env handling for process.execve.
  • Fixed fast call signatures for hrtime, timers, and WasiFunction.
  • Fixed memory management in uv_process_options_t using RAII to ensure correct vector finalization.

Affected Symbols