Aquesta és una versió anterior. La versió actual és la 22.23.4. Node.js 22 22.23.4 · Data de publicació:
Fitxers d’instal·lació 22.9.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | MSI | Tots els usuaris | — | nodejs.org | VirusTotal |
| ARM64 | MSI | Tots els usuaris | — | nodejs.org | VirusTotal |
| 32 bits | MSI | Tots els usuaris | — | nodejs.org | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
New API to retrieve execution Stack Trace
A new API getCallSite has been introduced to the util module. This API allows users to retrieve the stacktrace of the current execution.
Thanks to Rafael Gonzaga for making this work on #54380.
Disable V8 Maglev
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 by default on v22 to reduce the churn and troubles for users.
Thanks to Joyee Cheung for making this work on #54384
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
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
Other Notable Changes
- [5c9599af5a] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384
- [e2307d87e8] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032
Deprecations
- [8433032948] - repl: doc-deprecate instantiating node:repl classes without new (Aviv Keller) #54842
- [8c4c85cf31] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708