Skip to content

Commit

Permalink
2020-05-26, Version 12.17.0 'Erbium' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

* [d609881] - http,https: increase server headers timeout (Tim Costa) #30071

PR-URL: #33197
  • Loading branch information
targos committed May 1, 2020
1 parent cbadd11 commit d4bda0c
Show file tree
Hide file tree
Showing 20 changed files with 454 additions and 72 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.16.3">12.16.3</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.17.0">12.17.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.3">12.16.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.2">12.16.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.1">12.16.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.16.0">12.16.0</a><br/>
Expand Down
16 changes: 8 additions & 8 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ init for PROMISE with id 6, trigger id: 5 # the Promise returned by then()
#### `async_hooks.executionAsyncResource()`

<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* Returns: {Object} The resource representing the current execution.
Expand Down Expand Up @@ -868,7 +868,7 @@ for (let i = 0; i < 10; i++) {

## Class: `AsyncLocalStorage`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

This class is used to create asynchronous state within callbacks and promise
Expand Down Expand Up @@ -917,15 +917,15 @@ from each other. It is safe to instantiate this class multiple times.

### `new AsyncLocalStorage()`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

Creates a new instance of `AsyncLocalStorage`. Store is only provided within a
`run` method call.

### `asyncLocalStorage.disable()`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

This method disables the instance of `AsyncLocalStorage`. All subsequent calls
Expand All @@ -945,7 +945,7 @@ in the current process.

### `asyncLocalStorage.getStore()`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* Returns: {any}
Expand All @@ -956,7 +956,7 @@ calling `asyncLocalStorage.run`, it will return `undefined`.

### `asyncLocalStorage.enterWith(store)`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `store` {any}
Expand Down Expand Up @@ -998,7 +998,7 @@ asyncLocalStorage.getStore(); // Returns the same object

### `asyncLocalStorage.run(store, callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `store` {any}
Expand Down Expand Up @@ -1033,7 +1033,7 @@ try {

### `asyncLocalStorage.exit(callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `callback` {Function}
Expand Down
20 changes: 10 additions & 10 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Specify the file name of the CPU profile generated by `--cpu-prof`.

### `--disable-proto=mode`
<!--YAML
added: REPLACEME
added: v12.17.0
-->

Disable the `Object.prototype.__proto__` property. If `mode` is `delete`, the
Expand Down Expand Up @@ -626,7 +626,7 @@ warning will be written to stderr instead.

### `--report-compact`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

Write reports in a compact format, single-line JSON, more easily consumable
Expand All @@ -637,7 +637,7 @@ human consumption.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32242
description: This option is no longer considered experimental.
- version: v12.0.0
Expand All @@ -652,7 +652,7 @@ Location at which the report will be generated.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32242
description: This option is no longer considered experimental.
- version: v12.0.0
Expand All @@ -667,7 +667,7 @@ Name of the file to which the report will be written.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32496
description: This option is no longer considered experimental.
- version: v12.0.0
Expand All @@ -686,7 +686,7 @@ error.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32242
description: This option is no longer considered experimental.
- version: v12.0.0
Expand All @@ -703,7 +703,7 @@ specified through `--report-signal`.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32242
description: This option is no longer considered experimental.
- version: v12.0.0
Expand All @@ -719,7 +719,7 @@ Default signal is `SIGUSR2`.
<!-- YAML
added: v11.8.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32242
description: This option is no longer considered experimental.
- version: v12.0.0
Expand Down Expand Up @@ -852,7 +852,7 @@ i.e. invoking `process.exit()`.

### `--trace-sigint`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

Prints a stack trace on SIGINT.
Expand Down Expand Up @@ -938,7 +938,7 @@ See `SSL_CERT_DIR` and `SSL_CERT_FILE`.

### `--use-largepages=mode`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

Re-map the Node.js static code to large memory pages at startup. If supported on
Expand Down
8 changes: 4 additions & 4 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ passing keys as strings or `Buffer`s due to improved security features.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31178
description: Added support for `'dh'`.
- version: v12.0.0
Expand Down Expand Up @@ -2091,7 +2091,7 @@ algorithm names.

### `crypto.diffieHellman(options)`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `options`: {Object}
Expand All @@ -2107,7 +2107,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
<!-- YAML
added: v10.12.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31178
description: Add support for Diffie-Hellman.
- version: v12.0.0
Expand Down Expand Up @@ -2180,7 +2180,7 @@ a `Promise` for an `Object` with `publicKey` and `privateKey` properties.
<!-- YAML
added: v10.12.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31178
description: Add support for Diffie-Hellman.
- version: v12.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ is not set to `true`, it returns a `Promise` for an `Object` with `address` and
### Supported getaddrinfo flags
<!-- YAML
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32183
description: Added support for the `dns.ALL` flag.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@ The context must be a `SecureContext`.
<a id="ERR_TLS_INVALID_STATE"></a>
### `ERR_TLS_INVALID_STATE`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

The TLS socket must be connected and securily established. Ensure the 'secure'
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Its `name` property is set to `'MaxListenersExceededWarning'`.

### `EventEmitter.errorMonitor`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

This symbol shall be used to install a listener for only monitoring `'error'`
Expand Down
26 changes: 13 additions & 13 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ changes:
- version: v2.3.0
pr-url: https://github.com/nodejs/node/pull/1845
description: The passed `options` object can be a string now.
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/29083
description: The `fs` options allow overriding the used `fs`
implementation.
Expand Down Expand Up @@ -1778,8 +1778,8 @@ changes:
- version: v2.3.0
pr-url: https://github.com/nodejs/node/pull/1845
description: The passed `options` object can be a string now.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/v12.17.0
description: The `fs` options allow overriding the used `fs`
implementation.
-->
Expand Down Expand Up @@ -2439,7 +2439,7 @@ Synchronous lstat(2).
<!-- YAML
added: v0.1.8
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31530
description: In `recursive` mode, the callback now receives the first
created path as an argument.
Expand Down Expand Up @@ -2501,7 +2501,7 @@ See also: mkdir(2).
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31530
description: In `recursive` mode, the first created path is returned now.
- version: v10.12.0
Expand Down Expand Up @@ -2785,9 +2785,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.

## `fs.read(fd, [options,] callback)`
<!-- YAML
added: REPLACEME
added: v12.17.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/31402
description: Options object can be passed in
to make Buffer, offset, length and position optional
Expand Down Expand Up @@ -3083,9 +3083,9 @@ this API: [`fs.read()`][].

## `fs.readSync(fd, buffer, [options])`
<!-- YAML
added: REPLACEME
added: v12.17.0
changes:
- version: REPLACEME
- version: v12.17.0
pr-url: https://github.com/nodejs/node/pull/32460
description: Options object can be passed in
to make offset, length and position optional
Expand All @@ -3109,7 +3109,7 @@ this API: [`fs.read()`][].

## `fs.readv(fd, buffers[, position], callback)`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `fd` {integer}
Expand All @@ -3132,7 +3132,7 @@ The callback will be given three arguments: `err`, `bytesRead`, and

## `fs.readvSync(fd, buffers[, position])`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `fd` {integer}
Expand Down Expand Up @@ -4460,7 +4460,7 @@ property that is a reference to the passed in `buffer` argument.

#### `filehandle.read(options)`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->
* `options` {Object}
* `buffer` {Buffer|Uint8Array} **Default:** `Buffer.alloc(16384)`
Expand Down Expand Up @@ -4495,7 +4495,7 @@ of the file.

#### `filehandle.readv(buffers[, position])`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->

* `buffers` {ArrayBufferView[]}
Expand Down
6 changes: 3 additions & 3 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ import('fs').then((esmFS) => {
## Source Map V3 Support
<!-- YAML
added: REPLACEME
added: v12.17.0
-->
> Stability: 1 - Experimental
Expand All @@ -1045,7 +1045,7 @@ const { findSourceMap, SourceMap } = require('module');
### `module.findSourceMap(path[, error])`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->
* `path` {string}
Expand All @@ -1063,7 +1063,7 @@ will be associated with the `error` instance along with the `path`.
### Class: `module.SourceMap`
<!-- YAML
added: REPLACEME
added: v12.17.0
-->
#### `new SourceMap(payload)`
Expand Down
Loading

0 comments on commit d4bda0c

Please sign in to comment.