2019-03-28, Version 11.13.0 (Current)

Notable changes:

* crypto
  * Allow deriving public from private keys (Tobias Nießen)
    [#26278](https://github.com/nodejs/node/pull/26278).
* events
  * Added a `once` function to use `EventEmitter` with promises
    (Matteo Collina) [#26078](https://github.com/nodejs/node/pull/26078).
* tty
  * Added a `hasColors` method to `WriteStream` (Ruben Bridgewater)
    [#26247](https://github.com/nodejs/node/pull/26247).
  * Added NO_COLOR and FORCE_COLOR support (Ruben Bridgewater)
    [#26485](https://github.com/nodejs/node/pull/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](https://github.com/nodejs/node/pull/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](https://github.com/nodejs/node/pull/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](https://github.com/nodejs/node/pull/26529).
  * Added a `Stop` API to shut down Node.js while it is running
    (Gireesh Punathil) [#21283](https://github.com/nodejs/node/pull/21283).
* meta
  * [Gireesh Punathil](https://github.com/gireeshpunathil) is now a member of
    the Technical Steering Committee
    [#26657](https://github.com/nodejs/node/pull/26657).
  * Added [Yongsheng Zhang](https://github.com/ZYSzys) to collaborators
    [#26730](https://github.com/nodejs/node/pull/26730).

PR-URL: https://github.com/nodejs/node/pull/26949
This commit is contained in:
Michaël Zasso committed 2019-03-28 08:03:41 +01:00
1 parent a640834039
commit 29867f35d8
8 files changed
+202 -11

No files matched your search

+2 -2
View File
@@ -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.
-->
@@ -1817,7 +1817,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`.
+1 -1
View File
@@ -655,7 +655,7 @@ emitter.emit('log');
## events.once(emitter, name)
<!-- YAML
added: REPLACEME
added: v11.13.0
-->
* `emitter` {EventEmitter}
* `name` {string}
+1 -1
View File
@@ -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).
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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.