Skip to content

Commit 6424d85

Browse files
committed
2018-10-23, Version 11.0.0 (Current)
Notable changes: * Build * FreeBSD 10 is no longer supported. [#22617](#22617) * `child_process` * The default value of the `windowsHide` option has been changed to `true`. [#21316](#21316) * `console` * `console.countReset()` will emit a warning if the timer being reset does not exist. [#21649](#21649) * `console.time()` will no longer reset a timer if it already exists. [#20442](#20442) * `crypto` * PEM-level encryption is now supported. [#23151](#23151) * An API for key pair generation has been added. [#22660](#22660) * Dependencies * V8 has been updated to 7.0. [#22754](#22754) * `fs` * The `fs.read()` method now requires a callback. [#22146](#22146) * The previously deprecated `fs.SyncWriteStream` utility has been removed.[#20735](#20735) * `http` * The `http`, `https`, and `tls` modules now use the WHATWG URL parser by default. [#20270](#20270) * `http2` * An event will be emitted when a `PING` frame is received. [#23009](#23009) * Support for the `ORIGIN` frame has been added. [#22956](#22956) * General * Use of `process.binding()` has been deprecated. Userland code using `process.binding()` should re-evaluate that use and begin migrating. * An experimental implementation of `queueMicrotask()` has been added. [#22951](#22951) * Internal * Windows performance-counter support has been removed. [#22485](#22485) * The `--expose-http2` command-line option has been removed. [#20887](#20887) * Promises * A new `multipleResolves` event will be emitted when a Promise is resolved (or rejected) more than once. [#22218](#22218) * Timers * Interval timers will be rescheduled even if previous interval threw an error. [#20002](#20002) * `util` * The WHATWG `TextEncoder` and `TextDecoder` are now globals. [#22281](#22281) * `util.inspect()` output size is limited to 128 MB by default. [#22756](#22756) * A runtime warning will be emitted when `NODE_DEBUG` is set for either `http` or `http2`. [#21914](#21914)
1 parent 5d8373a commit 6424d85

30 files changed

+488
-62
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ release lines.
88

99
Select a Node.js version below to view the changelog history:
1010

11-
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md)**Current**
11+
* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - **Current**
12+
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md) — Current
1213
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md) — End-of-Life
1314
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)**Long Term Support**
1415
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md) — End-of-Life
@@ -25,12 +26,16 @@ release.
2526

2627
<table>
2728
<tr>
29+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V11.md">11</a><sup>Current</sup></th>
2830
<th title="Current"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>Current</sup></th>
2931
<th title="LTS Until 2019-12"><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>LTS</sup></th>
3032
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">6</a><sup>LTS</sup></th>
3133
</tr>
3234
<tr>
3335
<td valign="top">
36+
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.0.0">11.0.0</a></b><br/>
37+
</td>
38+
<td valign="top">
3439
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.11.0">10.11.0</a></b><br/>
3540
<a href="doc/changelogs/CHANGELOG_V10.md#10.10.0">10.10.0</a><br/>
3641
<a href="doc/changelogs/CHANGELOG_V10.md#10.9.0">10.9.0</a><br/>

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ console.log(buf1.equals(buf3));
11971197
<!-- YAML
11981198
added: v0.5.0
11991199
changes:
1200-
- version: REPLACEME
1200+
- version: v11.0.0
12011201
pr-url: https://github.com/nodejs/node/pull/22969
12021202
description: Throws `ERR_OUT_OF_RANGE` instead of `ERR_INDEX_OUT_OF_RANGE`.
12031203
- version: v10.0.0

