Skip to content

Commit aeaddc5

Browse files
committed
2017-10-31, Version 9.0.0 (Current)
* Older experimental APIs have been removed. [[`d731369b1d`](d731369b1d)] [#14414](#14414) * **Errors** * Improvements have been made to `buffer` module error messages. * The assignment of static error codes to Node.js error continues: * `buffer` * `child_process` * `console` * `crypto` * `dns` * `events` * `fs` * `http` * `inspector` * `net` * `path` * `process` * `querystring` * `readline` * `repl` * `streams` * `string_decoder` * `timers` * `tls` * `url` * `util` * `v8` * `zlib` * **Child Processes** * Errors are emitted on process nextTick. * **Domains** * The long-deprecated `.dispose()` method has been removed. * **fs** * The `fs.ReadStream` and `fs.WriteStream` classes now use `destroy()`. * `fs` module callbacks are now invoked with an undefined context. * **HTTP/1** * A 400 Bad Request response will now be sent when parsing fails. * Socket timeout will be set when the socket connects. * A bug causing the request `'error'` event to fire twice was fixed. * HTTP clients may now use generic `Duplex` streams in addition to `net.Socket`. * **Intl** * The deprecated `Intl.v8BreakIterator` has been removed. * **Modules** * The `require.resolve()` method now supports using custom lookup paths. * **OS** * The `os.EOL` property is now read-only. * **Timers** * `setTimeout()` will emit a warning if the timeout is larger that the maximum 32-bit unsigned integer. * **Util** * `TextEncoder` and `TextDecoder` are no longer experimental.
1 parent 07d71c9 commit aeaddc5

25 files changed

+465
-51
lines changed

CHANGELOG.md

+5-20
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ release lines.
66

77
Select a Node.js version below to view the changelog history:
88

9+
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md)
910
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)
1011
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md)
1112
* [Node.js 6](doc/changelogs/CHANGELOG_V6.md)
@@ -20,13 +21,16 @@ release.
2021

2122
<table>
2223
<tr>
24+
<th><a href="doc/changelogs/CHANGELOG_V9.md">9</a><sup>Current</sup></th>
2325
<th><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>Current</sup></th>
24-
<th title="Supported until 2016-07-01"><a href="doc/changelogs/CHANGELOG_V7.md">7</a><sup>-</sup></th>
2526
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">6</a><sup>LTS</sup></th>
2627
<th title="LTS Until 2018-04"><a href="doc/changelogs/CHANGELOG_V4.md">4</a><sup>LTS</sup></th>
2728
</tr>
2829
<tr>
2930
<td valign="top">
31+
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.0.0">9.0.0</a></b><br/>
32+
</td>
33+
<td valign="top">
3034
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.8.1">8.8.1</a></b><br/>
3135
<a href="doc/changelogs/CHANGELOG_V8.md#8.8.0">8.8.0</a><br/>
3236
<a href="doc/changelogs/CHANGELOG_V8.md#8.7.0">8.7.0</a><br/>
@@ -43,25 +47,6 @@ release.
4347
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.0">8.1.0</a><br/>
4448
<a href="doc/changelogs/CHANGELOG_V8.md#8.0.0">8.0.0</a><br/>
4549
</td>
46-
<td valign="top">
47-
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.10.1">7.10.1</a></b><br/>
48-
<a href="doc/changelogs/CHANGELOG_V7.md#7.10.0">7.10.0</a><br/>
49-
<a href="doc/changelogs/CHANGELOG_V7.md#7.9.0">7.9.0</a><br/>
50-
<a href="doc/changelogs/CHANGELOG_V7.md#7.8.0">7.8.0</a><br/>
51-
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.4">7.7.4</a><br/>
52-
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.3">7.7.3</a><br/>
53-
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.2">7.7.2</a><br/>
54-
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.1">7.7.1</a><br/>
55-
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.0">7.7.0</a><br/>
56-
<a href="doc/changelogs/CHANGELOG_V7.md#7.6.0">7.6.0</a><br/>
57-
<a href="doc/changelogs/CHANGELOG_V7.md#7.5.0">7.5.0</a><br/>
58-
<a href="doc/changelogs/CHANGELOG_V7.md#7.4.0">7.4.0</a><br/>
59-
<a href="doc/changelogs/CHANGELOG_V7.md#7.3.0">7.3.0</a><br/>
60-
<a href="doc/changelogs/CHANGELOG_V7.md#7.2.1">7.2.1</a><br/>
61-
<a href="doc/changelogs/CHANGELOG_V7.md#7.2.0">7.2.0</a><br/>
62-
<a href="doc/changelogs/CHANGELOG_V7.md#7.1.0">7.1.0</a><br/>
63-
<a href="doc/changelogs/CHANGELOG_V7.md#7.0.0">7.0.0</a><br/>
64-
</td>
6550
<td valign="top">
6651
<b><a href="doc/changelogs/CHANGELOG_V6.md#6.11.5">6.11.5</a></b><br/>
6752
<a href="doc/changelogs/CHANGELOG_V6.md#6.11.4">6.11.4</a><br/>

