Skip to content

Commit 1cef9c6

Browse files
committed
2020-10-06, Version 12.19.0 'Erbium' (LTS)
Notable changes: assert: * (SEMVER-MINOR) port common.mustCall() to assert (ConorDavenport) #31982 async_hooks: * (SEMVER-MINOR) add AsyncResource.bind utility (James M Snell) #34574 buffer: * (SEMVER-MINOR) also alias BigUInt methods (Anna Henningsen) #34960 * (SEMVER-MINOR) alias UInt ➡️ Uint in buffer methods (Anna Henningsen) #34729 build: * (SEMVER-MINOR) add build flag for OSS-Fuzz integration (davkor) #34761 cli: * (SEMVER-MINOR) add alias for report-directory to make it consistent (Ash Cripps) #33587 crypto: * (SEMVER-MINOR) allow KeyObjects in postMessage (Tobias Nießen) #33360 * (SEMVER-MINOR) add randomInt function (Oli Lalonde) #34600 deps: * upgrade to libuv 1.39.0 (Colin Ihrig) #34915 * upgrade npm to 6.14.7 (claudiahdz) #34468 * upgrade to libuv 1.38.1 (Colin Ihrig) #34187 dgram: * (SEMVER-MINOR) add IPv6 scope id suffix to received udp6 dgrams (Pekka Nikander) #14500 * (SEMVER-MINOR) allow typed arrays in .send() (Sarat Addepalli) #22413 doc: * (SEMVER-MINOR) Add maxTotalSockets option to agent constructor (rickyes) #33617 * (SEMVER-MINOR) add basic embedding example documentation (Anna Henningsen) #30467 * add Ricky Zhou to collaborators (rickyes) #34676 * add release key for Ruy Adorno (Ruy Adorno) #34628 * add DerekNonGeneric to collaborators (Derek Lewis) #34602 * add AshCripps to collaborators (Ash Cripps) #34494 * add HarshithaKP to collaborators (Harshitha K P) #34417 * add rexagod to collaborators (Pranshu Srivastava) #34457 * add release key for Richard Lau (Richard Lau) #34397 * add danielleadams to collaborators (Danielle Adams) #34360 * add sxa as collaborator (Stewart X Addison) #34338 * add ruyadorno to collaborators (Ruy Adorno) #34297 * (SEMVER-MAJOR) deprecate process.umask() with no arguments (Colin Ihrig) #32499 embedding: * (SEMVER-MINOR) make Stop() stop Workers (Anna Henningsen) #32531 * (SEMVER-MINOR) provide hook for custom process.exit() behaviour (Anna Henningsen) #32531 fs: * (SEMVER-MINOR) implement lutimes (Maël Nison) #33399 http: * (SEMVER-MINOR) add maxTotalSockets to agent class (rickyes) #33617 * (SEMVER-MINOR) return this from IncomingMessage#destroy() (Colin Ihrig) #32789 * (SEMVER-MINOR) expose host and protocol on ClientRequest (wenningplus) #33803 http2: * (SEMVER-MINOR) return this for Http2ServerRequest#setTimeout (Pranshu Srivastava) #33994 * (SEMVER-MINOR) do not modify explicity set date headers (Pranshu Srivastava) #33160 module: * (SEMVER-MINOR) named exports for CJS via static analysis (Guy Bedford) #35249 * (SEMVER-MINOR) exports pattern support (Guy Bedford) #34718 * (SEMVER-MINOR) package "imports" field (Guy Bedford) #34117 * (SEMVER-MINOR) deprecate module.parent (Antoine du HAMEL) #32217 n-api: * (SEMVER-MINOR) create N-API version 7 (Gabriel Schulhof) #35199 * (SEMVER-MINOR) support type-tagging objects (Gabriel Schulhof) #28237 n-api,src: * (SEMVER-MINOR) provide asynchronous cleanup hooks (Anna Henningsen) #34572 perf_hooks: * (SEMVER-MINOR) add idleTime and event loop util (Trevor Norris) #34938 timers: * (SEMVER-MINOR) allow timers to be used as primitives (Denys Otrishko) #34017 tls: * (SEMVER-MINOR) make 'createSecureContext' honor more options (Mateusz Krawczuk) #33974 worker: * (SEMVER-MINOR) add public method for marking objects as untransferable (Anna Henningsen) #33979 * (SEMVER-MINOR) emit `'messagerror'` events for failed deserialization (Anna Henningsen) #33772 * (SEMVER-MINOR) allow passing JS wrapper objects via postMessage (Anna Henningsen) #33772 * (SEMVER-MINOR) allow transferring/cloning generic BaseObjects (Anna Henningsen) #33772 * (SEMVER-MINOR) add option to track unmanaged file descriptors (Anna Henningsen) #34303 * (SEMVER-MINOR) add stack size resource limit option (Anna Henningsen) #33085 worker,fs: * (SEMVER-MINOR) make FileHandle transferable (Anna Henningsen) #33772 zlib: * (SEMVER-MINOR) add `maxOutputLength` option (unknown) #33516 * switch to lazy init for zlib streams (Andrey Pechkurov) #34048 PR-URL: #35401
1 parent 8beef5e commit 1cef9c6

