Skip to content

Commit

Permalink
2024-03-08, Version 21.7.0 (Current)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
marco-ippolito committed Mar 1, 2024
1 parent 17ab5ae commit e5353e9
Show file tree
Hide file tree
Showing 15 changed files with 265 additions and 28 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.6.2">21.6.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.7.0">21.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.2">21.6.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.1">21.6.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.6.0">21.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.5.0">21.5.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ of `--enable-source-maps`.
<!-- YAML
added: v20.6.0
changes:
- version: REPLACEME
- version: v21.7.0
pr-url: https://github.com/nodejs/node/pull/51289
description: Add support to multi-line values.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3634,7 +3634,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`

<!-- YAML
added:
- REPLACEME
- v21.7.0
-->

* `algorithm` {string|undefined}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3440,7 +3440,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v21.7.0
pr-url: https://github.com/nodejs/node/pull/51442
description: End-of-Life.
- version:
Expand Down
4 changes: 2 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,7 @@ V8 startup snapshot even though Node.js isn't building one.
### `ERR_NOT_IN_SINGLE_EXECUTABLE_APPLICATION`

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

A key was passed to single executable application APIs to identify an asset,
Expand Down
4 changes: 2 additions & 2 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2893,7 +2893,7 @@ the given `Buffer` as generated by `http2.getPackedSettings()`.
### `http2.performServerHandshake(socket[, options])`

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

* `name` {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3088,7 +3088,7 @@ The JavaScript `string` type is described in
#### `node_api_create_property_key_utf16`

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,7 @@ debugger. See [Signal Events][].
## `process.loadEnvFile(path)`
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
> Stability: 1.1 - Active development
Expand Down
8 changes: 4 additions & 4 deletions doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ from the JavaScript main script embedded into the executable.
#### `sea.isSea()`
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
* Returns: {boolean} Whether this script is running inside a single-executable
Expand All @@ -288,7 +288,7 @@ added: REPLACEME
### `sea.getAsset(key[, encoding])`
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
This method can be used to retrieve the assets configured to be bundled into the
Expand All @@ -306,7 +306,7 @@ An error is thrown when no matching asset can be found.
### `sea.getAssetAsBlob(key[, options])`
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
Similar to [`sea.getAsset()`][], but returns the result in a [`Blob`][].
Expand All @@ -321,7 +321,7 @@ An error is thrown when no matching asset can be found.
### `sea.getRawAsset(key)`
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
This method can be used to retrieve the assets configured to be bundled into the
Expand Down
4 changes: 2 additions & 2 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
> Stability: 1.1 - Active development
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
* `content` {string}
Expand Down Expand Up @@ -1797,7 +1797,7 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
> Stability: 1.1 - Active development
<!-- YAML
added: REPLACEME
added: v21.7.0
-->
* `format` {string} A text format defined in `util.inspect.colors`.
Expand Down
16 changes: 8 additions & 8 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ executed in specific contexts.
added: v0.3.1
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down Expand Up @@ -968,7 +968,7 @@ const vm = require('node:vm');
added: v10.10.0
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down Expand Up @@ -1036,7 +1036,7 @@ function with the given `params`.
## `vm.constants`

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.7.0
-->

> Stability: 1.1 - Active development
Expand All @@ -1064,7 +1064,7 @@ For detailed information, see
added: v0.3.1
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down Expand Up @@ -1246,7 +1246,7 @@ vm.measureMemory({ mode: 'detailed', execution: 'eager' })
added: v0.3.1
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down Expand Up @@ -1322,7 +1322,7 @@ console.log(contextObject);
added: v0.3.1
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down Expand Up @@ -1424,7 +1424,7 @@ console.log(contextObject);
added: v0.3.1
changes:
- version:
- REPLACEME
- v21.7.0
pr-url: https://github.com/nodejs/node/pull/51244
description: Added support for
`vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ added: v16.5.0
<!-- YAML
added: v16.5.0
changes:
- version: REPLACEME
- version: v21.7.0
pr-url: https://github.com/nodejs/node/pull/50888
description: Added `min` option.
-->
Expand Down
Loading

0 comments on commit e5353e9

Please sign in to comment.