Skip to content

Commit 111e59b

Browse files
committed
2019-10-22, Version 13.0.0 (Current)
Notable changes: * assert: * If the validation function passed to `assert.throws()` or `assert.rejects()` returns a value other than `true`, an assertion error will be thrown instead of the original error to highlight the programming mistake (Ruben Bridgewater). #28263 * If a constructor function is passed to validate the instance of errors thrown in `assert.throws()` or `assert.reject()`, an assertion error will be thrown instead of the original error (Ruben Bridgewater). #28263 * build: * Node.js releases are now built with default full-icu support. This means that all locales supported by ICU are now included and Intl-related APIs may return different values than before (Richard Lau). #29887 * The minimum Xcode version supported for macOS was increased to 10. It is still possible to build Node.js with Xcode 8 but this may no longer be the case in a future v13.x release (Michael Dawson). #29622 * child_process: * `ChildProcess._channel` (DEP0129) is now a Runtime deprecation (cjihrig). #27949 * console: * The output `console.timeEnd()` and `console.timeLog()` will now automatically select a suitable time unit instead of always using milliseconds (Xavier Stouder). #29251 * deps: * The V8 engine was updated to version 7.8. This includes performance improvements to object destructuring, memory usage and WebAssembly startup time (Myles Borins). #29694) * domain: * The domain's error handler is now executed with the active domain set to the domain's parent to prevent inner recursion (Julien Gilli). #26211 * fs: * The undocumented method `FSWatcher.prototype.start()` was removed (Lucas Holmquist). #29905 * Calling the `open()` method on a `ReadStream` or `WriteStream` now emits a runtime deprecation warning. The methods are supposed to be internal and should not be called by user code (Robert Nagy). #29061 * `fs.read/write`, `fs.readSync/writeSync` and `fd.read/write` now accept any safe integer as their `offset` parameter. The value of `offset` is also no longer coerced, so a valid type must be passed to the functions (Zach Bjornson). #26572 * http: * Aborted requests no longer emit the `end` or `error` events after `aborted` (Robert Nagy). #27984 #20077 * Data will no longer be emitted after a socket error (Robert Nagy). #28711 * The legacy HTTP parser (previously available under the `--http-parser=legacy` flag) was removed (Anna Henningsen). #29589 * The `host` option for HTTP requests is now validated to be a string value (Giorgos Ntemiris). #29568 * The `request.connection` and `response.connection` properties are now runtime deprecated. The equivalent `request.socket` and `response.socket` should be used instead (Robert Nagy). #29015 * http, http2: * The default server timeout was removed (Ali Ijaz Sheikh). #27558 * Brought 425 status code name into accordance with RFC 8470. The name changed from "Unordered Collection" to "Too Early" (Sergei Osipov). #29880 * lib: * The `error.errno` property will now always be a number. To get the string value, use `error.code` instead (Joyee Cheung). #28140 * module: * `module.createRequireFromPath()` is deprecated. Use `module.createRequire()` instead (cjihrig). #27951 * src: * Changing the value of `process.env.TZ` will now clear the tz cache. This affects the default time zone used by methods such as `Date.prototype.toString` (Ben Noordhuis). #20026 * stream: * The timing and behavior of streams was consolidated for a number of edge cases. Please look at the individual commits below for more information. PR-URL: #29504
1 parent efa6bea commit 111e59b

23 files changed

+281
-30
lines changed

CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
Select a Node.js version below to view the changelog history:
44

5-
* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) - **Current**
5+
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) - **Current**
6+
* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) - **Long Term Support**
67
* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - End-of-Life
7-
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md)**Long Term Support**
8+
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md) — Long Term Support
89
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md) — End-of-Life
910
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md) — Long Term Support
1011
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md) — End-of-Life
@@ -22,12 +23,16 @@ release.
2223
<!--lint disable maximum-line-length-->
2324
<table>
2425
<tr>
25-
<th title="Current"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>Current</sup></th>
26+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V13.md">13</a><sup>Current</sup></th>
27+
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
2628
<th title="LTS Until 2021-04"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>LTS</sup></th>
2729
<th title="LTS Until 2019-12"><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>LTS</sup></th>
2830
</tr>
2931
<tr>
3032
<td valign="top">
33+
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.0.0">13.0.0</a></b><br/>
34+
</td>
35+
<td valign="top">
3136
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.12.0">12.12.0</a></b><br/>
3237
<a href="doc/changelogs/CHANGELOG_V12.md#12.11.1">12.11.1</a><br/>
3338
<a href="doc/changelogs/CHANGELOG_V12.md#12.11.0">12.11.0</a><br/>

