Skip to content

Commit dafb5b5

Browse files
committed
2020-10-06, Version 12.19.0 'Erbium' (LTS)
Notable changes: async_hooks: * add AsyncResource.bind utility (James M Snell) (#34574) buffer: * also alias BigUInt methods (Anna Henningsen) (#34960) * alias UInt ➡️ Uint in buffer methods (Anna Henningsen) (#34729) build: * add build flag for OSS-Fuzz integration (davkor) (#34761) cli: * add alias for report-directory to make it consistent (Ash Cripps) (#33587) crypto: * allow KeyObjects in postMessage (Tobias Nießen) (#33360) * add randomInt function (Oli Lalonde) (#34600) deps: * upgrade to libuv 1.39.0 (Colin Ihrig) (#34915) dgram: * add IPv6 scope id suffix to received udp6 dgrams (Pekka Nikander) (#14500) * allow typed arrays in .send() (Sarat Addepalli) (#22413) doc: * add basic embedding example documentation (Anna Henningsen) (#30467) embedding: * make Stop() stop Workers (Anna Henningsen) (#32531) * provide hook for custom process.exit() behaviour (Anna Henningsen) (#32531) fs: * implement lutimes (Maël Nison) (#33399) http: * return this from IncomingMessage#destroy() (Colin Ihrig) (#32789) * expose host and protocol on ClientRequest (wenningplus) [#33803](#33803) http2: * return this for Http2ServerRequest#setTimeout (Pranshu Srivastava) (#33994) * do not modify explicity set date headers (Pranshu Srivastava) (#33160) * n-api**: * support type-tagging objects (Gabriel Schulhof) (#28237) * provide asynchronous cleanup hooks (Anna Henningsen) (#34572) perf_hooks: * add idleTime and event loop util (Trevor Norris) (#34938) timers: * allow timers to be used as primitives (Denys Otrishko) [#34017](#34017) tls: * make 'createSecureContext' honor more options (Mateusz Krawczuk) (#33974) worker: * add public method for marking objects as untransferable (Anna Henningsen) (#33979) * emit `'messagerror'` events for failed deserialization (Anna Henningsen) (#33772) * allow passing JS wrapper objects via postMessage (Anna Henningsen) (#33772) * allow transferring/cloning generic BaseObjects (Anna Henningsen) (#33772) * add option to track unmanaged file descriptors (Anna Henningsen) (#34303) * add stack size resource limit option (Anna Henningsen) (#33085) * make FileHandle transferable (Anna Henningsen) (#33772) zlib: * add `maxOutputLength` option (unknown) (#33516) PR-URL: TODO
1 parent 2f3ffc0 commit dafb5b5

24 files changed

+900
-70
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ release.
2828
</tr>
2929
<tr>
3030
<td valign="top">
31-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a></b><br/>
31+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.19.0">12.19.0</a></b><br/>
32+
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a><br/>
3233
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.3">12.18.3</a><br/>
3334
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.2">12.18.2</a><br/>
3435
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.1">12.18.1</a><br/>

doc/api/addons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ NODE_MODULE_INIT(/* exports, module, context */) {
236236
#### Worker support
237237
<!-- YAML
238238
changes:
239-
- version: REPLACEME
239+
- version: v12.19.0
240240
pr-url: https://github.com/nodejs/node/pull/34572
241241
description: Cleanup hooks may now be asynchronous.
242242
-->

doc/api/assert.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ try {
151151

152152
## Class: `assert.CallTracker`
153153
<!-- YAML
154-
added: REPLACEME
154+
added: v12.19.0
155155
-->
156156

157157
> Stability: 1 - Experimental
@@ -160,7 +160,7 @@ This feature is currently experimental and behavior might still change.
160160

161161
### `new assert.CallTracker()`
162162
<!-- YAML
163-
added: REPLACEME
163+
added: v12.19.0
164164
-->
165165

166166
Creates a new [`CallTracker`][] object which can be used to track if functions
@@ -189,7 +189,7 @@ process.on('exit', () => {
189189

190190
### `tracker.calls([fn][, exact])`
191191
<!-- YAML
192-
added: REPLACEME
192+
added: v12.19.0
193193
-->
194194

195195
* `fn` {Function} **Default** A no-op function.
@@ -216,7 +216,7 @@ const callsfunc = tracker.calls(func);
216216

217217
### `tracker.report()`
218218
<!-- YAML
219-
added: REPLACEME
219+
added: v12.19.0
220220
-->
221221

222222
* Returns: {Array} of objects containing information about the wrapper functions
@@ -262,7 +262,7 @@ tracker.report();
262262

263263
### `tracker.verify()`
264264
<!-- YAML
265-
added: REPLACEME
265+
added: v12.19.0
266266
-->
267267

268268
Iterates through the list of functions passed to

doc/api/async_hooks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ class DBQuery extends AsyncResource {
735735

736736
#### Static method: `AsyncResource.bind(fn[, type])`
737737
<!-- YAML
738-
added: REPLACEME
738+
added: v12.19.0
739739
-->
740740

741741
* `fn` {Function} The function to bind to the current execution context.
@@ -749,7 +749,7 @@ the `AsyncResource` to which the function is bound.
749749

750750
#### `asyncResource.bind(fn)`
751751
<!-- YAML
752-
added: REPLACEME
752+
added: v12.19.0
753753
-->
754754

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

doc/api/buffer.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ values.
13761376
<!-- YAML
13771377
added: v12.0.0
13781378
changes:
1379-
- version: REPLACEME
1379+
- version: v12.19.0
13801380
pr-url: https://github.com/nodejs/node/pull/34960
13811381
description: This function is also available as `buf.readBigUint64BE()`.
13821382
-->
@@ -1401,7 +1401,7 @@ added:
14011401
- v12.0.0
14021402
- v10.20.0
14031403
changes:
1404-
- version: REPLACEME
1404+
- version: v12.19.0
14051405
pr-url: https://github.com/nodejs/node/pull/34960
14061406
description: This function is also available as `buf.readBigUint64LE()`.
14071407
-->
@@ -1713,7 +1713,7 @@ console.log(buf.readIntLE(0, 6).toString(16));
17131713
<!-- YAML
17141714
added: v0.5.0
17151715
changes:
1716-
- version: REPLACEME
1716+
- version: v12.19.0
17171717
pr-url: https://github.com/nodejs/node/pull/34729
17181718
description: This function is also available as `buf.readUint8()`.
17191719
- version: v10.0.0
@@ -1743,7 +1743,7 @@ console.log(buf.readUInt8(2));
17431743
<!-- YAML
17441744
added: v0.5.5
17451745
changes:
1746-
- version: REPLACEME
1746+
- version: v12.19.0
17471747
pr-url: https://github.com/nodejs/node/pull/34729
17481748
description: This function is also available as `buf.readUint16BE()`.
17491749
- version: v10.0.0
@@ -1772,7 +1772,7 @@ console.log(buf.readUInt16BE(1).toString(16));
17721772
<!-- YAML
17731773
added: v0.5.5
17741774
changes:
1775-
- version: REPLACEME
1775+
- version: v12.19.0
17761776
pr-url: https://github.com/nodejs/node/pull/34729
17771777
description: This function is also available as `buf.readUint16LE()`.
17781778
- version: v10.0.0
@@ -1803,7 +1803,7 @@ console.log(buf.readUInt16LE(2).toString(16));
18031803
<!-- YAML
18041804
added: v0.5.5
18051805
changes:
1806-
- version: REPLACEME
1806+
- version: v12.19.0
18071807
pr-url: https://github.com/nodejs/node/pull/34729
18081808
description: This function is also available as `buf.readUint32BE()`.
18091809
- version: v10.0.0
@@ -1830,7 +1830,7 @@ console.log(buf.readUInt32BE(0).toString(16));
18301830
<!-- YAML
18311831
added: v0.5.5
18321832
changes:
1833-
- version: REPLACEME
1833+
- version: v12.19.0
18341834
pr-url: https://github.com/nodejs/node/pull/34729
18351835
description: This function is also available as `buf.readUint32LE()`.
18361836
- version: v10.0.0
@@ -1859,7 +1859,7 @@ console.log(buf.readUInt32LE(1).toString(16));
18591859
<!-- YAML
18601860
added: v0.11.15
18611861
changes:
1862-
- version: REPLACEME
1862+
- version: v12.19.0
18631863
pr-url: https://github.com/nodejs/node/pull/34729
18641864
description: This function is also available as `buf.readUintBE()`.
18651865
- version: v10.0.0
@@ -1891,7 +1891,7 @@ console.log(buf.readUIntBE(1, 6).toString(16));
18911891
<!-- YAML
18921892
added: v0.11.15
18931893
changes:
1894-
- version: REPLACEME
1894+
- version: v12.19.0
18951895
pr-url: https://github.com/nodejs/node/pull/34729
18961896
description: This function is also available as `buf.readUintLE()`.
18971897
- version: v10.0.0
@@ -2307,7 +2307,7 @@ added:
23072307
- v12.0.0
23082308
- v10.20.0
23092309
changes:
2310-
- version: REPLACEME
2310+
- version: v12.19.0
23112311
pr-url: https://github.com/nodejs/node/pull/34960
23122312
description: This function is also available as `buf.writeBigUint64BE()`.
23132313
-->
@@ -2332,7 +2332,7 @@ console.log(buf);
23322332
<!-- YAML
23332333
added: v12.0.0
23342334
changes:
2335-
- version: REPLACEME
2335+
- version: v12.19.0
23362336
pr-url: https://github.com/nodejs/node/pull/34960
23372337
description: This function is also available as `buf.writeBigUint64LE()`.
23382338
-->
@@ -2680,7 +2680,7 @@ console.log(buf);
26802680
<!-- YAML
26812681
added: v0.5.0
26822682
changes:
2683-
- version: REPLACEME
2683+
- version: v12.19.0
26842684
pr-url: https://github.com/nodejs/node/pull/34729
26852685
description: This function is also available as `buf.writeUint8()`.
26862686
- version: v10.0.0
@@ -2714,7 +2714,7 @@ console.log(buf);
27142714
<!-- YAML
27152715
added: v0.5.5
27162716
changes:
2717-
- version: REPLACEME
2717+
- version: v12.19.0
27182718
pr-url: https://github.com/nodejs/node/pull/34729
27192719
description: This function is also available as `buf.writeUint16BE()`.
27202720
- version: v10.0.0
@@ -2746,7 +2746,7 @@ console.log(buf);
27462746
<!-- YAML
27472747
added: v0.5.5
27482748
changes:
2749-
- version: REPLACEME
2749+
- version: v12.19.0
27502750
pr-url: https://github.com/nodejs/node/pull/34729
27512751
description: This function is also available as `buf.writeUint16LE()`.
27522752
- version: v10.0.0
@@ -2778,7 +2778,7 @@ console.log(buf);
27782778
<!-- YAML
27792779
added: v0.5.5
27802780
changes:
2781-
- version: REPLACEME
2781+
- version: v12.19.0
27822782
pr-url: https://github.com/nodejs/node/pull/34729
27832783
description: This function is also available as `buf.writeUint32BE()`.
27842784
- version: v10.0.0
@@ -2809,7 +2809,7 @@ console.log(buf);
28092809
<!-- YAML
28102810
added: v0.5.5
28112811
changes:
2812-
- version: REPLACEME
2812+
- version: v12.19.0
28132813
pr-url: https://github.com/nodejs/node/pull/34729
28142814
description: This function is also available as `buf.writeUint32LE()`.
28152815
- version: v10.0.0
@@ -2840,7 +2840,7 @@ console.log(buf);
28402840
<!-- YAML
28412841
added: v0.5.5
28422842
changes:
2843-
- version: REPLACEME
2843+
- version: v12.19.0
28442844
pr-url: https://github.com/nodejs/node/pull/34729
28452845
description: This function is also available as `buf.writeUintBE()`.
28462846
- version: v10.0.0
@@ -2873,7 +2873,7 @@ console.log(buf);
28732873
<!-- YAML
28742874
added: v0.5.5
28752875
changes:
2876-
- version: REPLACEME
2876+
- version: v12.19.0
28772877
pr-url: https://github.com/nodejs/node/pull/34729
28782878
description: This function is also available as `buf.writeUintLE()`.
28792879
- version: v10.0.0

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ This can be called many times with new data as it is streamed.
12151215
<!-- YAML
12161216
added: v11.6.0
12171217
changes:
1218-
- version: REPLACEME
1218+
- version: v12.19.0
12191219
pr-url: https://github.com/nodejs/node/pull/33360
12201220
description: Instances of this class can now be passed to worker threads
12211221
using `postMessage`.
@@ -2781,7 +2781,7 @@ request.
27812781

27822782
### `crypto.randomInt([min, ]max[, callback])`
27832783
<!-- YAML
2784-
added: REPLACEME
2784+
added: v12.19.0
27852785
-->
27862786

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

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ To maintain existing behaviour `response.finished` should be replaced with
25472547
<!-- YAML
25482548
changes:
25492549
- version:
2550-
- REPLACEME
2550+
- v12.19.0
25512551
- v14.0.0
25522552
pr-url: https://github.com/nodejs/node/pull/32499
25532553
description: Documentation-only deprecation.
@@ -2565,7 +2565,7 @@ API.
25652565
<!-- YAML
25662566
changes:
25672567
- version:
2568-
- REPLACEME
2568+
- v12.19.0
25692569
- v14.6.0
25702570
pr-url: https://github.com/nodejs/node/pull/32217
25712571
description: Documentation-only deprecation.

doc/api/dgram.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ if the socket is not connected.
401401
<!-- YAML
402402
added: v0.1.99
403403
changes:
404-
- version: REPLACEME
404+
- version: v12.19.0
405405
pr-url: https://github.com/nodejs/node/pull/22413
406406
description: The `msg` parameter can now be any `TypedArray` or `DataView`.
407407
- 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=REPLACEME-->
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ failed.
15421542
<a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a>
15431543
### `ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE`
15441544
<!-- YAML
1545-
added: REPLACEME
1545+
added: v12.19.0
15461546
-->
15471547

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

doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@ Synchronous lchown(2). Returns `undefined`.
23732373

23742374
## `fs.lutimes(path, atime, mtime, callback)`
23752375
<!-- YAML
2376-
added: REPLACEME
2376+
added: v12.19.0
23772377
-->
23782378

23792379
* `path` {string|Buffer|URL}
@@ -2392,7 +2392,7 @@ callback.
23922392

23932393
## `fs.lutimesSync(path, atime, mtime)`
23942394
<!-- YAML
2395-
added: REPLACEME
2395+
added: v12.19.0
23962396
-->
23972397

23982398
* `path` {string|Buffer|URL}
@@ -4983,7 +4983,7 @@ no arguments upon success.
49834983

49844984
### `fsPromises.lutimes(path, atime, mtime)`
49854985
<!-- YAML
4986-
added: REPLACEME
4986+
added: v12.19.0
49874987
-->
49884988

49894989
* `path` {string|Buffer|URL}

doc/api/http.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -715,14 +715,14 @@ added: v0.1.97
715715

716716
### `request.host`
717717
<!-- YAML
718-
added: REPLACEME
718+
added: v12.19.0
719719
-->
720720

721721
* {string} The request host.
722722

723723
### `request.protocol`
724724
<!-- YAML
725-
added: REPLACEME
725+
added: v12.19.0
726726
-->
727727

728728
* {string} The request protocol.
@@ -1852,7 +1852,7 @@ const req = http.request({
18521852
<!-- YAML
18531853
added: v0.3.0
18541854
changes:
1855-
- version: REPLACEME
1855+
- version: v12.19.0
18561856
pr-url: https://github.com/nodejs/node/pull/32789
18571857
description: The function returns `this` for consistency with other Readable
18581858
streams.

doc/api/http2.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ and will throw an error.
14301430
<!-- YAML
14311431
added: v8.4.0
14321432
changes:
1433-
- version: REPLACEME
1433+
- version: v12.19.0
14341434
pr-url: https://github.com/nodejs/node/pull/33160
14351435
description: Allow explicity setting date headers.
14361436
-->
@@ -1477,7 +1477,7 @@ server.on('stream', (stream) => {
14771477
<!-- YAML
14781478
added: v8.4.0
14791479
changes:
1480-
- version: REPLACEME
1480+
- version: v12.19.0
14811481
pr-url: https://github.com/nodejs/node/pull/33160
14821482
description: Allow explicity setting date headers.
14831483
- version: v12.12.0
@@ -1578,7 +1578,7 @@ server.on('stream', (stream) => {
15781578
<!-- YAML
15791579
added: v8.4.0
15801580
changes:
1581-
- version: REPLACEME
1581+
- version: v12.19.0
15821582
pr-url: https://github.com/nodejs/node/pull/33160
15831583
description: Allow explicity setting date headers.
15841584
- version: v10.0.0

doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ loading.
904904
<!-- YAML
905905
added: v0.1.16
906906
deprecated:
907-
- REPLACEME
907+
- v12.19.0
908908
- v14.6.0
909909
-->
910910

0 commit comments

Comments
 (0)