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:

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
  • Loading branch information
codebytere committed Sep 28, 2020
1 parent 2f67e99 commit 38e875d
Show file tree
Hide file tree
Showing 24 changed files with 613 additions and 70 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
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
6 changes: 3 additions & 3 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -697,14 +697,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 @@ -1834,7 +1834,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
6 changes: 3 additions & 3 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ and will throw an error.
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/33160
description: Allow explicity setting date headers.
-->
Expand Down Expand Up @@ -1477,7 +1477,7 @@ server.on('stream', (stream) => {
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/33160
description: Allow explicity setting date headers.
- version: v12.12.0
Expand Down Expand Up @@ -1578,7 +1578,7 @@ server.on('stream', (stream) => {
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v12.19.0
pr-url: https://github.com/nodejs/node/pull/33160
description: Allow explicity setting date headers.
- version: v10.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ loading.
<!-- YAML
added: v0.1.16
deprecated:
- REPLACEME
- v12.19.0
- v14.6.0
-->

Expand Down
Loading

0 comments on commit 38e875d

Please sign in to comment.