v22.19.0
📦 node-jsView on GitHub →
✨ 9 features🐛 4 fixes⚡ 2 deprecations🔧 9 symbols
Summary
This release introduces several minor features including system CA support, unflagging of WASM modules, and new thread CPU usage tracking, alongside dependency updates for OpenSSL and SQLite.
Migration Steps
- If using WebAssembly modules, you can now remove the --experimental-wasm-modules flag.
- Review any internal usage of _http_* modules and transition to public APIs as they are now deprecated.
✨ New Features
- cli: Added NODE_USE_SYSTEM_CA=1 environment variable to use system certificate authorities.
- cli: Added support for ${pid} placeholder in --cpu-prof-name.
- crypto: Added tls.setDefaultCACertificates() for managing CA certificates.
- dns: Added support for max timeout configuration.
- esm: Unflagged --experimental-wasm-modules, making WebAssembly modules available by default.
- http: Added server.keepAliveTimeoutBuffer option.
- net: Updated net.blocklist to support file save and management.
- process: Added threadCpuUsage to track CPU usage per thread.
- zlib: Added dictionary support to zstdCompress and zstdDecompress.
🐛 Bug Fixes
- build: Fixed node_use_sqlite for GN builds.
- benchmark: Fixed sqlite-is-transaction benchmark.
- doc: Fixed --use-system-ca history documentation.
- deps: Backported V8 fix 493cb53691be.
Affected Symbols
⚡ Deprecations
- The internal _http_* modules are now deprecated in documentation.
- The _extend utility has been removed from benchmarks (internal cleanup).