diff options
author | Danielle Adams <adamzdanielle@gmail.com> | 2022-10-11 17:37:32 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2022-10-14 00:12:13 +0300 |
commit | a7a672c68fad49692eec5de3450b6f3b811427c8 (patch) | |
tree | 19e0e4d390789dec8672e474a95d7470a0fddc4a /doc/api | |
parent | 7cdf745fddade8b7fc644f44121fbba041d3ac4c (diff) |
2022-10-13, Version 18.11.0 (Current)
watch mode (experimental):
Running in 'watch' mode using `node --watch` restarts the process when an
imported file is changed.
Contributed by Moshe Atlow in https://github.com/nodejs/node/pull/44366
Other notable changes:
* fs:
* (SEMVER-MINOR) add `FileHandle.prototype.readLines` (Antoine du Hamel)
https://github.com/nodejs/node/pull/42590
* http:
* (SEMVER-MINOR) add writeEarlyHints function to ServerResponse (Wing)
https://github.com/nodejs/node/pull/44180
* http2:
* (SEMVER-MINOR) make early hints generic (Yagiz Nizipli) https://github.com/nodejs/node/pull/44820
* lib:
* (SEMVER-MINOR) refactor transferable AbortSignal (flakey5) https://github.com/nodejs/node/pull/44048
* src:
* (SEMVER-MINOR) add detailed embedder process initialization API (Anna
Henningsen) https://github.com/nodejs/node/pull/44121
* util:
* (SEMVER-MINOR) add default value option to parsearg (Manuel Spigolon)
https://github.com/nodejs/node/pull/44631
PR-URL: https://github.com/nodejs/node/pull/44968
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cli.md | 6 | ||||
-rw-r--r-- | doc/api/fs.md | 2 | ||||
-rw-r--r-- | doc/api/http.md | 4 | ||||
-rw-r--r-- | doc/api/http2.md | 2 | ||||
-rw-r--r-- | doc/api/util.md | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 717b2e09ead..f7b88f7704c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1217,7 +1217,7 @@ on [running tests from the command line][] for more details. ### `--test-name-pattern` <!-- YAML -added: REPLACEME +added: v18.11.0 --> A regular expression that configures the test runner to only execute tests @@ -1573,7 +1573,7 @@ will be chosen. ### `--watch` <!-- YAML -added: REPLACEME +added: v18.11.0 --> > Stability: 1 - Experimental @@ -1595,7 +1595,7 @@ $ node --watch index.js ### `--watch-path` <!-- YAML -added: REPLACEME +added: v18.11.0 --> > Stability: 1 - Experimental diff --git a/doc/api/fs.md b/doc/api/fs.md index b50a0c345bd..5fd93b7f587 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -520,7 +520,7 @@ of the file. #### `filehandle.readLines([options])` <!-- YAML -added: REPLACEME +added: v18.11.0 --> * `options` {Object} diff --git a/doc/api/http.md b/doc/api/http.md index 121073e4fed..1b3a91e9deb 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2141,9 +2141,9 @@ the request body should be sent. See the [`'checkContinue'`][] event on ### `response.writeEarlyHints(hints[, callback])` <!-- YAML -added: REPLACEME +added: v18.11.0 changes: - - version: REPLACEME + - version: v18.11.0 pr-url: https://github.com/nodejs/node/pull/44820 description: Allow passing hints as an object. --> diff --git a/doc/api/http2.md b/doc/api/http2.md index d741a4df146..c0031966840 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -4008,7 +4008,7 @@ should be sent. See the [`'checkContinue'`][] event on `Http2Server` and ### `response.writeEarlyHints(links)` <!-- YAML -added: REPLACEME +added: v18.11.0 --> * `links` {string|Array} diff --git a/doc/api/util.md b/doc/api/util.md index 65b1a1de729..207e5abed61 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1031,7 +1031,7 @@ added: - v18.3.0 - v16.17.0 changes: - - version: REPLACEME + - version: v18.11.0 pr-url: https://github.com/nodejs/node/pull/44631 description: Add support for default values in input `config`. - version: @@ -1606,7 +1606,7 @@ Unicode "replacement character" U+FFFD. ## `util.transferableAbortController()` <!-- YAML -added: REPLACEME +added: v18.11.0 --> > Stability: 1 - Experimental @@ -1617,7 +1617,7 @@ as transferable and can be used with `structuredClone()` or `postMessage()`. ## `util.transferableAbortSignal(signal)` <!-- YAML -added: REPLACEME +added: v18.11.0 --> > Stability: 1 - Experimental |