doc/api/assert.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ An alias of [`assert.ok()`][].
2020
<!-- YAML
2121
added: v0.1.21
2222
changes:
23-
- version: REPLACEME
23+
- version: v9.0.0
2424
pr-url: https://github.com/nodejs/node/pull/15001
2525
description: Error names and messages are now properly compared
2626
- version: v8.0.0
@@ -108,10 +108,10 @@ parameter is an instance of an `Error` then it will be thrown instead of the
108108
<!-- YAML
109109
added: v1.2.0
110110
changes:
111-
- version: REPLACEME
111+
- version: v9.0.0
112112
pr-url: https://github.com/nodejs/node/pull/15169
113113
description: Enumerable symbol properties are now compared.
114-
- version: REPLACEME
114+
- version: v9.0.0
115115
pr-url: https://github.com/nodejs/node/pull/15036
116116
description: NaN is now compared using the [SameValueZero][] comparison.
117117
- version: v8.5.0
@@ -389,7 +389,7 @@ assert.ifError(new Error());
389389
<!-- YAML
390390
added: v0.1.21
391391
changes:
392-
- version: REPLACEME
392+
- version: v9.0.0
393393
pr-url: https://github.com/nodejs/node/pull/15001
394394
description: Error names and messages are now properly compared
395395
- version: v8.0.0
@@ -454,13 +454,13 @@ parameter is an instance of an `Error` then it will be thrown instead of the
454454
<!-- YAML
455455
added: v1.2.0
456456
changes:
457-
- version: REPLACEME
458-
pr-url: https://github.com/nodejs/node/pull/REPLACEME
457+
- version: v9.0.0
458+
pr-url: https://github.com/nodejs/node/pull/15398
459459
description: -0 and +0 are not considered equal anymore.
460-
- version: REPLACEME
460+
- version: v9.0.0
461461
pr-url: https://github.com/nodejs/node/pull/15036
462462
description: NaN is now compared using the [SameValueZero][] comparison.
463-
- version: REPLACEME
463+
- version: v9.0.0
464464
pr-url: https://github.com/nodejs/node/pull/15001
465465
description: Error names and messages are now properly compared
466466
- version: v8.0.0

doc/api/async_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function promiseResolve(asyncId) { }
7676
#### `async_hooks.createHook(callbacks)`
7777

7878
<!-- YAML
79-
added: REPLACEME
79+
added: v9.0.0
8080
-->
8181

8282
* `callbacks` {Object} The [Hook Callbacks][] to register

doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ of the event loop.
210210

211211
### `--no-force-async-hooks-checks`
212212
<!-- YAML
213-
added: REPLACEME
213+
added: v9.0.0
214214
-->
215215

216216
Disables runtime checks for `async_hooks`. These will still be enabled

doc/api/crypto.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ data. The most common usage is handling output generated by the HTML5
5050

5151
### Certificate.exportChallenge(spkac)
5252
<!-- YAML
53-
added: REPLACEME
53+
added: v9.0.0
5454
-->
5555
- `spkac` {string | Buffer | TypedArray | DataView}
5656
- Returns {Buffer} The challenge component of the `spkac` data structure, which
@@ -66,7 +66,7 @@ console.log(challenge.toString('utf8'));
6666

6767
### Certificate.exportPublicKey(spkac[, encoding])
6868
<!-- YAML
69-
added: REPLACEME
69+
added: v9.0.0
7070
-->
7171
- `spkac` {string | Buffer | TypedArray | DataView}
7272
- `encoding` {string}
@@ -83,7 +83,7 @@ console.log(publicKey);
8383

