Skip to content

Commit 372c7cc

Browse files
committed
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. New V8 ArrayBuffer API: * **src**: migrate to new V8 ArrayBuffer API (Thang Tran) [#30782](#30782) Multiple ArrayBuffers pointing to the same base address are no longer allowed by V8. This may impact native addons. 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 10cc254 commit 372c7cc

28 files changed

+368
-37
lines changed

CHANGELOG.md

+6-1
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.13.0">13.13.0</a></b><br/>
3338
<a href="doc/changelogs/CHANGELOG_V13.md#13.12.0">13.12.0</a><br/>
3439
<a href="doc/changelogs/CHANGELOG_V13.md#13.11.0">13.11.0</a><br/>
@@ -48,7 +53,7 @@ release.
4853
</td>
4954
<td valign="top">
5055
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.16.2">12.16.2</a></b><br/>
51-
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.1">12.16.1</a><<br/>
56+
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.1">12.16.1</a><br/>
5257
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.0">12.16.0</a><br/>
5358
<a href="doc/changelogs/CHANGELOG_V12.md#12.15.0">12.15.0</a><br/>
5459
<a href="doc/changelogs/CHANGELOG_V12.md#12.14.1">12.14.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

+1-1
Original file line numberDiff line numberDiff line change
@@ -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

+8-8
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
-->
@@ -2639,7 +2639,7 @@ purpose and is only available on CommonJS environment.
26392639
### 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: Runtime deprecation.
26452645
-->

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 not be sent on a socket.

doc/api/fs.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -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.
@@ -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/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

doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ Is `true` after [`writable.destroy()`][writable-destroy] has been called.
405405
<!-- YAML
406406
added: v0.9.4
407407
changes:
408-
- version: REPLACEME
408+
- version: v14.0.0
409409
pr-url: https://github.com/nodejs/node/pull/29747
410410
description: The `callback` is invoked if 'finish' or 'error' is emitted.
411411
- version: v10.0.0
@@ -1796,7 +1796,7 @@ changes:
17961796
pr-url: https://github.com/nodejs/node/pull/22795
17971797
description: Add `autoDestroy` option to automatically `destroy()` the
17981798
stream when it emits `'finish'` or errors.
1799-
- version: REPLACEME
1799+
- version: v14.0.0
18001800
pr-url: https://github.com/nodejs/node/pull/30623
18011801
description: Change `autoDestroy` option default to `true`.
18021802
-->
@@ -2076,7 +2076,7 @@ changes:
20762076
pr-url: https://github.com/nodejs/node/pull/22795
20772077
description: Add `autoDestroy` option to automatically `destroy()` the
20782078
stream when it emits `'end'` or errors.
2079-
- version: REPLACEME
2079+
- version: v14.0.0
20802080
pr-url: https://github.com/nodejs/node/pull/30623
20812081
description: Change `autoDestroy` option default to `true`.
20822082
-->

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ util.types.isWeakSet(new WeakSet()); // Returns true
18971897
### `util.types.isWebAssemblyCompiledModule(value)`
18981898
<!-- YAML
18991899
added: v10.0.0
1900-
deprecated: REPLACEME
1900+
deprecated: v14.0.0
19011901
-->
19021902

19031903
> Stability: 0 - Deprecated: Use `value instanceof WebAssembly.Module` instead.

doc/changelogs/CHANGELOG_ARCHIVE.md

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
</table>
155155

156156
* Other Versions
157+
* [14.x](CHANGELOG_V14.md)
158+
* [13.x](CHANGELOG_V13.md)
157159
* [12.x](CHANGELOG_V12.md)
158160
* [11.x](CHANGELOG_V11.md)
159161
* [10.x](CHANGELOG_V10.md)

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+
* [14.x](CHANGELOG_V14.md)
6667
* [13.x](CHANGELOG_V13.md)
6768
* [12.x](CHANGELOG_V12.md)
6869
* [11.x](CHANGELOG_V11.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+
* [14.x](CHANGELOG_V14.md)
6869
* [13.x](CHANGELOG_V13.md)
6970
* [12.x](CHANGELOG_V12.md)
7071
* [11.x](CHANGELOG_V11.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+
* [14.x](CHANGELOG_V14.md)
3637
* [13.x](CHANGELOG_V13.md)
3738
* [12.x](CHANGELOG_V12.md)
3839
* [11.x](CHANGELOG_V11.md)

doc/changelogs/CHANGELOG_V10.md

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

5252
* Other Versions
53+
* [14.x](CHANGELOG_V14.md)
5354
* [13.x](CHANGELOG_V13.md)
5455
* [12.x](CHANGELOG_V12.md)
5556
* [11.x](CHANGELOG_V11.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+
* [14.x](CHANGELOG_V14.md)
3435
* [13.x](CHANGELOG_V13.md)
3536
* [12.x](CHANGELOG_V12.md)
3637
* [10.x](CHANGELOG_V10.md)

0 commit comments

Comments
 (0)