diff options
author | Shelley Vohr <shelley.vohr@gmail.com> | 2020-03-01 02:28:30 +0300 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-03-04 20:53:11 +0300 |
commit | 75466869fb6e1dd09b36dc2b44ef8748ecc6e7de (patch) | |
tree | 69d8614c0aef3166a0bff2d493337f4a6407ed0d /doc/api | |
parent | 37287d3f5819daabade7b8ade81c4265bd596edf (diff) |
2020-03-04 Version 13.10.0 (Current)
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: https://github.com/nodejs/node/pull/32027
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/async_hooks.md | 16 | ||||
-rw-r--r-- | doc/api/errors.md | 2 | ||||
-rw-r--r-- | doc/api/stream.md | 2 | ||||
-rw-r--r-- | doc/api/tls.md | 2 | ||||
-rw-r--r-- | doc/api/vm.md | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 965c64218fd..59902917169 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -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,7 +911,7 @@ 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 @@ -919,7 +919,7 @@ Creates a new instance of `AsyncLocalStorage`. Store is only provided within a ### `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} diff --git a/doc/api/errors.md b/doc/api/errors.md index 11d0036386c..c244bfd7f00 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -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' diff --git a/doc/api/stream.md b/doc/api/stream.md index 7bc1874c803..69be69b5516 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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. --> diff --git a/doc/api/tls.md b/doc/api/tls.md index 3341e6e9ea5..55dbf3b8d42 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -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 diff --git a/doc/api/vm.md b/doc/api/vm.md index ed676414471..91d16be3986 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -298,7 +298,7 @@ console.log(globalVar); ## `vm.measureMemory([options])` <!-- YAML -added: REPLACEME +added: v13.10.0 --> > Stability: 1 - Experimental |