Skip to content

Commit 2246cd9

Browse files
marco-ippolitoRafaelGSS
authored andcommittedMar 6, 2024
2024-03-06, Version 21.7.0 (Current)
Notable changes: build: * (SEMVER-MINOR) build opt to set local location of headers (Michael Dawson) nodejs#51525 crypto: * (SEMVER-MINOR) implement crypto.hash() (Joyee Cheung) nodejs#51044 * update root certificates to NSS 3.98 (Node.js GitHub Bot) nodejs#51794 doc: * add zcbenz to collaborators (Cheng Zhao) nodejs#51812 * add lemire to collaborators (Daniel Lemire) nodejs#51572 http2: * (SEMVER-MINOR) add h2 compat support for appendHeader (Tim Perry) nodejs#51412 * (SEMVER-MINOR) add server handshake utility (snek) nodejs#51172 * (SEMVER-MINOR) receive customsettings (Marten Richter) nodejs#51323 lib: * (SEMVER-MINOR) move encodingsMap to internal/util (Joyee Cheung) nodejs#51044 sea: * (SEMVER-MINOR) support sea.getRawAsset() (Joyee Cheung) nodejs#50960 * (SEMVER-MINOR) support embedding assets (Joyee Cheung) nodejs#50960 src: * (SEMVER-MINOR) print string content better in BlobDeserializer (Joyee Cheung) nodejs#50960 * (SEMVER-MINOR) support multi-line values for .env file (IlyasShabi) nodejs#51289 * (SEMVER-MINOR) add `process.loadEnvFile` and `util.parseEnv` (Yagiz Nizipli) nodejs#51476 * (SEMVER-MINOR) do not coerce dotenv paths (Tobias Nießen) nodejs#51425 stream: * (SEMVER-MINOR) implement `min` option for `ReadableStreamBYOBReader.read` (Mattias Buelens) nodejs#50888 util: * (SEMVER-MINOR) add styleText API to text formatting (Rafael Gonzaga) nodejs#51850 vm: * (SEMVER-MINOR) support using the default loader to handle dynamic import() (Joyee Cheung) nodejs#51244 PR-URL: nodejs#51932
1 parent edd6190 commit 2246cd9

13 files changed

+381
-25
lines changed
 

‎CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ release.
3636
</tr>
3737
<tr>
3838
<td valign="top">
39-
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.6.2">21.6.2</a></b><br/>
39+
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.7.0">21.7.0</a></b><br/>
40+
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.2">21.6.2</a><br/>
4041
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.1">21.6.1</a><br/>
4142
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.0">21.6.0</a><br/>
4243
<a href="doc/changelogs/CHANGELOG_V21.md#21.5.0">21.5.0</a><br/>

‎doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ of `--enable-source-maps`.
667667
<!-- YAML
668668
added: v20.6.0
669669
changes:
670-
- version: REPLACEME
670+
- version: v21.7.0
671671
pr-url: https://github.com/nodejs/node/pull/51289
672672
description: Add support to multi-line values.
673673
-->

‎doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3514,7 +3514,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
35143514

35153515
<!-- YAML
35163516
added:
3517-
- REPLACEME
3517+
- v21.7.0
35183518
-->
35193519

35203520
> Stability: 1.2 - Release candidate

‎doc/api/deprecations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3527,7 +3527,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
35273527

35283528
<!-- YAML
35293529
changes:
3530-
- version: REPLACEME
3530+
- version: v21.7.0
35313531
pr-url: https://github.com/nodejs/node/pull/51442
35323532
description: End-of-Life.
35333533
- version:

‎doc/api/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,7 @@ V8 startup snapshot even though Node.js isn't building one.
23722372
### `ERR_NOT_IN_SINGLE_EXECUTABLE_APPLICATION`
23732373

23742374
<!-- YAML
2375-
added: REPLACEME
2375+
added: v21.7.0
23762376
-->
23772377

23782378
The operation cannot be performed when it's not in a single-executable
@@ -2529,7 +2529,7 @@ and HTTP/2 `Server` instances.
25292529
### `ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUND`
25302530

25312531
<!-- YAML
2532-
added: REPLACEME
2532+
added: v21.7.0
25332533
-->
25342534

25352535
A key was passed to single executable application APIs to identify an asset,

‎doc/api/http2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ the given `Buffer` as generated by `http2.getPackedSettings()`.
28932893
### `http2.performServerHandshake(socket[, options])`
28942894

28952895
<!-- YAML
2896-
added: REPLACEME
2896+
added: v21.7.0
28972897
-->
28982898

28992899
* `socket` {stream.Duplex}
@@ -3662,7 +3662,7 @@ will result in a [`TypeError`][] being thrown.
36623662
#### `response.appendHeader(name, value)`
36633663

36643664
<!-- YAML
3665-
added: REPLACEME
3665+
added: v21.7.0
36663666
-->
36673667

36683668
* `name` {string}

‎doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ The JavaScript `string` type is described in
30883088
#### `node_api_create_property_key_utf16`
30893089

