node/doc/changelogs
Richard Lau b9dc2a3243
2024-03-26, Version 18.20.0 'Hydrogen' (LTS)
Notable changes:

Added support for import attributes:

Support has been added for import attributes, to replace the old import
assertions syntax. This will aid migration by making the new syntax
available across all currently supported Node.js release lines.

For more details, see

* [#50134](https://github.com/nodejs/node/issues/50134)
* [#51622](https://github.com/nodejs/node/issues/51622)

Doc deprecation for `dirent.path`:

Please use newly added `dirent.parentPath` instead.

Experimental node-api feature flags

Introduces an experimental feature to segregate finalizers that affect GC state.
A new type called `node_api_nogc_env` has been introduced as the const version
of `napi_env` and `node_api_nogc_finalize` as a variant of `napi_finalize` that
accepts a `node_api_nogc_env` as its first argument.

This feature can be turned off by defining
`NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT`.

Root certificates updated to NSS 3.98:

Certificates added:

* Telekom Security TLS ECC Root 2020
* Telekom Security TLS RSA Root 2023

Certificates removed:

* Security Communication Root CA

Updated dependencies:

* ada updated to 2.7.6.
* base64 updated to 0.5.2.
* c-ares updated to 1.27.0.
* corepack updated to 0.25.2.
* ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
* npm updated to 10.5.0. Fixes a regression in signals not being passed onto child processes.
* simdutf8 updated to 4.0.8.
* Timezone updated to 2024a.
* zlib updated to 1.3.0.1-motley-40e35a7.

vm: fix V8 compilation cache support for vm.Script:

Previously repeated compilation of the same source code using `vm.Script`
stopped hitting the V8 compilation cache after v16.x when support for
`importModuleDynamically` was added to `vm.Script`, resulting in a performance
regression that blocked users (in particular Jest users) from upgrading from
v16.x.

The recent fixes allow the compilation cache to be hit again
for `vm.Script` when `--experimental-vm-modules` is not used even in the
presence of the `importModuleDynamically` option, so that users affected by the
performance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for `vm.CompileFunction`.

PR-URL: https://github.com/nodejs/node/pull/52165
2024-03-26 17:31:12 +00:00
..
CHANGELOG_ARCHIVE.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_IOJS.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V4.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V5.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V6.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V7.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V8.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V9.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V10.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V11.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V12.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V13.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V14.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V15.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V16.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V17.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V18.md 2024-03-26, Version 18.20.0 'Hydrogen' (LTS) 2024-03-26 17:31:12 +00:00
CHANGELOG_V19.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V20.md 2024-02-14, Version 20.11.1 'Iron' (LTS) 2024-02-14 14:10:22 -03:00
CHANGELOG_V21.md 2024-03-08, Version 21.7.1 (Current) 2024-03-08 22:48:54 +01:00
CHANGELOG_V010.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00
CHANGELOG_V012.md 2023-10-17, Version 21.0.0 (Current) 2023-10-17 12:45:37 -03:00