Skip to content
Permalink
Browse files

2019-03-28, Version 11.13.0 (Current)

Notable changes:

* crypto
  * Allow deriving public from private keys (Tobias Nießen)
    [#26278](#26278).
* events
  * Added a `once` function to use `EventEmitter` with promises
    (Matteo Collina) [#26078](#26078).
* tty
  * Added a `hasColors` method to `WriteStream` (Ruben Bridgewater)
    [#26247](#26247).
  * Added NO_COLOR and FORCE_COLOR support (Ruben Bridgewater)
    [#26485](#26485).
* v8
  * Added `v8.getHeapSnapshot` and `v8.writeHeapSnapshot` to generate snapshots
    in the format used by tools such as Chrome DevTools (James M Snell)
    [#26501](#26501).
* worker
  * Added `worker.moveMessagePortToContext`. This enables using MessagePorts in
    different vm.Contexts, aiding with the isolation that the vm module seeks to
    provide (Anna Henningsen)
    [#26497](#26497).
* C++ API
  * `AddPromiseHook` is now deprecated. This API was added to fill an use case
    that is served by `async_hooks`, since that has `Promise` support
    (Anna Henningsen) [#26529](#26529).
  * Added a `Stop` API to shut down Node.js while it is running
    (Gireesh Punathil) [#21283](#21283).
* meta
  * [Gireesh Punathil](https://github.com/gireeshpunathil) is now a member of
    the Technical Steering Committee
    [#26657](#26657).
  * Added [Yongsheng Zhang](https://github.com/ZYSzys) to collaborators
    [#26730](#26730).

PR-URL: #26949
  • Loading branch information...
targos authored and BethGriggs committed Mar 27, 2019
1 parent 676fa5f commit 473b162cc86df138244bd27d790830221ebc8a1a
Showing with 199 additions and 8 deletions.
  1. +2 −1 CHANGELOG.md
  2. +2 −2 doc/api/crypto.md
  3. +1 −1 doc/api/events.md
  4. +1 −1 doc/api/tty.md
  5. +2 −2 doc/api/v8.md
  6. +1 −1 doc/api/worker_threads.md
  7. +190 −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.12.0">11.12.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.13.0">11.13.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.12.0">11.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.11.0">11.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.10.1">11.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.10.0">11.10.0</a><br/>
@@ -1110,7 +1110,7 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: v11.13.0
pr-url: https://github.com/nodejs/node/pull/26438
description: This class is now exported.
-->
@@ -1825,7 +1825,7 @@ must be an object with the properties described above.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: v11.13.0
pr-url: https://github.com/nodejs/node/pull/26278
description: The `key` argument can now be a `KeyObject` with type
`private`.
@@ -655,7 +655,7 @@ emitter.emit('log');

## events.once(emitter, name)
<!-- YAML
added: REPLACEME
added: v11.13.0
-->
* `emitter` {EventEmitter}
* `name` {string}
@@ -186,7 +186,7 @@ of columns and rows in the corresponding [TTY](tty.html).

### writeStream.hasColors([count][, env])
<!-- YAML
added: REPLACEME
added: v11.13.0
-->

* `count` {integer} The number of colors that are requested (minimum 2).
@@ -89,7 +89,7 @@ The value returned is an array of objects containing the following properties:

## v8.getHeapSnapshot()
<!-- YAML
added: REPLACEME
added: v11.13.0
-->

* Returns: {stream.Readable} A Readable Stream containing the V8 heap snapshot
@@ -179,7 +179,7 @@ setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3);

## v8.writeHeapSnapshot([filename])
<!-- YAML
added: REPLACEME
added: v11.13.0
-->

* `filename` {string} The file path where the V8 heap snapshot is to be
@@ -72,7 +72,7 @@ if (isMainThread) {

## worker.moveMessagePortToContext(port, contextifiedSandbox)
<!-- YAML
added: REPLACEME
added: v11.13.0
-->

* `port` {MessagePort} The message port which will be transferred.

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 473b162

Please sign in to comment.
You can’t perform that action at this time.