Permalink
Browse files

2019-01-24, Version 11.8.0 (Current)

Notable Changes:

* events:
  * For unhandled `error` events with an argument that is not an
    `Error` object, the resulting exeption will have more information
    about the argument.
    #25621
* child_process:
  * When the `maxBuffer` option is passed, `stdout` and `stderr` will
    be truncated rather than unavailable in case of an error.
    #24951
* policy:
  * Experimental support for module integrity checks through a manifest
    file is implemented now.
    #23834
* n-api:
  * The `napi_threadsafe_function` feature is now stable.
    #25556
* report:
  * An experimental diagnostic API for capturing process state is
    available as `process.report` and through command line flags.
    #22712
* tls:
  * `tls.connect()` takes a `timeout` option analogous to the
    `net.connect()` one.
    #25517
* worker:
  * `process.umask()` is available as a read-only function inside Worker
    threads now.
    #25526
  * An `execArgv` option that supports a subset of Node.js command line
    options is supported now.
    #25467

PR-URL: #25687
  • Loading branch information...
MylesBorins committed Jan 24, 2019
1 parent 35f45ba commit 641de82404d5fa381053e0f5abd522c7f5881e5a
Showing with 373 additions and 15 deletions.
  1. +2 −1 CHANGELOG.md
  2. +9 −9 doc/api/cli.md
  3. +1 −1 doc/api/policy.md
  4. +3 −3 doc/api/process.md
  5. +1 −1 doc/api/tls.md
  6. +357 −0 doc/changelogs/CHANGELOG_V11.md
@@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.7.0">11.7.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.8.0">11.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.7.0">11.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.6.0">11.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.5.0">11.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.4.0">11.4.0</a><br/>
@@ -77,21 +77,21 @@ $ source node_bash_completion

### `--diagnostic-report-directory=directory`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Location at which the report will be generated.

### `--diagnostic-report-filename=filename`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Name of the file to which the report will be written.

### `--diagnostic-report-on-fatalerror`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Enables the report to be triggered on fatal errors (internal errors within
@@ -102,7 +102,7 @@ consumption etc. to reason about the fatal error.

### `--diagnostic-report-on-signal`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Enables report to be generated upon receiving the specified (or predefined)
@@ -111,15 +111,15 @@ The signal to trigger the report is specified through `--diagnostic-report-signa

### `--diagnostic-report-signal=signal`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Sets or resets the signal for report generation (not supported on Windows).
Default signal is `SIGUSR2`.

### `--diagnostic-report-uncaught-exception`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Enables report to be generated on un-caught exceptions, if
@@ -128,7 +128,7 @@ conjunction with native stack and other runtime environment data.

### `--diagnostic-report-verbose`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Flag that enables additional information to be printed during report generation.
@@ -150,7 +150,7 @@ Enable experimental ES module support and caching modules.

### `--experimental-policy`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Use the specified file as a security policy.
@@ -164,7 +164,7 @@ Enable experimental top-level `await` keyword support in REPL.

### `--experimental-report`
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Enable experimental diagnostic report feature.
@@ -1,6 +1,6 @@
# Policies

<!--introduced_in=REPLACEME-->
<!--introduced_in=v11.7.0-->
<!-- type=misc -->

> Stability: 1 - Experimental
@@ -1662,7 +1662,7 @@ relied upon to exist.

### process.report.getReport([err])
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

* `err` {Object}
@@ -1682,7 +1682,7 @@ at [report documentation][].

### process.report.setDiagnosticReportOptions([options]);
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

Set the runtime configuration of diagnostic report data capture. Upon invocation
@@ -1731,7 +1731,7 @@ at [report documentation][].

### process.report.triggerReport([filename][, err])
<!-- YAML
added: REPLACEME
added: v11.7.0
-->

* `filename` {string} The file to write into. The `filename` should be
@@ -1023,7 +1023,7 @@ being issued by trusted CA (`options.ca`).
<!-- YAML
added: v0.11.3
changes:
- version: REPLACEME
- version: v11.7.0
pr-url: https://github.com/nodejs/node/pull/25517
description: The `timeout` option is supported now.
- version: v8.0.0
Oops, something went wrong.

0 comments on commit 641de82

Please sign in to comment.