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](#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 6d3a9e3
Show file tree
Hide file tree
Showing 8 changed files with 147 additions and 12 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 @@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
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
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
Original file line number Diff line number Diff line change
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 6d3a9e3

Please sign in to comment.