What's new in Open Enterprise SDK for Node.js 22.0
Open Enterprise SDK for Node.js 22.0 is based on the Node.js 22 community release and delivers the following new functions, performance and usability enhancements.
Community and dependencies
- Node package manager (npm) is updated to 10.9.0.
- V8 JavaScript engine is updated to version 12.4.
- OpenSSL is updated to version 3.0.15+quic.
For a full list of new functions and enhancements, see Node.js 22 ChangeLog.
z/OS® specific enhancements
- By default, zEnterprise Data Compression hardware acceleration is used when performing
compression or decompression operations using zlib.
If hardware acceleration is unable to used, then zlib will automatically fallback to software compression and decompression. The environment variable _HZC_COMPRESSION_METHOD can be set to "software", or the Node.js flag
--hzc-compression-method=softwareflag can be used to manually toggle the use of software compression and decompression.The use of software compression or decompression might result in reduced performance compared to the previous releases of Node.js. Therefore, whenever possible the use of hardware acceleration is recommended.
These changes do not apply to Brotli-based streams.
- Added the
hwCheck()method to zlib streams, and the constantsZ_HARDWARE,Z_HARDWARE_PENDING, andZ_SOFTWAREto the zlib module.Output from
hwCheck()is used to determine whether a stream will use hardware acceleration or software by comparing it to these constants. For more details, see the zEnterprise Data Compression (zEDC) support page of this document.