8484
### Certificate.verifySpkac(spkac)
8585
<!-- YAML
86-
added: REPLACEME
86+
added: v9.0.0
8787
-->
8888
- `spkac` {Buffer | TypedArray | DataView}
8989
- Returns {boolean} `true` if the given `spkac` data structure is valid, `false`
@@ -1830,7 +1830,7 @@ negative performance implications for some applications, see the
18301830
<!-- YAML
18311831
added: v7.10.0
18321832
changes:
1833-
- version: REPLACEME
1833+
- version: v9.0.0
18341834
pr-url: https://github.com/nodejs/node/pull/15231
18351835
description: The `buffer` argument may be any ArrayBufferView
18361836
-->
@@ -1872,7 +1872,7 @@ console.log(crypto.randomFillSync(a).toString('hex'));
18721872
<!-- YAML
18731873
added: v7.10.0
18741874
changes:
1875-
- version: REPLACEME
1875+
- version: v9.0.0
18761876
pr-url: https://github.com/nodejs/node/pull/15231
18771877
description: The `buffer` argument may be any ArrayBufferView
18781878
-->

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ argument to `fs.createReadStream()`. If `path` is passed as a string, then
316316
<!-- YAML
317317
added: v0.1.21
318318
changes:
319-
- version: REPLACEME
319+
- version: v9.0.0
320320
pr-url: https://github.com/nodejs/node/pull/13173
321321
description: Added times as numbers.
322322
-->

doc/api/http.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ socket/stream from this function, or by passing the socket/stream to `callback`.
161161

162162
### agent.keepSocketAlive(socket)
163163
<!-- YAML
164-
added: REPLACEME
164+
added: v9.0.0
165165
-->
166166

167167
* `socket` {net.Socket}
@@ -181,7 +181,7 @@ it for use with the next request.
181181

182182
### agent.reuseSocket(socket, request)
183183
<!-- YAML
184-
added: REPLACEME
184+
added: v9.0.0
185185
-->
186186

187187
* `socket` {net.Socket}

doc/api/modules.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ should be discouraged.
602602
<!-- YAML
603603
added: v0.3.0
604604
changes:
605-
- version: REPLACEME
605+
- version: v9.0.0
606606
pr-url: https://github.com/nodejs/node/pull/16397
607607
description: The `paths` option is now supported.
608608
-->
@@ -620,7 +620,7 @@ but rather than loading the module, just return the resolved filename.
620620

621621
#### require.resolve.paths(request)
622622
<!-- YAML
623-
added: REPLACEME
623+
added: v9.0.0
624624
-->
625625

626626
* `request` {string} The module path whose lookup paths are being retrieved.

