diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-03-28 00:43:03 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-03-28 22:23:29 +0300 |
commit | 2c73868b0471fbd4038f500d076df056cbf697fe (patch) | |
tree | e850226bcd6924af343022d603a4be438c1d6016 /doc/api/v8.md | |
parent | c35acc0260b48dc4c656014ef665d811bdd02aa6 (diff) |
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
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r-- | doc/api/v8.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md index 56e89a6cac0..b072109a7d7 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -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 |