doc/api/child_process.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
131131
<!-- YAML
132132
added: v0.1.90
133133
changes:
134-
- version: REPLACEME
134+
- version: v11.0.0
135135
pr-url: https://github.com/nodejs/node/pull/21316
136136
description: The `windowsHide` option now defaults to `true`.
137137
- version: v8.8.0
@@ -235,7 +235,7 @@ lsExample();
235235
<!-- YAML
236236
added: v0.1.91
237237
changes:
238-
- version: REPLACEME
238+
- version: v11.0.0
239239
pr-url: https://github.com/nodejs/node/pull/21316
240240
description: The `windowsHide` option now defaults to `true`.
241241
- version: v8.8.0
@@ -381,7 +381,7 @@ The `shell` option available in [`child_process.spawn()`][] is not supported by
381381
<!-- YAML
382382
added: v0.1.90
383383
changes:
384-
- version: REPLACEME
384+
- version: v11.0.0
385385
pr-url: https://github.com/nodejs/node/pull/21316
386386
description: The `windowsHide` option now defaults to `true`.
387387
- version: v8.8.0
@@ -690,7 +690,7 @@ changes:
690690
pr-url: https://github.com/nodejs/node/pull/22409
691691
description: The `input` option can now be any `TypedArray` or a
692692
`DataView`.
693-
- version: REPLACEME
693+
- version: v11.0.0
694694
pr-url: https://github.com/nodejs/node/pull/21316
695695
description: The `windowsHide` option now defaults to `true`.
696696
- version: v8.8.0
@@ -760,7 +760,7 @@ changes:
760760
pr-url: https://github.com/nodejs/node/pull/22409
761761
description: The `input` option can now be any `TypedArray` or a
762762
`DataView`.
763-
- version: REPLACEME
763+
- version: v11.0.0
764764
pr-url: https://github.com/nodejs/node/pull/21316
765765
description: The `windowsHide` option now defaults to `true`.
766766
- version: v8.8.0
@@ -822,7 +822,7 @@ changes:
822822
pr-url: https://github.com/nodejs/node/pull/22409
823823
description: The `input` option can now be any `TypedArray` or a
824824
`DataView`.
825-
- version: REPLACEME
825+
- version: v11.0.0
826826
pr-url: https://github.com/nodejs/node/pull/21316
827827
description: The `windowsHide` option now defaults to `true`.
828828
- version: v8.8.0

doc/api/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ _For more info about `node inspect`, please see the [debugger][] documentation._
2323
## Options
2424
<!-- YAML
2525
changes:
26-
- version: REPLACEME
26+
- version: v11.0.0
2727
pr-url: https://github.com/nodejs/node/pull/23020
2828
description: Underscores instead of dashes are now allowed for
2929
Node.js options as well, in addition to V8 options.
@@ -66,7 +66,7 @@ If this flag is passed, the behavior can still be set to not abort through
6666

6767
### `--completion-bash`
6868
<!-- YAML
69-
added: REPLACEME
69+
added: v11.0.0
7070
-->
7171

7272
Print source-able bash completion script for Node.js.

doc/api/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ values are `'rr'` and `'none'`.
698698
<!-- YAML
699699
added: v0.7.1
700700
changes:
701-
- version: REPLACEME
701+
- version: v11.0.0
702702
pr-url: https://github.com/nodejs/node/pull/21316
703703
description: The `windowsHide` option now defaults to `true`.
704704
- version: v9.5.0

doc/api/crypto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ The `decipher.setAAD()` method must be called before [`decipher.update()`][].
426426
<!-- YAML
427427
added: v1.0.0
428428
changes:
429-
- version: REPLACEME
429+
- version: v11.0.0
430430
pr-url: https://github.com/nodejs/node/pull/17825
431431
description: This method now throws if the GCM tag length is invalid.
432432
- version: v7.2.0
@@ -1675,7 +1675,7 @@ signing algorithms. Optional `options` argument controls the
16751675

16761676
### crypto.generateKeyPair(type, options, callback)
16771677
<!-- YAML
1678-
added: REPLACEME
1678+
added: v11.0.0
16791679
-->
16801680
* `type`: {string} Must be `'rsa'`, `'dsa'` or `'ec'`.
16811681
* `options`: {Object}
@@ -1736,7 +1736,7 @@ a `Promise` for an `Object` with `publicKey` and `privateKey` properties.
17361736

17371737
### crypto.generateKeyPairSync(type, options)
17381738
<!-- YAML
1739-
added: REPLACEME
1739+
added: v11.0.0
17401740
-->
17411741
* `type`: {string} Must be `'rsa'`, `'dsa'` or `'ec'`.
17421742
* `options`: {Object}

doc/api/deprecations.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ to the `constants` property exposed by the relevant module. For instance,
227227
### DEP0009: crypto.pbkdf2 without digest
228228
<!-- YAML
229229
changes:
230-
- version: REPLACEME
230+
- version: v11.0.0
231231
pr-url: https://github.com/nodejs/node/pull/22861
232232
description: Runtime deprecation (for `digest === null`).
233233
- version: v8.0.0
@@ -249,15 +249,15 @@ in Node.js 6.0 because the method defaulted to using the non-recommended
249249
Node.js 8.0.0, calling `crypto.pbkdf2()` or `crypto.pbkdf2Sync()` with
250250
`digest` set to `undefined` will throw a `TypeError`.
251251

