Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
Published By From Node.js News · 1 min read
ReleaseNode.js 22.9.0 (Current)
A new API getCallSite has been introduced to the util module. This API allows users to retrieve the stacktrace of the current execution. Example:
Thanks to Rafael Gonzaga for making this work on #54380 .
We have seen several crashes/unexpected JS behaviors with maglev on v22 (which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for users to work around them or even figure out where the bugs are coming from. Some bugs are fixed in the upstream while some others probably remain.
As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to backport patches for them even if the bugs are fixed.
This is an excerpt. The full article is published by Node.js News.
Answers to common questions regarding this article's topic, architecture, and practical applications.
This releases introduces a new option to the API tls.createSecureContext. For
now on users can use tls.createSecureContext({ allowPartialTrustChain: true })
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted. Thanks to Anna Henningsen for making this work on #54790
General
We have seen several crashes/unexpected JS behaviors with maglev on v22
(which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for
users to work around them or even figure out where the bugs are coming from.
Some bugs are fixed in the upstream while some others probably remain. As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to
backport patches for them even if the bugs are fixed. So disable it
General
Windows 32-bit Installer: https://nodejs.org/dist/v22.9.0/node-v22.9.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v22.9.0/node-v22.9.0-x64.msi
Windows ARM 64-bit Installer: https://nodejs.org/dist/v22.9.0/node-v22.9.0-arm64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v22.9.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v22.9.0/win-x64/node.exe
Windows ARM 64-bit Binary: https://nodejs.org/dist/v22.9.0
General
A new API getCallSite has been introduced to the util module. This API allows users
to retrieve the stacktrace of the current execution. Example: const = ('node:util');
function () {
const = .getCallSite();
.('Call Sites:');
.forEach((, ) => {
.(`CallSite ${ + 1}:`);
.(`Function Name: ${.functionName}`);
.(`Script Name: ${.scriptName}`);
.(`Line Number: ${.lineNumber}`);
.(`Column Number: ${.column}`);
});
// Cal
General
A new API getCallSite has been introduced to the util module. This API allows users to retrieve the stacktrace of the current execution. Example: