Skip navigation
JavaScript code on computer screen Getty Images

Node.js 17 Extends Open Source JavaScript Promise APIs

The new release of Node.js improves security by supporting OpenSSL 3 and adds new Promise API capabilities to the popular JavaScript framework.

The Node.js project released Version 17 of its open source JavaScript framework on Oct.19, providing developers and the organizations they support with new capabilities.

Part of the Linux Foundation's OpenJS Foundation, Node.js is one of the most widely used development frameworks by developers today. As is the case with many open source development efforts, Node.js has both long-term and short-term support releases. What is somewhat different with Node.js is that the long-term support (LTS) releases are declared after a release has been generally available, in an effort to iron out any bugs.

Node.js 17 is a short-term release; next week, Node.js 16 will be declared a long-term support release, with support until 2024.

"Node.js is truly a community-led project where they are continually seeking feedback as they iterate and test new features," Robin Ginn, executive director of the OpenJS Foundation, told ITPro Today. "Odd-numbered releases, like today’s current Version 17, is a progressive way to advance the project before features land in the even-numbered long-term support version."

New JavaScript Promise APIs Land in Node.js 17

The concept of "promises" is well-defined in JavaScript, providing a way for developers to set up a proxy for a value that isn't immediately available but will be as the program continues to execute.

In Node.js 17, there is a set of new Promise APIs that bring new capabilities to developers.

"The addition of a Promise-based version of an API allows developers to await and simplify their code by removing potentially deep callback trees," Michael Dawson, chair of the Node.js Technical Steering Committee and senior principal software engineer at Red Hat, told ITPro Today.

The new version of Node.js also brings with it support for the new OpenSSL Version 3. OpenSSL is an open source cryptographic library that is used for a variety of security operations and is often used to help enable Transport Layer Security (TLS) for web application security.

Current versions of Node.js use OpenSSL 1.1.1, and the move to OpenSSL 3 was written to be relatively compatible with 1.1.1 but may require some tweaks for native modules, according to Dawson.

"The larger impact is that some weaker algorithms and shorter key lengths will no longer be supported by default," he said. "This may force applications to be modified to use better algorithms and or larger key lengths."

The Path to Node.js 17 JavaScript Framework Adoption

As to how and when organizations and developers will begin to adopt Node.js 17, Dawson said Node.js has a well-defined release process.

A new release is promoted to LTS every October, and each LTS release is supported for 30 months, he said. Organizations will vary as to how often they upgrade, with some organizations skipping alternate LTS releases so that they only upgrade every two years.

"Typically, an organization will select their new target LTS version, test their application with that version and then roll out," Dawson said.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish