Skip to content

Commit

Permalink
2020-03-03 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 3, 2020
1 parent 5d79164 commit e39b006
Show file tree
Hide file tree
Showing 8 changed files with 125 additions and 16 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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/>
Expand Down
16 changes: 8 additions & 8 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -940,7 +940,7 @@ in the current process.

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

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

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

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

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

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

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

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

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

* `callback` {Function}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,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'
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,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.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ console.log(globalVar);
## `vm.measureMemory([options])`

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

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

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 13
#define NODE_MINOR_VERSION 9
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 10
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit e39b006

Please sign in to comment.