25 files changed

+785
-67
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ release.
4747
<a href="doc/changelogs/CHANGELOG_V14.md#14.0.0">14.0.0</a><br/>
4848
</td>
4949
<td valign="top">
50-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a></b><br/>
50+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.19.0">12.19.0</a></b><br/>
51+
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a><br/>
5152
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.3">12.18.3</a><br/>
5253
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.2">12.18.2</a><br/>
5354
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.1">12.18.1</a><br/>

doc/api/addons.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ NODE_MODULE_INIT(/* exports, module, context */) {
234234
#### Worker support
235235
<!-- YAML
236236
changes:
237-
- version: v14.8.0
237+
- version:
238+
- v14.8.0
239+
- v12.19.0
238240
pr-url: https://github.com/nodejs/node/pull/34572
239241
description: Cleanup hooks may now be asynchronous.
240242
-->

doc/api/assert.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ try {
159159

160160
## Class: `assert.CallTracker`
161161
<!-- YAML
162-
added: v14.2.0
162+
added:
163+
- v14.2.0
164+
- v12.19.0
163165
-->
164166

165167
> Stability: 1 - Experimental
@@ -168,7 +170,9 @@ This feature is currently experimental and behavior might still change.
168170

169171
### `new assert.CallTracker()`
170172
<!-- YAML
171-
added: v14.2.0
173+
added:
174+
- v14.2.0
175+
- v12.19.0
172176
-->
173177

174178
Creates a new [`CallTracker`][] object which can be used to track if functions
@@ -197,7 +201,9 @@ process.on('exit', () => {
197201

198202
### `tracker.calls([fn][, exact])`
199203
<!-- YAML
200-
added: v14.2.0
204+
added:
205+
- v14.2.0
206+
- v12.19.0
201207
-->
202208

203209
* `fn` {Function} **Default** A no-op function.
@@ -224,7 +230,9 @@ const callsfunc = tracker.calls(func);
224230

225231
### `tracker.report()`
226232
<!-- YAML
227-
added: v14.2.0
233+
added:
234+
- v14.2.0
235+
- v12.19.0
228236
-->
229237

230238
* Returns: {Array} of objects containing information about the wrapper functions
@@ -270,7 +278,9 @@ tracker.report();
270278

271279
### `tracker.verify()`
272280
<!-- YAML
273-
added: v14.2.0
281+
added:
282+
- v14.2.0
283+
- v12.19.0
274284
-->
275285

276286
Iterates through the list of functions passed to

doc/api/async_hooks.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,9 @@ class DBQuery extends AsyncResource {
732732

733733
#### Static method: `AsyncResource.bind(fn[, type])`
734734
<!-- YAML
735-
added: v14.8.0
735+
added:
736+
- v14.8.0
737+
- v12.19.0
736738
-->
737739

738740
* `fn` {Function} The function to bind to the current execution context.
@@ -746,7 +748,9 @@ the `AsyncResource` to which the function is bound.
746748

747749
#### `asyncResource.bind(fn)`
748750
<!-- YAML
749-
added: v14.8.0
751+
added:
752+
- v14.8.0
753+
- v12.19.0
750754
-->
751755

752756
* `fn` {Function} The function to bind to the current `AsyncResource`.

doc/api/buffer.md

+54-18
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,9 @@ added:
13931393
- v12.0.0
13941394
- v10.20.0
13951395
changes:
1396-
- version: v14.10.0
1396+
- version:
1397+
- v14.10.0
1398+
- v12.19.0
13971399
pr-url: https://github.com/nodejs/node/pull/34960
13981400
description: This function is also available as `buf.readBigUint64BE()`.
13991401
-->
@@ -1418,7 +1420,9 @@ added:
14181420
- v12.0.0
14191421
- v10.20.0
14201422
changes:
1421-
- version: v14.10.0
1423+
- version:
1424+
- v14.10.0
1425+
= v12.19.0
14221426
pr-url: https://github.com/nodejs/node/pull/34960
14231427
description: This function is also available as `buf.readBigUint64LE()`.
14241428
-->
@@ -1730,7 +1734,9 @@ console.log(buf.readIntLE(0, 6).toString(16));
17301734
<!-- YAML
17311735
added: v0.5.0
17321736
changes:
1733-
- version: v14.9.0
1737+
- version:
1738+
- v14.9.0
1739+
- v12.19.0
17341740
pr-url: https://github.com/nodejs/node/pull/34729
17351741
description: This function is also available as `buf.readUint8()`.
17361742
- version: v10.0.0
@@ -1760,7 +1766,9 @@ console.log(buf.readUInt8(2));
17601766
<!-- YAML
17611767
added: v0.5.5
17621768
changes:
1763-
- version: v14.9.0
1769+
- version:
1770+
- v14.9.0
1771+
- v12.19.0
17641772
pr-url: https://github.com/nodejs/node/pull/34729
17651773
description: This function is also available as `buf.readUint16BE()`.
17661774
- version: v10.0.0
@@ -1789,7 +1797,9 @@ console.log(buf.readUInt16BE(1).toString(16));
17891797
<!-- YAML
17901798
added: v0.5.5
17911799
changes:
1792-
- version: v14.9.0
1800+
- version:
1801+
- v14.9.0
1802+
- v12.19.0
17931803
pr-url: https://github.com/nodejs/node/pull/34729
17941804
description: This function is also available as `buf.readUint16LE()`.
17951805
- version: v10.0.0
@@ -1820,7 +1830,9 @@ console.log(buf.readUInt16LE(2).toString(16));
18201830
<!-- YAML
18211831
added: v0.5.5
18221832
changes:
1823-
- version: v14.9.0
1833+
- version:
1834+
- v14.9.0
1835+
- v12.19.0
18241836
pr-url: https://github.com/nodejs/node/pull/34729
18251837
description: This function is also available as `buf.readUint32BE()`.
18261838
- version: v10.0.0
@@ -1847,7 +1859,9 @@ console.log(buf.readUInt32BE(0).toString(16));
18471859
<!-- YAML
18481860
added: v0.5.5
18491861
changes:
1850-
- version: v14.9.0
1862+
- version:
1863+
- v14.9.0
1864+
- v12.19.0
18511865
pr-url: https://github.com/nodejs/node/pull/34729
18521866
description: This function is also available as `buf.readUint32LE()`.
18531867
- version: v10.0.0
@@ -1876,7 +1890,9 @@ console.log(buf.readUInt32LE(1).toString(16));
18761890
<!-- YAML
18771891
added: v0.11.15
18781892
changes:
1879-
- version: v14.9.0
1893+
- version:
1894+
- v14.9.0
1895+
- v12.19.0
18801896
pr-url: https://github.com/nodejs/node/pull/34729
18811897
description: This function is also available as `buf.readUintBE()`.
18821898
- version: v10.0.0
@@ -1908,7 +1924,9 @@ console.log(buf.readUIntBE(1, 6).toString(16));
19081924
<!-- YAML
19091925
added: v0.11.15
19101926
changes:
1911-
- version: v14.9.0
1927+
- version:
1928+
- v14.9.0
1929+
- v12.19.0
19121930
pr-url: https://github.com/nodejs/node/pull/34729
19131931
description: This function is also available as `buf.readUintLE()`.
19141932
- version: v10.0.0
@@ -2326,7 +2344,9 @@ added:
23262344
- v12.0.0
23272345
- v10.20.0
23282346
changes:
2329-
- version: v14.10.0
2347+
- version:
2348+
- v14.10.0
2349+
- v12.19.0
23302350
pr-url: https://github.com/nodejs/node/pull/34960
23312351
description: This function is also available as `buf.writeBigUint64BE()`.
23322352
-->
@@ -2353,7 +2373,9 @@ added:
23532373
- v12.0.0
23542374
- v10.20.0
23552375
changes:
2356-
- version: v14.10.0
2376+
- version:
2377+
- v14.10.0
2378+
- v12.19.0
23572379
pr-url: https://github.com/nodejs/node/pull/34960
23582380
description: This function is also available as `buf.writeBigUint64LE()`.
23592381
-->
@@ -2701,7 +2723,9 @@ console.log(buf);
27012723
<!-- YAML
27022724
added: v0.5.0
27032725
changes:
2704-
- version: v14.9.0
2726+
- version:
2727+
- v14.9.0
2728+
- v12.19.0
27052729
pr-url: https://github.com/nodejs/node/pull/34729
27062730
description: This function is also available as `buf.writeUint8()`.
27072731
- version: v10.0.0
@@ -2735,7 +2759,9 @@ console.log(buf);
27352759
<!-- YAML
27362760
added: v0.5.5
27372761
changes:
2738-
- version: v14.9.0
2762+
- version:
2763+
- v14.9.0
2764+
- v12.19.0
27392765
pr-url: https://github.com/nodejs/node/pull/34729
27402766
description: This function is also available as `buf.writeUint16BE()`.
27412767
- version: v10.0.0
@@ -2767,7 +2793,9 @@ console.log(buf);
27672793
<!-- YAML
27682794
added: v0.5.5
27692795
changes:
2770-
- version: v14.9.0
2796+
- version:
2797+
- v14.9.0
2798+
- 12.19.0
27712799
pr-url: https://github.com/nodejs/node/pull/34729
27722800
description: This function is also available as `buf.writeUint16LE()`.
27732801
- version: v10.0.0
@@ -2799,7 +2827,9 @@ console.log(buf);
27992827
<!-- YAML
28002828
added: v0.5.5
28012829
changes:
2802-
- version: v14.9.0
2830+
- version:
2831+
- v14.9.0
2832+
- v12.19.0
28032833
pr-url: https://github.com/nodejs/node/pull/34729
28042834
description: This function is also available as `buf.writeUint32BE()`.
28052835
- version: v10.0.0
@@ -2830,7 +2860,9 @@ console.log(buf);
28302860
<!-- YAML
28312861
added: v0.5.5
28322862
changes:
2833-
- version: v14.9.0
2863+
- version:
2864+
- v14.9.0
2865+
- v12.19.0
28342866
pr-url: https://github.com/nodejs/node/pull/34729
28352867
description: This function is also available as `buf.writeUint32LE()`.
28362868
- version: v10.0.0
@@ -2861,7 +2893,9 @@ console.log(buf);
28612893
<!-- YAML
28622894
added: v0.5.5
28632895
changes:
2864-
- version: v14.9.0
2896+
- version:
2897+
- v14.9.0
2898+
- v12.19.0
28652899
pr-url: https://github.com/nodejs/node/pull/34729
28662900
description: This function is also available as `buf.writeUintBE()`.
28672901
- version: v10.0.0
@@ -2894,7 +2928,9 @@ console.log(buf);
28942928
<!-- YAML
28952929
added: v0.5.5
28962930
changes:
2897-
- version: v14.9.0
2931+
- version:
2932+
- v14.9.0
2933+
- v12.19.0
28982934
pr-url: https://github.com/nodejs/node/pull/34729
28992935
description: This function is also available as `buf.writeUintLE()`.
29002936
- version: v10.0.0

doc/api/cli.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ $ source node_bash_completion
8282

8383
### `--conditions=condition`
8484
<!-- YAML
85-
added: v14.9.0
85+
added:
86+
- v14.9.0
87+
- v12.19.0
8688
-->
8789

8890
> Stability: 1 - Experimental

doc/api/crypto.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,9 @@ This can be called many times with new data as it is streamed.
12171217
<!-- YAML
12181218
added: v11.6.0
12191219
changes:
1220-
- version: v14.5.0
1220+
- version:
1221+
- v14.5.0
1222+
- v12.19.0
12211223
pr-url: https://github.com/nodejs/node/pull/33360
12221224
description: Instances of this class can now be passed to worker threads
12231225
using `postMessage`.
@@ -2803,7 +2805,9 @@ request.
28032805

28042806
### `crypto.randomInt([min, ]max[, callback])`
28052807
<!-- YAML
2806-
added: v14.10.0
2808+
added:
2809+
- v14.10.0
2810+
- v12.19.0
28072811
-->
28082812

28092813
* `min` {integer} Start of random range (inclusive). **Default**: `0`.

doc/api/deprecations.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -2529,7 +2529,9 @@ purpose and is only available on CommonJS environment.
25292529
### DEP0139: `process.umask()` with no arguments
25302530
<!-- YAML
25312531
changes:
2532-
- version: v14.0.0
2532+
- version:
2533+
- v12.19.0
2534+
- v14.0.0
25332535
pr-url: https://github.com/nodejs/node/pull/32499
25342536
description: Documentation-only deprecation.
25352537
-->
@@ -2545,9 +2547,9 @@ API.
25452547
<!-- YAML
25462548
changes:
25472549
- version:
2548-
- v14.1.0
2549-
- v13.14.0
2550-
pr-url: https://github.com/nodejs/node/pull/32807
2550+
- v12.19.0
2551+
- v14.6.0
2552+
pr-url: https://github.com/nodejs/node/pull/32217
25512553
description: Documentation-only deprecation.
25522554
-->
25532555

doc/api/dgram.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,9 @@ if the socket is not connected.
405405
<!-- YAML
406406
added: v0.1.99
407407
changes:
408-
- version: v14.5.0
408+
- version:
409+
- v14.5.0
410+
- v12.19.0
409411
pr-url: https://github.com/nodejs/node/pull/22413
410412
description: The `msg` parameter can now be any `TypedArray` or `DataView`.
411413
- version: v8.0.0

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=v14.0.0-->
3+
<!--introduced_in=v12.19.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

+3-1
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,9 @@ failed.
15811581
<a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a>
15821582
### `ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE`
15831583
<!-- YAML
1584-
added: v14.5.0
1584+
added:
1585+
- v14.5.0
1586+
- v12.19.0
15851587
-->
15861588

15871589
A message posted to a [`MessagePort`][] could not be deserialized in the target

0 commit comments

Comments
 (0)