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) #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
  • Loading branch information
codebytere committed Oct 6, 2020
1 parent ed3278d commit d68bff2
Show file tree
Hide file tree
Showing 25 changed files with 594 additions and 73 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<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
2 changes: 1 addition & 1 deletion doc/api/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ NODE_MODULE_INIT(/* exports, module, context */) {
#### Worker support
<!-- YAML
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/34572
description: Cleanup hooks may now be asynchronous.
-->
Expand Down
10 changes: 5 additions & 5 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ try {

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

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

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

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

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

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

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

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

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

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

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

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

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

* `fn` {Function} The function to bind to the current `AsyncResource`.
Expand Down
36 changes: 18 additions & 18 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ values.
<!-- YAML
added: v12.0.0
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.readBigUint64BE()`.
-->
Expand All @@ -1401,7 +1401,7 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: REPLACEME
- version: 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 @@ -1713,7 +1713,7 @@ console.log(buf.readIntLE(0, 6).toString(16));
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: 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 @@ -1743,7 +1743,7 @@ console.log(buf.readUInt8(2));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -1772,7 +1772,7 @@ console.log(buf.readUInt16BE(1).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -1803,7 +1803,7 @@ console.log(buf.readUInt16LE(2).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -1830,7 +1830,7 @@ console.log(buf.readUInt32BE(0).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -1859,7 +1859,7 @@ console.log(buf.readUInt32LE(1).toString(16));
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: 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 @@ -1891,7 +1891,7 @@ console.log(buf.readUIntBE(1, 6).toString(16));
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: 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 @@ -2307,7 +2307,7 @@ added:
- v12.0.0
- v10.20.0
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/34960
description: This function is also available as `buf.writeBigUint64BE()`.
-->
Expand All @@ -2332,7 +2332,7 @@ console.log(buf);
<!-- YAML
added: v12.0.0
changes:
- version: REPLACEME
- version: 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 @@ -2680,7 +2680,7 @@ console.log(buf);
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: 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 @@ -2714,7 +2714,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -2746,7 +2746,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v12.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 @@ -2778,7 +2778,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -2809,7 +2809,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -2840,7 +2840,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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 @@ -2873,7 +2873,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: 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
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $ source node_bash_completion

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

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: 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 @@ -2781,7 +2781,7 @@ request.

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

* `min` {integer} Start of random range (inclusive). **Default**: `0`.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2547,7 +2547,7 @@ To maintain existing behaviour `response.finished` should be replaced with
<!-- YAML
changes:
- version:
- REPLACEME
- v12.19.0
- v14.0.0
pr-url: https://github.com/nodejs/node/pull/32499
description: Documentation-only deprecation.
Expand All @@ -2565,7 +2565,7 @@ API.
<!-- YAML
changes:
- version:
- REPLACEME
- v12.19.0
- v14.6.0
pr-url: https://github.com/nodejs/node/pull/32217
description: Documentation-only deprecation.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ if the socket is not connected.
<!-- YAML
added: v0.1.99
changes:
- version: REPLACEME
- version: 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=REPLACEME-->
<!--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
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ failed.
<a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a>
### `ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

A message posted to a [`MessagePort`][] could not be deserialized in the target
Expand Down
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,7 @@ Synchronous lchown(2). Returns `undefined`.

## `fs.lutimes(path, atime, mtime, callback)`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

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

## `fs.lutimesSync(path, atime, mtime)`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

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

### `fsPromises.lutimes(path, atime, mtime)`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

* `path` {string|Buffer|URL}
Expand Down
10 changes: 5 additions & 5 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ http.get({
<!-- YAML
added: v0.3.4
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/33617
description: Add `maxTotalSockets` option to agent constructor.
-->
Expand Down Expand Up @@ -295,7 +295,7 @@ can have open per origin. Origin is the returned value of [`agent.getName()`][].

### `agent.maxTotalSockets`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

* {number}
Expand Down Expand Up @@ -715,14 +715,14 @@ added: v0.1.97

### `request.host`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

* {string} The request host.

### `request.protocol`
<!-- YAML
added: REPLACEME
added: v12.19.0
-->

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

0 comments on commit d68bff2

Please sign in to comment.