Toto je starší verze. Nejnovější verze je 22.23.4. Node.js 22 22.23.4 · Datum vydání:
Instalační soubory 22.9.0
| Architektura | Typ | Pro koho | Velikost souboru | Stáhnout | SHA256 |
|---|---|---|---|---|---|
| 64bit | MSI | Všichni uživatelé | — | nodejs.org | VirusTotal |
| ARM64 | MSI | Všichni uživatelé | — | nodejs.org | VirusTotal |
| 32bit | MSI | Všichni uživatelé | — | nodejs.org | VirusTotal |
Odkaz a SHA256 pocházejí z komunitního manifestu Windows Package Manageru. Před spuštěním porovnejte hash staženého souboru.
Seznam změn
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