Node.js 22.22.1 LTS and 20.20.1 LTS Released: Key Updates and What You Need to Know
Node.js has released two long-term support versions: 22.22.1 LTS and 20.20.1 LTS, both of which bring important fixes and performance tweaks to the JavaScript runtime environment. One key change is that Node now uses a newer set of root certificates, known as NSS 3.119, which replaces old CA files and helps prevent TLS connections from failing on services like GitHub or AWS. Another significant update is that Buffer.of no longer allocates memory on the stack, but instead uses the heap, which can help prevent accidental overflows and improve memory usage patterns. Additionally, other tweaks include a new stable flag for debugging memory leaks and improved handling of mixed-type Sets and Maps in assertions.
Node.js 22.22.1 LTS and 20.20.1 LTS Released: Key Updates and What You Need to Know
Node.js has released two long-term support versions, 22.22.1 LTS and 20.20.1 LTS, featuring critical fixes and performance enhancements. A notable update includes the integration of newer root certificates (NSS 3.119), which helps prevent TLS connection failures on services like GitHub and AWS. Additionally, the Buffer.of method now allocates memory on the heap rather than the stack, reducing the risk of accidental overflows. Other improvements include a stable flag for debugging memory leaks and better handling of mixed-type Sets and Maps in assertions, enhancing overall performance and reliability for developers
