Change8

v24.12.0

📦 node-jsView on GitHub →
9 features🐛 4 fixes🔧 6 symbols

Summary

This release stabilizes module type stripping, introduces portable compile caches, and adds new options for HTTP, SQLite, and Node-API. It also includes significant V8 engine updates and security-related bug fixes in the crypto module.

Migration Steps

  1. If using experimental type stripping, note that it is now marked as stable.
  2. Review HTTP server configurations to consider enabling optimizeEmptyRequests for performance.

✨ New Features

  • http: add optimizeEmptyRequests server option
  • lib: add options to util.deprecate
  • module: mark type stripping as stable
  • node-api: add napi_create_object_with_properties
  • sqlite: allow setting defensive flag
  • src: add watch config namespace
  • src: add an option to make compile cache portable
  • src,permission: add --allow-inspector ability
  • v8: add cpu profile support

🐛 Bug Fixes

  • crypto: fix argument validation in crypto.timingSafeEqual fast path
  • debugger: fix event listener leak in the run command
  • crypto: ensure documented RSA-PSS saltLength default is used
  • deps: call OPENSSL_free after ANS1_STRING_to_UTF8 to prevent memory leak

Affected Symbols