Skip to content

Commit

Permalink
2020-10-06, Version 12.19.0 'Erbium' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

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

PR-URL: nodejs#35401
  • Loading branch information
codebytere authored and joesepi committed Oct 22, 2020
1 parent 94b2530 commit df37a49
Show file tree
Hide file tree
Showing 25 changed files with 785 additions and 67 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V14.md#14.0.0">14.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.19.0">12.19.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.4">12.18.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.3">12.18.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.2">12.18.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.1">12.18.1</a><br/>
Expand Down
4 changes: 3 additions & 1 deletion doc/api/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ NODE_MODULE_INIT(/* exports, module, context */) {
#### Worker support
<!-- YAML
changes:
- version: v14.8.0
- version:
- v14.8.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34572
description: Cleanup hooks may now be asynchronous.
-->
Expand Down
20 changes: 15 additions & 5 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ try {

## Class: `assert.CallTracker`
<!-- YAML
added: v14.2.0
added:
- v14.2.0
- v12.19.0
-->

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

### `new assert.CallTracker()`
<!-- YAML
added: v14.2.0
added:
- v14.2.0
- v12.19.0
-->

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

### `tracker.calls([fn][, exact])`
<!-- YAML
added: v14.2.0
added:
- v14.2.0
- v12.19.0
-->

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

### `tracker.report()`
<!-- YAML
added: v14.2.0
added:
- v14.2.0
- v12.19.0
-->

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

### `tracker.verify()`
<!-- YAML
added: v14.2.0
added:
- v14.2.0
- v12.19.0
-->

Iterates through the list of functions passed to
Expand Down
8 changes: 6 additions & 2 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,9 @@ class DBQuery extends AsyncResource {

#### Static method: `AsyncResource.bind(fn[, type])`
<!-- YAML
added: v14.8.0
added:
- v14.8.0
- v12.19.0
-->

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

#### `asyncResource.bind(fn)`
<!-- YAML
added: v14.8.0
added:
- v14.8.0
- v12.19.0
-->

* `fn` {Function} The function to bind to the current `AsyncResource`.
Expand Down
72 changes: 54 additions & 18 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,9 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: v14.10.0
- version:
- v14.10.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.readBigUint64BE()`.
-->
Expand All @@ -1418,7 +1420,9 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: v14.10.0
- version:
- v14.10.0
= v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.readBigUint64LE()`.
-->
Expand Down Expand Up @@ -1730,7 +1734,9 @@ console.log(buf.readIntLE(0, 6).toString(16));
<!-- YAML
added: v0.5.0
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint8()`.
- version: v10.0.0
Expand Down Expand Up @@ -1760,7 +1766,9 @@ console.log(buf.readUInt8(2));
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint16BE()`.
- version: v10.0.0
Expand Down Expand Up @@ -1789,7 +1797,9 @@ console.log(buf.readUInt16BE(1).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint16LE()`.
- version: v10.0.0
Expand Down Expand Up @@ -1820,7 +1830,9 @@ console.log(buf.readUInt16LE(2).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint32BE()`.
- version: v10.0.0
Expand All @@ -1847,7 +1859,9 @@ console.log(buf.readUInt32BE(0).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint32LE()`.
- version: v10.0.0
Expand Down Expand Up @@ -1876,7 +1890,9 @@ console.log(buf.readUInt32LE(1).toString(16));
<!-- YAML
added: v0.11.15
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUintBE()`.
- version: v10.0.0
Expand Down Expand Up @@ -1908,7 +1924,9 @@ console.log(buf.readUIntBE(1, 6).toString(16));
<!-- YAML
added: v0.11.15
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUintLE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2326,7 +2344,9 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: v14.10.0
- version:
- v14.10.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.writeBigUint64BE()`.
-->
Expand All @@ -2353,7 +2373,9 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: v14.10.0
- version:
- v14.10.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.writeBigUint64LE()`.
-->
Expand Down Expand Up @@ -2701,7 +2723,9 @@ console.log(buf);
<!-- YAML
added: v0.5.0
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint8()`.
- version: v10.0.0
Expand Down Expand Up @@ -2735,7 +2759,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint16BE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2767,7 +2793,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- 12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint16LE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2799,7 +2827,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint32BE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2830,7 +2860,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint32LE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2861,7 +2893,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUintBE()`.
- version: v10.0.0
Expand Down Expand Up @@ -2894,7 +2928,9 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
- version:
- v14.9.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUintLE()`.
- version: v10.0.0
Expand Down
4 changes: 3 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ $ source node_bash_completion

### `--conditions=condition`
<!-- YAML
added: v14.9.0
added:
- v14.9.0
- v12.19.0
-->

> Stability: 1 - Experimental
Expand Down
8 changes: 6 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,9 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v11.6.0
changes:
- version: v14.5.0
- version:
- v14.5.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/33360
description: Instances of this class can now be passed to worker threads
using `postMessage`.
Expand Down Expand Up @@ -2803,7 +2805,9 @@ request.

### `crypto.randomInt([min, ]max[, callback])`
<!-- YAML
added: v14.10.0
added:
- v14.10.0
- v12.19.0
-->

* `min` {integer} Start of random range (inclusive). **Default**: `0`.
Expand Down
10 changes: 6 additions & 4 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,9 @@ purpose and is only available on CommonJS environment.
### DEP0139: `process.umask()` with no arguments
<!-- YAML
changes:
- version: v14.0.0
- version:
- v12.19.0
- v14.0.0
pr-url: https://github.com/nodejs/node/pull/32499
description: Documentation-only deprecation.
-->
Expand All @@ -2545,9 +2547,9 @@ API.
<!-- YAML
changes:
- version:
- v14.1.0
- v13.14.0
pr-url: https://github.com/nodejs/node/pull/32807
- v12.19.0
- v14.6.0
pr-url: https://github.com/nodejs/node/pull/32217
description: Documentation-only deprecation.
-->

Expand Down
4 changes: 3 additions & 1 deletion doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,9 @@ if the socket is not connected.
<!-- YAML
added: v0.1.99
changes:
- version: v14.5.0
- version:
- v14.5.0
- v12.19.0
pr-url: https://github.com/nodejs/node/pull/22413
description: The `msg` parameter can now be any `TypedArray` or `DataView`.
- version: v8.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/embedding.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# C++ embedder API

<!--introduced_in=v14.0.0-->
<!--introduced_in=v12.19.0-->

Node.js provides a number of C++ APIs that can be used to execute JavaScript
in a Node.js environment from other C++ software.
Expand Down
4 changes: 3 additions & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,9 @@ failed.
<a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a>
### `ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE`
<!-- YAML
added: v14.5.0
added:
- v14.5.0
- v12.19.0
-->

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

0 comments on commit df37a49

Please sign in to comment.