252-
Beginning in Node.js REPLACEME, calling these functions with `digest` set to
252+
Beginning in Node.js v11.0.0, calling these functions with `digest` set to
253253
`null` will print a deprecation warning to align with the behavior when `digest`
254254
is `undefined`.
255255

256256
<a id="DEP0010"></a>
257257
### DEP0010: crypto.createCredentials
258258
<!-- YAML
259259
changes:
260-
- version: REPLACEME
260+
- version: v11.0.0
261261
pr-url: https://github.com/nodejs/node/pull/21153
262262
description: End-of-Life.
263263
- version:
@@ -279,7 +279,7 @@ The `crypto.createCredentials()` API was removed. Please use
279279
### DEP0011: crypto.Credentials
280280
<!-- YAML
281281
changes:
282-
- version: REPLACEME
282+
- version: v11.0.0
283283
pr-url: https://github.com/nodejs/node/pull/21153
284284
description: End-of-Life.
285285
- version:
@@ -1240,7 +1240,7 @@ The [`util._extend()`][] API is deprecated.
12401240
### DEP0061: fs.SyncWriteStream
12411241
<!-- YAML
12421242
changes:
1243-
- version: REPLACEME
1243+
- version: v11.0.0
12441244
pr-url: https://github.com/nodejs/node/pull/20735
12451245
description: End-of-Life.
12461246
- version: v8.0.0
@@ -1582,7 +1582,7 @@ Type: Runtime
15821582
### DEP0079: Custom inspection function on Objects via .inspect()
15831583
<!-- YAML
15841584
changes:
1585-
- version: REPLACEME
1585+
- version: v11.0.0
15861586
pr-url: https://github.com/nodejs/node/pull/20722
15871587
description: End-of-Life.
15881588
- version: v10.0.0
@@ -1761,7 +1761,7 @@ same as the legacy assert but it will always use strict equality checks.
17611761
### DEP0090: Invalid GCM authentication tag lengths
17621762
<!-- YAML
17631763
changes:
1764-
- version: REPLACEME
1764+
- version: v11.0.0
17651765
pr-url: https://github.com/nodejs/node/pull/17825
17661766
description: End-of-Life.
17671767
- version: v10.0.0
@@ -1772,7 +1772,7 @@ changes:
17721772
Type: End-of-Life
17731773
17741774
Node.js used to support all GCM authentication tag lengths which are accepted by
1775-
OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with node REPLACEME,
1775+
OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with node v11.0.0,
17761776
only authentication tag lengths of 128, 120, 112, 104, 96, 64, and 32 bits are
17771777
allowed. Authentication tags whose length is not included in this list are
17781778
considered invalid in compliance with [NIST SP 800-38D][].
@@ -2000,7 +2000,7 @@ assigning it to `process.env`.
20002000
### DEP0105: decipher.finaltol
20012001
<!-- YAML
20022002
changes:
2003-
- version: REPLACEME
2003+
- version: v11.0.0
20042004
pr-url: https://github.com/nodejs/node/pull/19941
20052005
description: End-of-Life.
20062006
- version: v10.0.0
@@ -2018,7 +2018,7 @@ Type: End-of-Life
20182018
### DEP0106: crypto.createCipher and crypto.createDecipher
20192019
<!-- YAML
20202020
changes:
2021-
- version: REPLACEME
2021+
- version: v11.0.0
20222022
pr-url: https://github.com/nodejs/node/pull/22089
20232023
description: Runtime deprecation.
20242024
- version: v10.0.0
@@ -2039,7 +2039,7 @@ initialization vectors. It is recommended to derive a key using
20392039
### DEP0107: tls.convertNPNProtocols()
20402040
<!-- YAML
20412041
changes:
2042-
- version: REPLACEME
2042+
- version: v11.0.0
20432043
pr-url: https://github.com/nodejs/node/pull/20736
20442044
description: End-of-Life.
20452045
- version: v10.0.0
@@ -2072,7 +2072,7 @@ expose values under these names.
20722072
### DEP0109: http, https, and tls support for invalid URLs
20732073
<!-- YAML
20742074
changes:
2075-
- version: REPLACEME
2075+
- version: v11.0.0
20762076
pr-url: https://github.com/nodejs/node/pull/20270
20772077
description: Runtime deprecation.
20782078
-->
@@ -2118,7 +2118,7 @@ only. Use of `process.binding()` by userland code is unsupported.
21182118
### DEP0112: dgram private APIs
21192119
<!-- YAML
21202120
changes:
2121-
- version: REPLACEME
2121+
- version: v11.0.0
21222122
pr-url: https://github.com/nodejs/node/pull/22011
21232123
description: Runtime deprecation.
21242124
-->
@@ -2136,7 +2136,7 @@ accessed outside of Node.js core: `Socket.prototype._handle`,
21362136
### DEP0113: Cipher.setAuthTag(), Decipher.getAuthTag()
21372137
<!-- YAML
21382138
changes:
2139-
- version: REPLACEME
2139+
- version: v11.0.0
21402140
pr-url: https://github.com/nodejs/node/pull/22126
21412141
description: Runtime deprecation.
21422142
-->
@@ -2152,7 +2152,7 @@ release.
21522152
### DEP0114: crypto._toBuf()
21532153
<!-- YAML
21542154
changes:
2155-
- version: REPLACEME
2155+
- version: v11.0.0
21562156
pr-url: https://github.com/nodejs/node/pull/22501
21572157
description: Runtime deprecation.
21582158
-->
@@ -2166,7 +2166,7 @@ of Node.js core and will be removed in the future.
21662166
### DEP0115: crypto.prng(), crypto.pseudoRandomBytes(), crypto.rng()
21672167
<!-- YAML
21682168
changes:
2169-
- version: REPLACEME
2169+
- version: v11.0.0
21702170
pr-url:
21712171
- https://github.com/nodejs/node/pull/22519
21722172
- https://github.com/nodejs/node/pull/23017
@@ -2201,7 +2201,7 @@ use the [WHATWG URL API][] instead.
22012201
### DEP0117: Native crypto handles
22022202
<!-- YAML
22032203
changes:
2204-
- version: REPLACEME
2204+
- version: v11.0.0
22052205
pr-url: https://github.com/nodejs/node/pull/22747
22062206
description: Runtime deprecation.
22072207
-->

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ Used when an invalid character is found in an HTTP response status message
19291929
### ERR_INDEX_OUT_OF_RANGE
19301930
<!-- YAML
19311931
added: v10.0.0
1932-
removed: REPLACEME
1932+
removed: v11.0.0
19331933
-->
19341934
A given index was out of the accepted range (e.g. negative offsets).
19351935

