Node.js 21 Released and Node.js 20 Promoted to LTS

Nishant Patel
peanutsquarellp
Published in
2 min readOct 31, 2023

The Node.js community has been buzzing with excitement as Node.js 21 is officially released! Alongside this significant milestone, Node.js 20 is being promoted to long-term support (LTS). In this blog post, we’ll explore what these announcements mean for developers and the Node.js ecosystem.

Node.js 21 — What’s new?

Node.js 21 brings several exciting updates and enhancements. Here are a few notable changes:

  1. Updates to the V8 JavaScript engine: Node.js 21 includes an update to the V8 JavaScript engine, bringing improved performance and new language features.
  2. Stable fetch and WebStreams: The fetch module and WebStreams have been marked as stable, providing reliable and efficient ways to make network requests and process streams of data.
  3. Built-in WebSocket client: Node.js 21 introduces an experimental WebSocket client, allowing developers to easily establish WebSocket connections in their applications.
  4. Built-in WebSocket client: Node.js 21 introduces an experimental WebSocket client, allowing developers to easily establish WebSocket connections in their applications.
  5. Updates to the test runner: The test runner in Node.js has been improved with support for glob expressions, allowing more flexible and efficient test execution.

These are just a few highlights from the extensive list of changes in Node.js 21. You can find the complete list of updates and additions in the official Node.js 21 release announcement.

With the release of Node.js 21, Node.js 20 has been promoted to long-term support (LTS). This means that Node.js 20 will receive support and maintenance updates for an extended period, ensuring stability and reliability for developers using this version in their projects.

As per the Node.js release schedule, Node.js 21 will serve as the current release for the next six months until April 2024. During this time, the Node.js project will continue to make progress and incorporate new features and fixes into the LTS releases.

Conclusion

Node.js 21 brings exciting updates and enhancements for developers, while Node.js 20 being promoted to LTS promises long-term stability and support. Whether you’re looking to leverage the latest features or prefer a more stable environment, the Node.js ecosystem has you covered.

To download the latest version of Node.js, visit the official Node.js website. For more information about the Node.js release policy and updates, you can refer to the official GitHub repository.

Make sure to test your applications and modules with Node.js 21 to ensure compatibility with the latest changes. And if you’re still using the older Node.js versions, consider planning your upgrade to Node.js 18 (LTS) or Node.js 20 (LTS).

Stay tuned for more updates from the Node.js community, and happy coding! Click Here to visit our site

--

--