doc/api/path.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ backward slashes (`\`).
545545

546546
## path.toNamespacedPath(path)
547547
<!-- YAML
548-
added: REPLACEME
548+
added: v9.0.0
549549
-->
550550

551551
* `path` {string}

doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ If the Node.js process was not spawned with an IPC channel,
645645
<!-- YAML
646646
added: v0.1.16
647647
changes:
648-
- version: REPLACEME
648+
- version: v9.0.0
649649
pr-url: https://github.com/nodejs/node/pull/12794
650650
description: Added support for the `flags` argument.
651651
-->
@@ -1790,7 +1790,7 @@ changes:
17901790
- version: v4.2.0
17911791
pr-url: https://github.com/nodejs/node/pull/3102
17921792
description: The `icu` property is now supported.
1793-
- version: REPLACEME
1793+
- version: v9.0.0
17941794
pr-url: https://github.com/nodejs/node/pull/15785
17951795
description: The `v8` property now includes a Node.js specific suffix.
17961796
-->

doc/api/repl.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ within the action function for commands registered using the
379379

380380
### replServer.clearBufferedCommand()
381381
<!-- YAML
382-
added: REPLACEME
382+
added: v9.0.0
383383
-->
384384

385385
The `replServer.clearBufferedComand()` method clears any command that has been
@@ -390,7 +390,7 @@ called from within the action function for commands registered using the
390390
### replServer.parseREPLKeyword(keyword, [rest])
391391
<!-- YAML
392392
added: v0.8.9
393-
deprecated: REPLACEME
393+
deprecated: v9.0.0
394394
-->
395395

396396
* `keyword` {string} the potential keyword to parse and execute

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ console.log(arr); // logs the full array
457457

458458
## util.isDeepStrictEqual(val1, val2)
459459
<!-- YAML
460-
added: REPLACEME
460+
added: v9.0.0
461461
-->
462462

463463
* `val1` {any}

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ console.log(util.inspect(sandbox));
315315
added: v0.11.14
316316
deprecated: v8.0.0
317317
changes:
318-
- version: REPLACEME
318+
- version: v9.0.0
319319
pr-url: https://github.com/nodejs/node/pull/12815
320320
description: Calling this function now emits a deprecation warning.
321321
-->

doc/api/zlib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class of the compressor/decompressor classes.
397397

398398
### zlib.bytesRead
399399
<!-- YAML
400-
added: REPLACEME
400+
added: v9.0.0
401401
-->
402402

403403
* {number}

doc/changelogs/CHANGELOG_ARCHIVE.md

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
</table>
152152

153153
* Other Versions
154+
* [9.x](CHANGELOG_V9.md)
154155
* [8.x](CHANGELOG_V8.md)
155156
* [7.x](CHANGELOG_V7.md)
156157
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_IOJS.md

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
</table>
6161

6262
* Other Versions
63+
* [9.x](CHANGELOG_V9.md)
6364
* [8.x](CHANGELOG_V8.md)
6465
* [7.x](CHANGELOG_V7.md)
6566
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_V010.md

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
</table>
6363

6464
* Other Versions
65+
* [9.x](CHANGELOG_V9.md)
6566
* [8.x](CHANGELOG_V8.md)
6667
* [7.x](CHANGELOG_V7.md)
6768
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_V012.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</table>
3131

3232
* Other Versions
33+
* [9.x](CHANGELOG_V9.md)
3334
* [8.x](CHANGELOG_V8.md)
3435
* [7.x](CHANGELOG_V7.md)
3536
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_V4.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
</table>
5151

5252
* Other Versions
53+
* [9.x](CHANGELOG_V9.md)
5354
* [8.x](CHANGELOG_V8.md)
5455
* [7.x](CHANGELOG_V7.md)
5556
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_V5.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</table>
3131

3232
* Other Versions
33+
* [9.x](CHANGELOG_V9.md)
3334
* [8.x](CHANGELOG_V8.md)
3435
* [7.x](CHANGELOG_V7.md)
3536
* [6.x](CHANGELOG_V6.md)

doc/changelogs/CHANGELOG_V6.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</table>
4444

4545
* Other Versions
46+
* [9.x](CHANGELOG_V9.md)
4647
* [8.x](CHANGELOG_V8.md)
4748
* [7.x](CHANGELOG_V7.md)
4849
* [5.x](CHANGELOG_V5.md)
@@ -78,7 +79,7 @@ This LTS release comes with 91 commits. This includes 29 which are test related,
7879

7980
### Notable Changes
8081

81-
* **net**:
82+
* **net**:
8283
- support passing undefined to listen() to match behavior in v4.x and v8.x (Sam Roberts) [#14234](https://github.com/nodejs/node/pull/14234)
8384

8485
### Commits
@@ -164,7 +165,7 @@ This LTS release comes with 91 commits. This includes 29 which are test related,
164165
* [[`c88f99f1f3`](https://github.com/nodejs/node/commit/c88f99f1f3)] - **test**: improvements to various http tests (James M Snell) [#14315](https://github.com/nodejs/node/pull/14315)
165166
* [[`860c6198c0`](https://github.com/nodejs/node/commit/860c6198c0)] - **test**: use ciphers supported by shared OpenSSL (Jérémy Lal) [#14566](https://github.com/nodejs/node/pull/14566)
166167
* [[`8b9a05c04b`](https://github.com/nodejs/node/commit/8b9a05c04b)] - **test**: read proper inspector message size (Bartosz Sosnowski) [#14596](https://github.com/nodejs/node/pull/14596)
167-
* [[`86497f1acc`](https://github.com/nodejs/node/commit/86497f1acc)] - **test**: mark inspector-port-zero-cluster as flaky (Refael Ackermann)
168+
* [[`86497f1acc`](https://github.com/nodejs/node/commit/86497f1acc)] - **test**: mark inspector-port-zero-cluster as flaky (Refael Ackermann)
168169
* [[`8dfc2838c8`](https://github.com/nodejs/node/commit/8dfc2838c8)] - **test**: fix test-readline-interface (Azard) [#14677](https://github.com/nodejs/node/pull/14677)
169170
* [[`3a6392b283`](https://github.com/nodejs/node/commit/3a6392b283)] - **tls**: fix empty issuer/subject/infoAccess parsing (Ben Noordhuis) [#14473](https://github.com/nodejs/node/pull/14473)
170171
* [[`37dd2adbac`](https://github.com/nodejs/node/commit/37dd2adbac)] - **tools**: fix linter error in html.js (Michaël Zasso) [#15063](https://github.com/nodejs/node/pull/15063)

doc/changelogs/CHANGELOG_V7.md

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
</table>
2929

3030
* Other Versions
31+
* [9.x](CHANGELOG_V9.md)
3132
* [8.x](CHANGELOG_V8.md)
3233
* [6.x](CHANGELOG_V6.md)
3334
* [5.x](CHANGELOG_V5.md)

doc/changelogs/CHANGELOG_V8.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
</table>
2727

2828
* Other Versions
29+
* [9.x](CHANGELOG_V9.md)
2930
* [7.x](CHANGELOG_V7.md)
3031
* [6.x](CHANGELOG_V6.md)
3132
* [5.x](CHANGELOG_V5.md)

0 commit comments

Comments
 (0)