Skip to content

Commit

Permalink
2020-03-04 Version 13.10.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* async_hooks
  * introduce async-context API (vdeturckheim) #26540
* stream
  * support passing generator functions into pipeline() (Robert Nagy) #31223
* tls
  * expose SSL\_export\_keying\_material (simon) #31814
* vm
  * implement vm.measureMemory() for per-context memory measurement (Joyee Cheung) #31824

PR-URL: #32027
  • Loading branch information
codebytere committed Mar 4, 2020
1 parent 37287d3 commit 7546686
Showing 7 changed files with 122 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -29,7 +29,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.9.0">13.9.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.10.0">13.10.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.9.0">13.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.8.0">13.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.7.0">13.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.6.0">13.6.0</a><br/>
16 changes: 8 additions & 8 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
@@ -861,7 +861,7 @@ for (let i = 0; i < 10; i++) {

## Class: `AsyncLocalStorage`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

This class is used to create asynchronous state within callbacks and promise
@@ -911,15 +911,15 @@ from each other. It is safe to instantiate this class multiple times.

### `new AsyncLocalStorage()`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

Creates a new instance of `AsyncLocalStorage`. Store is only provided within a
`run` or a `runSyncAndReturn` method call.

### `asyncLocalStorage.disable()`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

This method disables the instance of `AsyncLocalStorage`. All subsequent calls
@@ -940,7 +940,7 @@ in the current process.

### `asyncLocalStorage.getStore()`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* Returns: {any}
@@ -952,7 +952,7 @@ return `undefined`.

### `asyncLocalStorage.run(store, callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* `store` {any}
@@ -987,7 +987,7 @@ asyncLocalStorage.getStore(); // Returns undefined

### `asyncLocalStorage.exit(callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* `callback` {Function}
@@ -1019,7 +1019,7 @@ asyncLocalStorage.run('store value', () => {

### `asyncLocalStorage.runSyncAndReturn(store, callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* `store` {any}
@@ -1054,7 +1054,7 @@ try {

### `asyncLocalStorage.exitSyncAndReturn(callback[, ...args])`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* `callback` {Function}
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
@@ -1864,7 +1864,7 @@ The context must be a `SecureContext`.
<a id="ERR_TLS_INVALID_STATE"></a>
### `ERR_TLS_INVALID_STATE`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

The TLS socket must be connected and securily established. Ensure the 'secure'
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
@@ -1572,7 +1572,7 @@ const cleanup = finished(rs, (err) => {
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v13.10.0
pr-url: https://github.com/nodejs/node/pull/31223
description: Add support for async generators.
-->
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
@@ -1096,7 +1096,7 @@ for more information.

### `tlsSocket.exportKeyingMaterial(length, label[, context])`
<!-- YAML
added: REPLACEME
added: v13.10.0
-->

* `length` {number} number of bytes to retrieve from keying material
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
@@ -298,7 +298,7 @@ console.log(globalVar);
## `vm.measureMemory([options])`

<!-- YAML
added: REPLACEME
added: v13.10.0
-->

> Stability: 1 - Experimental
108 changes: 108 additions & 0 deletions doc/changelogs/CHANGELOG_V13.md

Large diffs are not rendered by default.

0 comments on commit 7546686

Please sign in to comment.