Skip to content

Commit

Permalink
2019-03-28, Version 11.13.0 (Current)
Browse files Browse the repository at this point in the history
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 committed Mar 28, 2019
1 parent c35acc0 commit 2c73868
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 8 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.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/>
Expand Down
4 changes: 2 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand Down Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ emitter.emit('log');

## events.once(emitter, name)
<!-- YAML
added: REPLACEME
added: v11.13.0
-->
* `emitter` {EventEmitter}
* `name` {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
190 changes: 190 additions & 0 deletions doc/changelogs/CHANGELOG_V11.md

Large diffs are not rendered by default.

0 comments on commit 2c73868

Please sign in to comment.