Skip to content

Commit

Permalink
2022-05-17, Version 18.2.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* This release updates OpenSSL to 3.0.3.
This update can be treated as a security release as the issues addressed in OpenSSL 3.0.3 slightly affect Node.js 18.
See https://nodejs.org/en/blog/vulnerability/openssl-fixes-in-regular-releases-may2022/ for more information on how the May 2022 OpenSSL releases affect other Node.js release lines.

* *Revert*_ "deps: add template for generated headers" (Daniel Bevenius) #42978
* deps: update archs files for quictls/openssl-3.0.3+quic (RafaelGSS) #43022
* deps: update undici to 5.2.0 (Node.js GitHub Bot) #43059
* deps: upgrade npm to 8.9.0 (npm team) #42968
* (SEMVER-MINOR) fs: add `read(buffer[, options])` versions (LiviaMedeiros) #42768
* (SEMVER-MINOR) http: added connection closing methods (Shogun) #42812
* deps: upgrade openssl sources to quictls/openssl-3.0.3 (RafaelGSS) #43022
* doc: add LiviaMedeiros to collaborators (LiviaMedeiros) #43039
* doc: add release key for Juan Arboleda (Juan José) #42961
* (SEMVER-MINOR) fs: add `read(buffer[, options])` versions (LiviaMedeiros) #42768
* (SEMVER-MINOR) http: added connection closing methods (Paolo Insogna) #42812
* perf_hooks: add PerformanceResourceTiming (RafaelGSS) #42725

PR-URL: #43036
  • Loading branch information
RafaelGSS committed May 16, 2022
1 parent 0670843 commit 2e84c93
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 28 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.1.0">18.1.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.2.0">18.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.1.0">18.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a><br/>
</td>
<td valign="top">
Expand Down
4 changes: 2 additions & 2 deletions doc/api/fs.md
Expand Up @@ -420,7 +420,7 @@ number of bytes read is zero.
#### `filehandle.read(buffer[, options])`
<!-- YAML
added: REPLACEME
added: v18.2.0
-->
* `buffer` {Buffer|TypedArray|DataView} A buffer that will be filled with the
Expand Down Expand Up @@ -3273,7 +3273,7 @@ above values.
### `fs.read(fd, buffer[, options], callback)`
<!-- YAML
added: REPLACEME
added: v18.2.0
-->
* `fd` {integer}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/http.md
Expand Up @@ -1456,15 +1456,15 @@ Stops the server from accepting new connections. See [`net.Server.close()`][].
### `server.closeAllConnections()`

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

Closes all connections connected to this server.

### `server.closeIdleConnections()`

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

Closes all connections connected to this server which are not sending a request
Expand Down
4 changes: 2 additions & 2 deletions doc/api/https.md
Expand Up @@ -138,15 +138,15 @@ See [`server.close()`][] in the `node:http` module.
### `server.closeAllConnections()`

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

See [`server.closeAllConnections()`][] in the `node:http` module.

### `server.closeIdleConnections()`

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

See [`server.closeIdleConnections()`][] in the `node:http` module.
Expand Down
36 changes: 18 additions & 18 deletions doc/api/perf_hooks.md
Expand Up @@ -70,7 +70,7 @@ Performance Timeline. If `name` is provided, removes only the named mark.
### `performance.clearResourceTimings([name])`

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

* `name` {string}
Expand Down Expand Up @@ -215,7 +215,7 @@ Performance Timeline manually with `performance.clearMarks`.
global, cacheMode)\`

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

* `timingInfo` {Object} [Fetch Timing Info][]
Expand Down Expand Up @@ -695,7 +695,7 @@ initialized.
## Class: `PerformanceResourceTiming`

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

* Extends: {PerformanceEntry}
Expand All @@ -708,7 +708,7 @@ The constructor of this class is not exposed to users directly.
### `performanceResourceTiming.workerStart`

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

* {number}
Expand All @@ -720,7 +720,7 @@ will always return 0.
### `performanceResourceTiming.redirectStart`

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

* {number}
Expand All @@ -731,7 +731,7 @@ of the fetch which initiates the redirect.
### `performanceResourceTiming.redirectEnd`

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

* {number}
Expand All @@ -742,7 +742,7 @@ receiving the last byte of the response of the last redirect.
### `performanceResourceTiming.fetchStart`

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

* {number}
Expand All @@ -753,7 +753,7 @@ to fetch the resource.
### `performanceResourceTiming.domainLookupStart`

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

* {number}
Expand All @@ -764,7 +764,7 @@ the domain name lookup for the resource.
### `performanceResourceTiming.domainLookupEnd`

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

* {number}
Expand All @@ -775,7 +775,7 @@ after the Node.js finished the domain name lookup for the resource.
### `performanceResourceTiming.connectStart`

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

* {number}
Expand All @@ -787,7 +787,7 @@ the resource.
### `performanceResourceTiming.connectEnd`

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

* {number}
Expand All @@ -799,7 +799,7 @@ the resource.
### `performanceResourceTiming.secureConnectionStart`

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

* {number}
Expand All @@ -810,7 +810,7 @@ before Node.js starts the handshake process to secure the current connection.
### `performanceResourceTiming.requestStart`

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

* {number}
Expand All @@ -821,7 +821,7 @@ before Node.js receives the first byte of the response from the server.
### `performanceResourceTiming.responseEnd`

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

* {number}
Expand All @@ -833,7 +833,7 @@ the transport connection is closed, whichever comes first.
### `performanceResourceTiming.transferSize`

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

* {number}
Expand All @@ -844,7 +844,7 @@ includes the response header fields plus the response payload body.
### `performanceResourceTiming.encodedBodySize`

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

* {number}
Expand All @@ -856,7 +856,7 @@ content-codings.
### `performanceResourceTiming.decodedBodySize`

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

* {number}
Expand All @@ -868,7 +868,7 @@ content-codings.
### `performanceResourceTiming.toJSON()`

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

Returns a `object` that is the JSON representation of the
Expand Down

0 comments on commit 2e84c93

Please sign in to comment.