Skip to content

Commit 4533c19

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

14 files changed

+299
-28
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
@@ -665,7 +665,7 @@ of `--enable-source-maps`.
665665
<!-- YAML
666666
added: v20.6.0
667667
changes:
668-
- version: REPLACEME
668+
- version: v21.7.0
669669
pr-url: https://github.com/nodejs/node/pull/51289
670670
description: Add support to multi-line values.
671671
-->

doc/api/crypto.md

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

36353635
<!-- YAML
36363636
added:
3637-
- REPLACEME
3637+
- v21.7.0
36383638
-->
36393639

36403640
* `algorithm` {string|undefined}

doc/api/deprecations.md

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

34413441
<!-- YAML
34423442
changes:
3443-
- version: REPLACEME
3443+
- version: v21.7.0
34443444
pr-url: https://github.com/nodejs/node/pull/51442
34453445
description: End-of-Life.
34463446
- version:

doc/api/errors.md

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

23712371
<!-- YAML
2372-
added: REPLACEME
2372+
added: v21.7.0
23732373
-->
23742374

23752375
The operation cannot be performed when it's not in a single-executable
@@ -2526,7 +2526,7 @@ and HTTP/2 `Server` instances.
25262526
### `ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUND`
25272527

25282528
<!-- YAML
2529-
added: REPLACEME
2529+
added: v21.7.0
25302530
-->
25312531

25322532
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`.
@@ -968,7 +968,7 @@ const vm = require('node:vm');
968968
added: v10.10.0
969969
changes:
970970
- version:
971-
- REPLACEME
971+
- v21.7.0
972972
pr-url: https://github.com/nodejs/node/pull/51244
973973
description: Added support for
974974
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1036,7 +1036,7 @@ function with the given `params`.
10361036
## `vm.constants`
10371037

10381038
<!-- YAML
1039-
added: REPLACEME
1039+
added: v21.7.0
10401040
-->
10411041

10421042
* {Object}
@@ -1046,7 +1046,7 @@ Returns an object containing commonly used constants for VM operations.
10461046
### `vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`
10471047

10481048
<!-- YAML
1049-
added: REPLACEME
1049+
added: v21.7.0
10501050
-->
10511051

10521052
> Stability: 1.1 - Active development
@@ -1064,7 +1064,7 @@ For detailed information, see
10641064
added: v0.3.1
10651065
changes:
10661066
- version:
1067-
- REPLACEME
1067+
- v21.7.0
10681068
pr-url: https://github.com/nodejs/node/pull/51244
10691069
description: Added support for
10701070
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1246,7 +1246,7 @@ vm.measureMemory({ mode: 'detailed', execution: 'eager' })
12461246
added: v0.3.1
12471247
changes:
12481248
- version:
1249-
- REPLACEME
1249+
- v21.7.0
12501250
pr-url: https://github.com/nodejs/node/pull/51244
12511251
description: Added support for
12521252
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1322,7 +1322,7 @@ console.log(contextObject);
13221322
added: v0.3.1
13231323
changes:
13241324
- version:
1325-
- REPLACEME
1325+
- v21.7.0
13261326
pr-url: https://github.com/nodejs/node/pull/51244
13271327
description: Added support for
13281328
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
@@ -1424,7 +1424,7 @@ console.log(contextObject);
14241424
added: v0.3.1
14251425
changes:
14261426
- version:
1427-
- REPLACEME
1427+
- v21.7.0
14281428
pr-url: https://github.com/nodejs/node/pull/51244
14291429
description: Added support for
14301430
`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)