Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 75ed7a4

Browse files
committedApr 21, 2020
2020-04-21, Version 14.0.0 (Current)
Deprecations: - (SEMVER-MAJOR) crypto: move pbkdf2 without digest to EOL (James M Snell) [#31166](#31166) - (SEMVER-MAJOR) fs: deprecate closing FileHandle on garbage collection (James M Snell) [#28396](#28396) - (SEMVER-MAJOR) http: move OutboundMessage.prototype.flush to EOL (James M Snell) [#31164](#31164) - (SEMVER-MAJOR) lib: move GLOBAL and root aliases to EOL (James M Snell) [#31167](#31167) - (SEMVER-MAJOR) os: move tmpDir() to EOL (James M Snell)[#31169](#31169) - (SEMVER-MAJOR) src: remove deprecated wasm type check (Clemens Backes) [#32116](#32116) - (SEMVER-MAJOR) stream: move \_writableState.buffer to EOL (James M Snell) [#31165](#31165) - (SEMVER-MINOR) doc: deprecate process.mainModule (Antoine du HAMEL) [#32232](#32232) - (SEMVER-MINOR) doc: deprecate process.umask() with no arguments (Colin Ihrig) [#32499](#32499) ECMAScript Modules - Experimental Warning Removal: - module: remove experimental modules warning (Guy Bedford) [#31974](#31974) In Node.js 13 we removed the need to include the --experimental-modules flag, but when running EcmaScript Modules in Node.js, this would still result in a warning ExperimentalWarning: The ESM module loader is experimental. As of Node.js 14 there is no longer this warning when using ESM in Node.js. However, the ESM implementation in Node.js remains experimental. As per our stability index: “The feature is not subject to Semantic Versioning rules. Non-backward compatible changes or removal may occur in any future release.” Users should be cautious when using the feature in production environments. Please keep in mind that the implementation of ESM in Node.js differs from the developer experience you might be familiar with. Most transpilation workflows support features such as optional file extensions or JSON modules that the Node.js ESM implementation does not support. It is highly likely that modules from transpiled environments will require a certain degree of refactoring to work in Node.js. It is worth mentioning that many of our design decisions were made with two primary goals. Spec compliance and Web Compatibility. It is our belief that the current implementation offers a future proof model to authoring ESM modules that paves the path to Universal JavaScript. Please read more in our documentation. The ESM implementation in Node.js is still experimental but we do believe that we are getting very close to being able to call ESM in Node.js “stable”. Removing the warning is a huge step in that direction. Migrate to new V8 ArrayBuffer API: - src: migrate to new V8 ArrayBuffer API (Thang Tran) [#30782](#30782) It is possible that this change will impact some native addons using `ArrayBuffer`. Toolchain and Compiler Upgrades: - (SEMVER-MAJOR) build: update macos deployment target to 10.13 for 14.x (AshCripps)[#32454](#32454) - (SEMVER-MAJOR) doc: update cross compiler machine for Linux armv7 (Richard Lau) [#32812](#32812) - (SEMVER-MAJOR) doc: update Centos/RHEL releases use devtoolset-8 (Richard Lau) [#32812](#32812) - (SEMVER-MAJOR) doc: remove SmartOS from official binaries (Richard Lau) [#32812](#32812) - (SEMVER-MAJOR) win: block running on EOL Windows versions (João Reis) [#31954](#31954) It is expected that there will be an ABI mismatch on ARM between the Node.js binary and native addons. Native addons are only broken if they interact with `std::shared_ptr`. This is expected to be fixed in a later version of Node.js 14. - [#30786](#30786) Update to V8 8.1: - (SEMVER-MAJOR) deps: update V8 to 8.1.307.20 (Matheus Marchini) [#32116](#32116) Other Notable Changes: - cli, report: move --report-on-fatalerror to stable (Colin Ihrig) [#32496](#32496) - deps: upgrade to libuv 1.37.0 (Colin Ihrig) [#32866](#32866) - fs: add fs/promises alias module (Gus Caplan) [#31553](#31553) PR-URL: #32181
1 parent 1a1ce93 commit 75ed7a4

31 files changed

+378
-48
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

5+
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) **Current**
56
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) **Current**
67
* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) **Long Term Support**
78
* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) End-of-Life
@@ -23,12 +24,16 @@ release.
2324
<!--lint disable maximum-line-length-->
2425
<table>
2526
<tr>
27+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V14.md">14</a><sup>Current</sup></th>
2628
<th title="Current"><a href="doc/changelogs/CHANGELOG_V13.md">13</a><sup>Current</sup></th>
2729
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
2830
<th title="LTS Until 2021-04"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>LTS</sup></th>
2931
</tr>
3032
<tr>
3133
<td valign="top">
34+
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.0.0">14.0.0</a></b><br/>
35+
</td>
36+
<td valign="top">
3237
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.12.0">13.12.0</a></b><br/>
3338
<a href="doc/changelogs/CHANGELOG_V13.md#13.11.0">13.11.0</a><br/>
3439
<a href="doc/changelogs/CHANGELOG_V13.md#13.10.1">13.10.1</a><br/>

