Release Notes for Node.js 12

Red Hat build of Node.js 12

For use with Node.js 12.16.1

Red Hat Customer Content Services

Abstract

This Release Note contains important information related to Node.js 12.16.1.

Chapter 1. Required Infrastructure Component Versions

Red Hat does not provide support for components listed below, with the exception of components explicitly designated as supported.

Component nameVersion

Nodeshift

2.1.1

npm 6[a]

6.4.1

OpenShift Container Platform (OCP)[b]

3.11, 4.5

Minishift

1.34.2 or later

CDK[c]

3.11.0

git

2.0 or later

oc command line tool

3.11 or later[d]

[a] Distributed with as a supported RPM for Node.js 12
[b] OCP is supported by Red Hat
[c] CDK is supported by Red Hat
[d] The version of the oc CLI tool should correspond to the version of OCP that you are using.

Chapter 2. Features

This section contains information about feature changes introduced in the current release.

2.1. New and Changed features

Red Hat Enterprise Linux 8.1 includes a release of Node.js 12 that provides a number of new features and enhancements over Node.js 10. Notable changes include:

  • The V8 engine upgraded to version 7.4
  • A new default HTTP parser, llhttp (no longer experimental)
  • Integrated capability of heap dump generation
  • Support for ECMAScript 2015 (ES6) modules
  • Improved support for native modules
  • Worker threads no longer require a flag
  • A new experimental diagnostic report feature
  • Improved performance

For detailed changes in Node.js 12.16.1, see the upstream release notes and upstream documentation.

2.1.1. Support for Node.js Runtime on IBM Z

The Red Hat build of Node.js for s390x platform is supported only in OpenShift environments provisioned on IBM Z infrastructure. Running an Node.js application on a stand-alone installation of RHEL on IBM Z is not supported.

New images for products supported on IBM Z are available in the Red Hat Container Catalog.

2.1.2. Deploying example applications on OpenShift provisioned on IBM Z infrastructure

To deploy the example applications on OpenShift environments provisioned on IBM Z infrastructure, specify the relevant IBM Z image name in the package.json file and commands.

Some of the example applications also require other products, such as Red Hat Data Grid to demonstrate the workflows. In this case, you must also change the image names of these products to their relevant IBM Z image names in the YAML file of the example applications.

The Secured example application in Node.js requires Red Hat SSO 7.3. Since Red Hat SSO 7.3 is not supported on IBM Z, the Secured example is not available for IBM Z.

2.2. Deprecated features

There are no features deprecated in this release.

2.3. Technology preview

2.3.1. Circuit breaker pattern Opossum for Red Hat build of Node.js

Opossum is a circuit breaker for Node.js. Red Hat build of Node.js provides a fully supported @redhat/opossum module.

The circuit breaker pattern is used to reduce the impact of network failure and high latency on service architectures, where services asynchronously invoke other services.

The @redhat/opossum module is available for download from the Red Hat Customer registry. The modules with the @redhat namespace should be downloaded from the Red Hat registry and all the other modules should be downloaded from the npm registry. To specify the download paths, create a .npmrc file in the root directory of your application with the following code:

@redhat:registry=https://npm.registry.redhat.com
registry=https://registry.npmjs.org

After specifying the download paths, to install the @redhat/opossum module in your application enter the following command:

$ npm install @redhat/opossum

To work with the @redhat/opossum module add the following code to your application:

const CircuitBreaker = require(‘@redhat/opossum’)

2.4. Supported architectures

Node.js builder images and RPM packages are available and supported for use with the following CPU architectures:

  • AMD x86_64
  • PowerPC 64-bit Little Endian

Chapter 3. Release components

Chapter 4. Fixed issues

This release incorporates all of the fixed issues in the community release of Node.js 12.16.1.

Chapter 5. Known issues

There are no known issues affecting this release.

Chapter 6. Known issues affecting required infrastructure components

There are no known issues affecting infrastructure components required by this release.

Legal Notice

Copyright © 2021 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.