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 9ac029e commit 8c1dd95
Show file tree
Hide file tree
Showing 8 changed files with 149 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
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
Expand Up @@ -1190,7 +1190,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 @@ -1542,7 +1542,7 @@ will be chosen.
### `--watch`

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

> Stability: 1 - Experimental
Expand All @@ -1564,7 +1564,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
Expand Up @@ -518,7 +518,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
Expand Up @@ -2128,9 +2128,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
Expand Up @@ -3994,7 +3994,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
Expand Up @@ -1025,7 +1025,7 @@ equality.
<!-- YAML
added: v18.3.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 @@ -1600,7 +1600,7 @@ Unicode "replacement character" U+FFFD.
## `util.transferableAbortController()`
<!-- YAML
added: REPLACEME
added: v18.11.0
-->
> Stability: 1 - Experimental
Expand All @@ -1611,7 +1611,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.

6 changes: 3 additions & 3 deletions src/node_version.h
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 18
#define NODE_MINOR_VERSION 10
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 11
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit 8c1dd95

Please sign in to comment.