‎doc/api/assert.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ An alias of [`assert.ok()`][].
161161
<!-- YAML
162162
added: v0.1.21
163163
changes:
164-
- version: REPLACEME
164+
- version: v14.0.0
165165
pr-url: https://github.com/nodejs/node/pull/30766
166166
description: NaN is now treated as being identical in case both sides are
167167
NaN.
@@ -597,7 +597,7 @@ assert.doesNotThrow(
597597
<!-- YAML
598598
added: v0.1.21
599599
changes:
600-
- version: REPLACEME
600+
- version: v14.0.0
601601
pr-url: https://github.com/nodejs/node/pull/30766
602602
description: NaN is now treated as being identical in case both sides are
603603
NaN.
@@ -818,7 +818,7 @@ instance of an [`Error`][] then it will be thrown instead of the
818818
<!-- YAML
819819
added: v0.1.21
820820
changes:
821-
- version: REPLACEME
821+
- version: v14.0.0
822822
pr-url: https://github.com/nodejs/node/pull/30766
823823
description: NaN is now treated as being identical in case both sides are
824824
NaN.
@@ -944,7 +944,7 @@ instead of the [`AssertionError`][].
944944
<!-- YAML
945945
added: v0.1.21
946946
changes:
947-
- version: REPLACEME
947+
- version: v14.0.0
948948
pr-url: https://github.com/nodejs/node/pull/30766
949949
description: NaN is now treated as being identical in case both sides are
950950
NaN.

‎doc/api/child_process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ See [Advanced Serialization][] for more details.
10271027
<!-- YAML
10281028
added: v7.1.0
10291029
changes:
1030-
- version: REPLACEME
1030+
- version: v14.0.0
10311031
pr-url: https://github.com/nodejs/node/pull/30165
10321032
description: The object no longer accidentally exposes native C++ bindings.
10331033
-->

‎doc/api/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ disappear in a non-semver-major release.
441441
<!-- YAML
442442
added: v11.6.0
443443
changes:
444-
- version: REPLACEME
444+
- version: v14.0.0
445445
pr-url: https://github.com/nodejs/node/pull/32520
446446
description: Change maximum default size of HTTP headers from 8KB to 16KB.
447447
-->
@@ -648,7 +648,7 @@ Name of the file to which the report will be written.
648648
<!-- YAML
649649
added: v11.8.0
650650
changes:
651-
- version: REPLACEME
651+
- version: v14.0.0
652652
pr-url: https://github.com/nodejs/node/pull/32496
653653
description: This option is no longer considered experimental.
654654
- version: v12.0.0

‎doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
23292329
<!-- YAML
23302330
added: v0.5.5
23312331
changes:
2332-
- version: REPLACEME
2332+
- version: v14.0.0
23332333
pr-url: https://github.com/nodejs/node/pull/30578
23342334
description: The `iterations` parameter is now restricted to positive
23352335
values. Earlier releases treated other values as one.
@@ -2408,7 +2408,7 @@ negative performance implications for some applications; see the
24082408
<!-- YAML
24092409
added: v0.9.3
24102410
changes:
2411-
- version: REPLACEME
2411+
- version: v14.0.0
24122412
pr-url: https://github.com/nodejs/node/pull/30578
24132413
description: The `iterations` parameter is now restricted to positive
24142414
values. Earlier releases treated other values as one.

‎doc/api/deprecations.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ However, the deprecation identifier will not be modified.
4444
### DEP0001: `http.OutgoingMessage.prototype.flush`
4545
<!-- YAML
4646
changes:
47-
- version: REPLACEME
47+
- version: v14.0.0
4848
pr-url: https://github.com/nodejs/node/pull/31164
4949
description: End-of-Life.
5050
- version:
@@ -85,7 +85,7 @@ The `_linklist` module is deprecated. Please use a userland alternative.
8585
### DEP0003: `_writableState.buffer`
8686
<!-- YAML
8787
changes:
88-
- version: REPLACEME
88+
- version: v14.0.0
8989
pr-url: https://github.com/nodejs/node/pull/31165
9090
description: End-of-Life
9191
- version:
@@ -239,7 +239,7 @@ to the `constants` property exposed by the relevant module. For instance,
239239
### DEP0009: `crypto.pbkdf2` without digest
240240
<!-- YAML
241241
changes:
242-
- version: REPLACEME
242+
- version: v14.0.0
243243
pr-url: https://github.com/nodejs/node/pull/31166
244244
description: End-of-Life (for `digest === null`)
245245
- version: v11.0.0
@@ -407,7 +407,7 @@ The [`fs.readSync()`][] legacy `String` interface is deprecated. Use the
407407
### DEP0016: `GLOBAL`/`root`
408408
<!-- YAML
409409
changes:
410-
- version: REPLACEME
410+
- version: v14.0.0
411411
pr-url: https://github.com/nodejs/node/pull/31167
412412
description: End-of-Life
413413
- version: v6.12.0
@@ -522,7 +522,7 @@ The `Server.listenFD()` method was deprecated and removed. Please use
522522
### DEP0022: `os.tmpDir()`
523523
<!-- YAML
524524
changes:
525-
- version: REPLACEME
525+
- version: v14.0.0
526526
pr-url: https://github.com/nodejs/node/pull/31169
527527
description: End-of-Life.
528528
- version: v7.0.0
@@ -2590,7 +2590,7 @@ To maintain existing behaviour `response.finished` should be replaced with
25902590
### DEP0137: Closing fs.FileHandle on garbage collection
25912591
<!-- YAML
25922592
changes:
2593-
- version: REPLACEME
2593+
- version: v14.0.0
25942594
pr-url: https://github.com/nodejs/node/pull/28396
25952595
description: Runtime deprecation.
25962596
-->
@@ -2621,7 +2621,7 @@ async function openAndClose() {
26212621
### DEP0138: `process.mainModule`
26222622
<!-- YAML
26232623
changes:
2624-
- version: REPLACEME
2624+
- version: v14.0.0
26252625
pr-url: https://github.com/nodejs/node/pull/32232
26262626
description: Documentation-only deprecation.
26272627
-->
@@ -2635,11 +2635,11 @@ modules is unsupported.
26352635
It is deprecated in favor of [`require.main`][], because it serves the same
26362636
purpose and is only available on CommonJS environment.
26372637
2638-
<a id="DEP0XXX"></a>
2639-
### DEP0XXX: `process.umask()` with no arguments
2638+
<a id="DEP0139"></a>
2639+
### DEP0139: `process.umask()` with no arguments
26402640
<!-- YAML
26412641
changes:
2642-
- version: REPLACEME
2642+
- version: v14.0.0
26432643
pr-url: https://github.com/nodejs/node/pull/32499
26442644
description: Documentation-only deprecation.
26452645
-->

‎doc/api/dns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ is not set to `true`, it returns a `Promise` for an `Object` with `address` and
202202
### Supported getaddrinfo flags
203203
<!-- YAML
204204
changes:
205-
- version: REPLACEME
205+
- version: v14.0.0
206206
pr-url: https://github.com/nodejs/node/pull/32183
207207
description: Added support for the `dns.ALL` flag.
208208
-->

‎doc/api/embedding.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# C++ Embedder API
22

3-
<!--introduced_in=REPLACEME-->
3+
<!--introduced_in=v14.0.0-->
44

55
Node.js provides a number of C++ APIs that can be used to execute JavaScript
66
in a Node.js environment from other C++ software.

‎doc/api/errors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ The `repl` module was unable to parse data from the REPL history file.
23072307
### `ERR_SOCKET_CANNOT_SEND`
23082308
<!-- YAML
23092309
added: v9.0.0
2310-
removed: REPLACEME
2310+
removed: v14.0.0
23112311
-->
23122312

23132313
Data could be sent on a socket.

‎doc/api/fs.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -3071,9 +3071,9 @@ this API: [`fs.read()`][].
30713071

30723072
## `fs.readSync(fd, buffer, [options])`
30733073
<!-- YAML
3074-
added: REPLACEME
3074+
added: v14.0.0
30753075
changes:
3076-
- version: REPLACEME
3076+
- version: v14.0.0
30773077
pr-url: https://github.com/nodejs/node/pull/32460
30783078
description: Options object can be passed in
30793079
to make offset, length and position optional
@@ -3097,7 +3097,7 @@ this API: [`fs.read()`][].
30973097

30983098
## `fs.readv(fd, buffers[, position], callback)`
30993099
<!-- YAML
3100-
added: REPLACEME
3100+
added: v14.0.0
31013101
-->
31023102

31033103
* `fd` {integer}
@@ -3120,7 +3120,7 @@ The callback will be given three arguments: `err`, `bytesRead`, and
31203120

31213121
## `fs.readvSync(fd, buffers[, position])`
31223122
<!-- YAML
3123-
added: REPLACEME
3123+
added: v14.0.0
31243124
-->
31253125

31263126
* `fd` {integer}
@@ -3997,7 +3997,7 @@ This happens when:
39973997
<!-- YAML
39983998
added: v0.0.2
39993999
changes:
4000-
- version: REPLACEME
4000+
- version: v14.0.0
40014001
pr-url: https://github.com/nodejs/node/pull/31030
40024002
description: The `buffer` parameter won't coerce unsupported input to
40034003
strings anymore.
@@ -4058,7 +4058,7 @@ the end of the file.
40584058
<!-- YAML
40594059
added: v0.11.5
40604060
changes:
4061-
- version: REPLACEME
4061+
- version: v14.0.0
40624062
pr-url: https://github.com/nodejs/node/pull/31030
40634063
description: The `string` parameter won't coerce unsupported input to
40644064
strings anymore.
@@ -4117,7 +4117,7 @@ details.
41174117
<!-- YAML
41184118
added: v0.1.29
41194119
changes:
4120-
- version: REPLACEME
4120+
- version: v14.0.0
41214121
pr-url: https://github.com/nodejs/node/pull/31030
41224122
description: The `data` parameter won't coerce unsupported input to
41234123
strings anymore.
@@ -4207,7 +4207,7 @@ to contain only `', World'`.
42074207
<!-- YAML
42084208
added: v0.1.29
42094209
changes:
4210-
- version: REPLACEME
4210+
- version: v14.0.0
42114211
pr-url: https://github.com/nodejs/node/pull/31030
42124212
description: The `data` parameter won't coerce unsupported input to
42134213
strings anymore.
@@ -4239,7 +4239,7 @@ this API: [`fs.writeFile()`][].
42394239
<!-- YAML
42404240
added: v0.1.21
42414241
changes:
4242-
- version: REPLACEME
4242+
- version: v14.0.0
42434243
pr-url: https://github.com/nodejs/node/pull/31030
42444244
description: The `buffer` parameter won't coerce unsupported input to
42454245
strings anymore.
@@ -4269,7 +4269,7 @@ this API: [`fs.write(fd, buffer...)`][].
42694269
<!-- YAML
42704270
added: v0.11.5
42714271
changes:
4272-
- version: REPLACEME
4272+
- version: v14.0.0
42734273
pr-url: https://github.com/nodejs/node/pull/31030
42744274
description: The `string` parameter won't coerce unsupported input to
42754275
strings anymore.
@@ -4509,7 +4509,7 @@ of the file.
45094509

45104510
#### `filehandle.readv(buffers[, position])`
45114511
<!-- YAML
4512-
added: REPLACEME
4512+
added: v14.0.0
45134513
-->
45144514

45154515
* `buffers` {ArrayBufferView[]}
@@ -4641,7 +4641,7 @@ This function does not work on AIX versions before 7.1, it will resolve the
46414641
<!-- YAML
46424642
added: v10.0.0
46434643
changes:
4644-
- version: REPLACEME
4644+
- version: v14.0.0
46454645
pr-url: https://github.com/nodejs/node/pull/31030
46464646
description: The `buffer` parameter won't coerce unsupported input to
46474647
buffers anymore.
@@ -4678,7 +4678,7 @@ the end of the file.
46784678
<!-- YAML
46794679
added: v10.0.0
46804680
changes:
4681-
- version: REPLACEME
4681+
- version: v14.0.0
46824682
pr-url: https://github.com/nodejs/node/pull/31030
46834683
description: The `string` parameter won't coerce unsupported input to
46844684
strings anymore.
@@ -4714,7 +4714,7 @@ the end of the file.
47144714
<!-- YAML
47154715
added: v10.0.0
47164716
changes:
4717-
- version: REPLACEME
4717+
- version: v14.0.0
47184718
pr-url: https://github.com/nodejs/node/pull/31030
47194719
description: The `data` parameter won't coerce unsupported input to
47204720
strings anymore.
@@ -5319,7 +5319,7 @@ The `atime` and `mtime` arguments follow these rules:
53195319
<!-- YAML
53205320
added: v10.0.0
53215321
changes:
5322-
- version: REPLACEME
5322+
- version: v14.0.0
53235323
pr-url: https://github.com/nodejs/node/pull/31030
53245324
description: The `data` parameter won't coerce unsupported input to
53255325
strings anymore.

‎doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ to mark specific significant moments in the Performance Timeline.
6060
<!-- YAML
6161
added: v8.5.0
6262
changes:
63-
- version: REPLACEME
63+
- version: v14.0.0
6464
pr-url: https://github.com/nodejs/node/pull/32651
6565
description: Make `startMark` and `endMark` parameters optional.
6666
-->

‎doc/api/process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ $ bash -c 'exec -a customArgv0 ./node'
665665
<!-- YAML
666666
added: v7.1.0
667667
changes:
668-
- version: REPLACEME
668+
- version: v14.0.0
669669
pr-url: https://github.com/nodejs/node/pull/30165
670670
description: The object no longer accidentally exposes native C++ bindings.
671671
-->
@@ -1499,7 +1499,7 @@ debugger. See [Signal Events][].
14991499
## `process.mainModule`
15001500
<!-- YAML
15011501
added: v0.1.17
1502-
deprecated: REPLACEME
1502+
deprecated: v14.0.0
15031503
-->
15041504

15051505
> Stability: 0 - Deprecated: Use [`require.main`][] instead.
@@ -2427,7 +2427,7 @@ flag's behavior.
24272427
<!-- YAML
24282428
added: v0.1.19
24292429
changes:
2430-
- version: REPLACEME
2430+
- version: v14.0.0
24312431
pr-url: https://github.com/nodejs/node/pull/32499
24322432
description: Calling `process.umask()` with no arguments is deprecated.
24332433

0 commit comments

Comments
 (0)
Please sign in to comment.