Skip to content

Commit

Permalink
2019-01-24, Version 11.8.0 (Current)
Browse files Browse the repository at this point in the history
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 25, 2019
1 parent 35f45ba commit 641de82
Show file tree
Hide file tree
Showing 6 changed files with 373 additions and 15 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_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/>
Expand Down
18 changes: 9 additions & 9 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/policy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Policies

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

> Stability: 1 - Experimental
Expand Down
6 changes: 3 additions & 3 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ relied upon to exist.

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

* `err` {Object}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 641de82

Please sign in to comment.