What's new in the Node.js

 


A week ago, Node.js 19 was released Which includes the update of the V8 JavaScript engine to 10.7, and HTTP 1.1 KeepAlive enabled by default.

Important features of the release::

This is an experimental feature. It allows you to run node application with the --watch flag, which will restart the node process when it detects changes in the directory. This feature is useful for development. It is similar to the nodemon.

HTTP 1.1 KeepAlive is enabled by default. This feature is useful for performance. It allows the TCP connection to remain open for multiple requests. This reduces the time required to set up new TCP connections. The default keep-alive duration is 5 seconds.

Stable WebCrypto is now available in Node.js. It is a standard cryptographic API for the web platform. It provides a secure and performant way to handle cryptographic operations. The WebCrypto API is available globally in Node.js. It can be accessed using crypto.webcrypto global object.

The V8 engine is updated to version 10.7, which is part of Chromium 107. This version includes a new feature to the Javascript API.

Also, Node 14 is now in maintenance mode. It will be supported until April 2023. If you are using Node 14, you should upgrade to Node 16. Node 16 is the current LTS version. It will be supported until April 2024.


Thank you for reading 😊

Got any additional questions? please leave a comment.

More content at Blogspot

Catch me on GithubTwitterLinkedInMediumDev.tohashnode Stackblitz.

Next Post Previous Post
No Comment
Add Comment
comment url