doc/api/fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);
14101410
<!-- YAML
14111411
added: v0.1.31
14121412
changes:
1413-
- version: REPLACEME
1413+
- version: v11.0.0
14141414
pr-url: https://github.com/nodejs/node/pull/19898
14151415
description: Impose new restrictions on `start` and `end`, throwing
14161416
more appropriate errors in cases when we cannot reasonably
@@ -2148,7 +2148,7 @@ Synchronous lstat(2).
21482148
<!-- YAML
21492149
added: v0.1.8
21502150
changes:
2151-
- version: REPLACEME
2151+
- version: v11.0.0
21522152
pr-url: https://github.com/nodejs/node/pull/21875
21532153
description: The second argument can now be an `options` object with
21542154
`recursive` and `mode` properties.
@@ -2193,7 +2193,7 @@ See also: mkdir(2).
21932193
<!-- YAML
21942194
added: v0.1.21
21952195
changes:
2196-
- version: REPLACEME
2196+
- version: v11.0.0
21972197
pr-url: https://github.com/nodejs/node/pull/21875
21982198
description: The second argument can now be an `options` object with
21992199
`recursive` and `mode` properties.

doc/api/globals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The process object. See the [`process` object][] section.
109109

110110
## queueMicrotask(callback)
111111
<!-- YAML
112-
added: REPLACEME
112+
added: v11.0.0
113113
-->
114114

115115
<!-- type=global -->
@@ -180,7 +180,7 @@ added: v0.0.1
180180

181181
## TextDecoder
182182
<!-- YAML
183-
added: REPLACEME
183+
added: v11.0.0
184184
-->
185185

186186
<!-- type=global -->
@@ -189,7 +189,7 @@ The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section.
189189

190190
## TextEncoder
191191
<!-- YAML
192-
added: REPLACEME
192+
added: v11.0.0
193193
-->
194194

195195
<!-- type=global -->

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ in the response to be dropped and the socket to be destroyed.
532532
<!-- YAML
533533
added: v0.11.14
534534
changes:
535-
- version: REPLACEME
535+
- version: v11.0.0
536536
pr-url: https://github.com/nodejs/node/pull/20230
537537
description: The `aborted` property is no longer a timestamp number.
538538
-->

0 commit comments

Comments
 (0)