Skip to content

Commit

Permalink
2022-10-13, Version 18.11.0 (Current)
Browse files Browse the repository at this point in the history
watch mode (experimental):

Running in 'watch' mode using `node --watch` restarts the process when an
imported file is changed.

Contributed by Moshe Atlow in #44366

Other notable changes:

* fs:
  * (SEMVER-MINOR) add `FileHandle.prototype.readLines` (Antoine du Hamel)
  #42590
* http:
  * (SEMVER-MINOR) add writeEarlyHints function to ServerResponse (Wing)
  #44180
* http2:
  * (SEMVER-MINOR) make early hints generic (Yagiz Nizipli) #44820
* lib:
  * (SEMVER-MINOR) refactor transferable AbortSignal (flakey5) #44048
* src:
  * (SEMVER-MINOR) add detailed embedder process initialization API (Anna
  Henningsen) #44121
* util:
  * (SEMVER-MINOR) add default value option to parsearg (Manuel Spigolon)
  #44631

PR-URL: #44968
  • Loading branch information
danielleadams committed Oct 13, 2022
1 parent 7cdf745 commit a7a672c
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.10.0">18.10.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.11.0">18.11.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.10.0">18.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.9.1">18.9.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.9.0">18.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.8.0">18.8.0</a><br/>
Expand Down
6 changes: 3 additions & 3 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1573,7 +1573,7 @@ will be chosen.
### `--watch`

<!-- YAML
added: REPLACEME
added: v18.11.0
-->

> Stability: 1 - Experimental
Expand All @@ -1595,7 +1595,7 @@ $ node --watch index.js
### `--watch-path`

<!-- YAML
added: REPLACEME
added: v18.11.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ of the file.
#### `filehandle.readLines([options])`
<!-- YAML
added: REPLACEME
added: v18.11.0
-->
* `options` {Object}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -1606,7 +1606,7 @@ Unicode "replacement character" U+FFFD.
## `util.transferableAbortController()`
<!-- YAML
added: REPLACEME
added: v18.11.0
-->
> Stability: 1 - Experimental
Expand All @@ -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
Expand Down
134 changes: 134 additions & 0 deletions doc/changelogs/CHANGELOG_V18.md

Large diffs are not rendered by default.

0 comments on commit a7a672c

Please sign in to comment.