v23.10.0
📦 node-jsView on GitHub →
✨ 5 features🐛 4 fixes🔧 7 symbols
Summary
This release introduces an experimental JSON configuration file for Node.js flags and adds new utility methods to the TLS and V8 modules. It also includes several dependency updates, including OpenSSL 3.0.16 and NSS 3.108 root certificates.
Migration Steps
- To use the new configuration file feature, create a node.config.json and run node with --experimental-default-config-file.
- Ensure configuration files are from a trusted source as Node.js does not perform validation or sanitization on them.
✨ New Features
- Introduced --experimental-config-file and --experimental-default-config-file to support JSON-based configuration for Node.js flags.
- Implemented tls.getCACertificates() to retrieve CA certificates.
- Added v8.getCppHeapStatistics() to provide C++ heap usage information.
- Added support for intermediate certificates in --use-system-ca.
- Improved performance of Myers diff in the assert module.
🐛 Bug Fixes
- Fixed compatibility with V8's depot_tools in the build process.
- Disabled Node.js precompiled headers (PCH) with ccache on Windows.
- Fixed usage of module.registerSync in documentation comments.
- Corrected rendering of DEP0174 description in documentation.