30903090
<!-- YAML
3091-
added: REPLACEME
3091+
added: v21.7.0
30923092
-->
30933093

30943094
> Stability: 1 - Experimental

‎doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,7 @@ debugger. See [Signal Events][].
22652265
## `process.loadEnvFile(path)`
22662266
22672267
<!-- YAML
2268-
added: REPLACEME
2268+
added: v21.7.0
22692269
-->
22702270
22712271
> Stability: 1.1 - Active development

‎doc/api/single-executable-applications.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ from the JavaScript main script embedded into the executable.
279279
#### `sea.isSea()`
280280
281281
<!-- YAML
282-
added: REPLACEME
282+
added: v21.7.0
283283
-->
284284
285285
* Returns: {boolean} Whether this script is running inside a single-executable
@@ -288,7 +288,7 @@ added: REPLACEME
288288
### `sea.getAsset(key[, encoding])`
289289
290290
<!-- YAML
291-
added: REPLACEME
291+
added: v21.7.0
292292
-->
293293
294294
This method can be used to retrieve the assets configured to be bundled into the
@@ -306,7 +306,7 @@ An error is thrown when no matching asset can be found.
306306
### `sea.getAssetAsBlob(key[, options])`
307307
308308
<!-- YAML
309-
added: REPLACEME
309+
added: v21.7.0
310310
-->
311311
312312
Similar to [`sea.getAsset()`][], but returns the result in a [`Blob`][].
@@ -321,7 +321,7 @@ An error is thrown when no matching asset can be found.
321321
### `sea.getRawAsset(key)`
322322
323323
<!-- YAML
324-
added: REPLACEME
324+
added: v21.7.0
325325
-->
326326
327327
This method can be used to retrieve the assets configured to be bundled into the

‎doc/api/util.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
15981598
> Stability: 1.1 - Active development
15991599
16001600
<!-- YAML
1601-
added: REPLACEME
1601+
added: v21.7.0
16021602
-->
16031603
16041604
* `content` {string}
@@ -1797,7 +1797,7 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
17971797
> Stability: 1.1 - Active development
17981798
17991799
<!-- YAML
1800-
added: REPLACEME
1800+
added: v21.7.0
18011801
-->
18021802
18031803
* `format` {string} A text format defined in `util.inspect.colors`.

‎doc/api/vm.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ executed in specific contexts.
5959
added: v0.3.1
6060
changes:
6161
- version:
62-
- REPLACEME
62+
- v21.7.0
6363
pr-url: https://github.com/nodejs/node/pull/51244
6464
description: Added support for
6565
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -971,7 +971,7 @@ const vm = require('node:vm');
971971
added: v10.10.0
972972
changes:
973973
- version:
974-
- REPLACEME
974+
- v21.7.0
975975
pr-url: https://github.com/nodejs/node/pull/51244
976976
description: Added support for
977977
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1039,7 +1039,7 @@ function with the given `params`.
10391039
## `vm.constants`
10401040

10411041
<!-- YAML
1042-
added: REPLACEME
1042+
added: v21.7.0
10431043
-->
10441044

10451045
* {Object}
@@ -1049,7 +1049,7 @@ Returns an object containing commonly used constants for VM operations.
10491049
### `vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`
10501050

10511051
<!-- YAML
1052-
added: REPLACEME
1052+
added: v21.7.0
10531053
-->
10541054

10551055
> Stability: 1.1 - Active development
@@ -1067,7 +1067,7 @@ For detailed information, see
10671067
added: v0.3.1
10681068
changes:
10691069
- version:
1070-
- REPLACEME
1070+
- v21.7.0
10711071
pr-url: https://github.com/nodejs/node/pull/51244
10721072
description: Added support for
10731073
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1249,7 +1249,7 @@ vm.measureMemory({ mode: 'detailed', execution: 'eager' })
12491249
added: v0.3.1
12501250
changes:
12511251
- version:
1252-
- REPLACEME
1252+
- v21.7.0
12531253
pr-url: https://github.com/nodejs/node/pull/51244
12541254
description: Added support for
12551255
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1325,7 +1325,7 @@ console.log(contextObject);
13251325
added: v0.3.1
13261326
changes:
13271327
- version:
1328-
- REPLACEME
1328+
- v21.7.0
13291329
pr-url: https://github.com/nodejs/node/pull/51244
13301330
description: Added support for
13311331
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1427,7 +1427,7 @@ console.log(contextObject);
14271427
added: v0.3.1
14281428
changes:
14291429
- version:
1430-
- REPLACEME
1430+
- v21.7.0
14311431
pr-url: https://github.com/nodejs/node/pull/51244
14321432
description: Added support for
14331433
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.

‎doc/api/webstreams.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ added: v16.5.0
622622
<!-- YAML
623623
added: v16.5.0
624624
changes:
625-
- version: REPLACEME
625+
- version: v21.7.0
626626
pr-url: https://github.com/nodejs/node/pull/50888
627627
description: Added `min` option.
628628
-->

0 commit comments

Comments
 (0)