doc/abi_version_registry.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"NODE_MODULE_VERSION": [
3-
{ "modules": 79, "runtime": "node", "variant": "v8_7.8", "versions": "13.0.0-pre" },
3+
{ "modules": 79, "runtime": "node", "variant": "v8_7.8", "versions": "13" },
44
{ "modules": 78, "runtime": "node", "variant": "v8_7.7", "versions": "13.0.0-pre" },
55
{ "modules": 77, "runtime": "node", "variant": "v8_7.6", "versions": "13.0.0-pre" },
66
{ "modules": 76, "runtime": "electron", "variant": "electron", "versions": "8" },

doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ to an empty string (`''` or `' '`) disables persistent REPL history.
11231123

11241124
### `NODE_REPL_EXTERNAL_MODULE=file`
11251125
<!-- YAML
1126-
added: REPLACEME
1126+
added: v13.0.0
11271127
-->
11281128

11291129
Path to a Node.js module which will be loaded in place of the built-in REPL.

doc/api/deprecations.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ Node.js versions.
24412441
### DEP0129: ChildProcess._channel
24422442
<!-- YAML
24432443
changes:
2444-
- version: REPLACEME
2444+
- version: v13.0.0
24452445
pr-url: https://github.com/nodejs/node/pull/27949
24462446
description: Runtime deprecation.
24472447
- version: v11.14.0
@@ -2459,7 +2459,7 @@ instead.
24592459
### DEP0130: Module.createRequireFromPath()
24602460
<!-- YAML
24612461
changes:
2462-
- version: REPLACEME
2462+
- version: v13.0.0
24632463
pr-url: https://github.com/nodejs/node/pull/27951
24642464
description: Runtime deprecation.
24652465
- version: v12.2.0
@@ -2476,7 +2476,7 @@ Module.createRequireFromPath() is deprecated. Please use
24762476
### DEP0131: Legacy HTTP parser
24772477
<!-- YAML
24782478
changes:
2479-
- version: REPLACEME
2479+
- version: v13.0.0
24802480
pr-url: https://github.com/nodejs/node/pull/29589
24812481
description: This feature has been removed.
24822482
- version: v12.3.0
@@ -2487,7 +2487,7 @@ changes:
24872487
Type: End-of-Life
24882488
24892489
The legacy HTTP parser, used by default in versions of Node.js prior to 12.0.0,
2490-
is deprecated and has been removed in REPLACEME. Prior to REPLACEME, the
2490+
is deprecated and has been removed in v13.0.0. Prior to v13.0.0, the
24912491
`--http-parser=legacy` command-line flag could be used to revert to using the
24922492
legacy parser.
24932493
@@ -2536,7 +2536,7 @@ an officially supported API.
25362536
### DEP0135: `WriteStream.open()` and `ReadStream.open()` are internal
25372537
<!-- YAML
25382538
changes:
2539-
- version: REPLACEME
2539+
- version: v13.0.0
25402540
pr-url: https://github.com/nodejs/node/pull/29061
25412541
description: Runtime deprecation.
25422542
-->

doc/api/http.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ been aborted.
567567
### request.connection
568568
<!-- YAML
569569
added: v0.3.0
570-
deprecated: REPLACEME
570+
deprecated: v13.0.0
571571
-->
572572

573573
> Stability: 0 - Deprecated. Use [`request.socket`][].
@@ -679,7 +679,7 @@ request.removeHeader('Content-Type');
679679
### request.reusedSocket
680680

681681
<!-- YAML
682-
added: REPLACEME
682+
added: v13.0.0
683683
-->
684684

685685
* {boolean} Whether the request is send through a reused socket.
@@ -1104,7 +1104,7 @@ Limits maximum incoming headers count. If set to 0, no limit will be applied.
11041104
<!-- YAML
11051105
added: v0.9.12
11061106
changes:
1107-
- version: REPLACEME
1107+
- version: v13.0.0
11081108
pr-url: https://github.com/nodejs/node/pull/27558
11091109
description: The default timeout changed from 120s to 0 (no timeout).
11101110
-->
@@ -1128,7 +1128,7 @@ explicitly.
11281128
<!-- YAML
11291129
added: v0.9.12
11301130
changes:
1131-
- version: REPLACEME
1131+
- version: v13.0.0
11321132
pr-url: https://github.com/nodejs/node/pull/27558
11331133
description: The default timeout changed from 120s to 0 (no timeout).
11341134
-->
@@ -1222,7 +1222,7 @@ will result in a [`TypeError`][] being thrown.
12221222
### response.connection
12231223
<!-- YAML
12241224
added: v0.3.0
1225-
deprecated: REPLACEME
1225+
deprecated: v13.0.0
12261226
-->
12271227

12281228
> Stability: 0 - Deprecated. Use [`response.socket`][].

doc/api/http2.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ server.on('stream', (stream, headers, flags) => {
17421742
<!-- YAML
17431743
added: v8.4.0
17441744
changes:
1745-
- version: REPLACEME
1745+
- version: v13.0.0
17461746
pr-url: https://github.com/nodejs/node/pull/27558
17471747
description: The default timeout changed from 120s to 0 (no timeout).
17481748
-->
@@ -1771,7 +1771,7 @@ closed, although the server has already stopped allowing new sessions. See
17711771
<!-- YAML
17721772
added: v8.4.0
17731773
changes:
1774-
- version: REPLACEME
1774+
- version: v13.0.0
17751775
pr-url: https://github.com/nodejs/node/pull/27558
17761776
description: The default timeout changed from 120s to 0 (no timeout).
17771777
-->
@@ -1939,7 +1939,7 @@ error will be thrown.
19391939
<!-- YAML
19401940
added: v8.4.0
19411941
changes:
1942-
- version: REPLACEME
1942+
- version: v13.0.0
19431943
pr-url: https://github.com/nodejs/node/pull/29144
19441944
description: The `PADDING_STRATEGY_CALLBACK` has been made equivalent to
19451945
providing `PADDING_STRATEGY_ALIGNED` and `selectPadding`
@@ -2053,7 +2053,7 @@ server.listen(80);
20532053
<!-- YAML
20542054
added: v8.4.0
20552055
changes:
2056-
- version: REPLACEME
2056+
- version: v13.0.0
20572057
pr-url: https://github.com/nodejs/node/pull/29144
20582058
description: The `PADDING_STRATEGY_CALLBACK` has been made equivalent to
20592059
providing `PADDING_STRATEGY_ALIGNED` and `selectPadding`
@@ -2154,7 +2154,7 @@ server.listen(80);
21542154
<!-- YAML
21552155
added: v8.4.0
21562156
changes:
2157-
- version: REPLACEME
2157+
- version: v13.0.0
21582158
pr-url: https://github.com/nodejs/node/pull/29144
21592159
description: The `PADDING_STRATEGY_CALLBACK` has been made equivalent to
21602160
providing `PADDING_STRATEGY_ALIGNED` and `selectPadding`
@@ -2703,7 +2703,7 @@ been completed, aborted, or destroyed.
27032703
#### request.connection
27042704
<!-- YAML
27052705
added: v8.4.0
2706-
deprecated: REPLACEME
2706+
deprecated: v13.0.0
27072707
-->
27082708

27092709
> Stability: 0 - Deprecated. Use [`request.socket`][].
@@ -3004,7 +3004,7 @@ will result in a [`TypeError`][] being thrown.
30043004
#### response.connection
30053005
<!-- YAML
30063006
added: v8.4.0
3007-
deprecated: REPLACEME
3007+
deprecated: v13.0.0
30083008
-->
30093009

30103010
> Stability: 0 - Deprecated. Use [`response.socket`][].

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ listed as supporting a later version.
167167
| v10.x | | | v10.0.0 | v10.16.0 | |
168168
| v11.x | | | v11.0.0 | v11.8.0 | |
169169
| v12.x | | | | v12.0.0 | v12.11.0 |
170-
| v13.x | | | | | REPLACEME |
170+
| v13.x | | | | | v13.0.0 |
171171

172172
\* Indicates that the N-API version was released as experimental
173173

@@ -3152,7 +3152,7 @@ defined in [Section 7.2.14][] of the ECMAScript Language Specification.
31523152

31533153
### napi_detach_arraybuffer
31543154
<!-- YAML
3155-
added: REPLACEME
3155+
added: v13.0.0
31563156
-->
31573157

31583158
```C

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ stream.write('With ES6');
398398
<!-- YAML
399399
added: v0.3.0
400400
changes:
401-
- version: REPLACEME
401+
- version: v13.0.0
402402
pr-url: https://github.com/nodejs/node/pull/27685
403403
description: Circular references now include a marker to the reference.
404404
- version: v12.0.0

doc/api/vm.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ console.log(globalVar);
302302

303303
## Class: vm.Module
304304
<!-- YAML
305-
added: REPLACEME
305+
added: v13.0.0
306306
-->
307307

308308
> Stability: 1 - Experimental
@@ -626,7 +626,7 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });
626626
627627
## Class: vm.SyntheticModule
628628
<!-- YAML
629-
added: REPLACEME
629+
added: v13.0.0
630630
-->
631631
632632
> Stability: 1 - Experimental
@@ -655,7 +655,7 @@ const module = new vm.SyntheticModule(['default'], function() {
655655
656656
### Constructor: new vm.SyntheticModule(exportNames, evaluateCallback\[, options\])
657657
<!-- YAML
658-
added: REPLACEME
658+
added: v13.0.0
659659
-->
660660
661661
* `exportNames` {string[]} Array of names that will be exported from the module.
@@ -675,7 +675,7 @@ the module to access information outside the specified `context`. Use
675675
676676
### syntheticModule.setExport(name, value)
677677
<!-- YAML
678-
added: REPLACEME
678+
added: v13.0.0
679679
-->
680680
681681
* `name` {string} Name of the export to set.

doc/changelogs/CHANGELOG_IOJS.md

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

6565
* Other Versions
66+
* [13.x](CHANGELOG_V13.md)
6667
* [12.x](CHANGELOG_V12.md)
6768
* [11.x](CHANGELOG_V11.md)
6869
* [10.x](CHANGELOG_V10.md)

doc/changelogs/CHANGELOG_V010.md

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
</table>
6666

6767
* Other Versions
68+
* [13.x](CHANGELOG_V13.md)
6869
* [12.x](CHANGELOG_V12.md)
6970
* [11.x](CHANGELOG_V11.md)
7071
* [10.x](CHANGELOG_V10.md)

doc/changelogs/CHANGELOG_V012.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</table>
3434

3535
* Other Versions
36+
* [13.x](CHANGELOG_V13.md)
3637
* [12.x](CHANGELOG_V12.md)
3738
* [11.x](CHANGELOG_V11.md)
3839
* [10.x](CHANGELOG_V10.md)

doc/changelogs/CHANGELOG_V10.md

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
</table>
4545

4646
* Other Versions
47+
* [13.x](CHANGELOG_V13.md)
4748
* [12.x](CHANGELOG_V12.md)
4849
* [11.x](CHANGELOG_V11.md)
4950
* [9.x](CHANGELOG_V9.md)

doc/changelogs/CHANGELOG_V11.md

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

3333
* Other Versions
34+
* [13.x](CHANGELOG_V13.md)
3435
* [12.x](CHANGELOG_V12.md)
3536
* [10.x](CHANGELOG_V10.md)
3637
* [9.x](CHANGELOG_V9.md)

doc/changelogs/CHANGELOG_V12.md

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

3333
* Other Versions
34+
* [13.x](CHANGELOG_V13.md)
3435
* [11.x](CHANGELOG_V11.md)
3536
* [10.x](CHANGELOG_V10.md)
3637
* [9.x](CHANGELOG_V9.md)

0 commit comments

Comments
 (0)