summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-10-10 14:31:33 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-10-11 21:25:36 +0200
commit06f6d662f679ee04679d97ecd5087e6f17268141 (patch)
tree4c70b15b21a1fd92198216312f6e43b337ef5bbc /doc/api
parent5909532aace7412c5988bbfe2c777333aea2fd94 (diff)
downloadandroid-node-v8-06f6d662f679ee04679d97ecd5087e6f17268141.tar.gz
android-node-v8-06f6d662f679ee04679d97ecd5087e6f17268141.tar.bz2
android-node-v8-06f6d662f679ee04679d97ecd5087e6f17268141.zip
2019-10-11, Version 12.12.0 (Current)
Notable changes: * build: * Add `--force-context-aware` flag to prevent usage of native node addons that aren't context aware https://github.com/nodejs/node/pull/29631 * deprecations: * Add documentation-only deprecation for `process._tickCallback()` https://github.com/nodejs/node/pull/29781 * esm: * Using JSON modules is experimental again https://github.com/nodejs/node/pull/29754 * fs: * Introduce `opendir()` and `fs.Dir` to iterate through directories https://github.com/nodejs/node/pull/29349 * process: * Add source-map support to stack traces by using `--source-map-support` https://github.com/nodejs/node/pull/29564 * tls: * Honor `pauseOnConnect` option https://github.com/nodejs/node/pull/29635 * Add option for private keys for OpenSSL engines https://github.com/nodejs/node/pull/28973 PR-URL: https://github.com/nodejs/node/pull/29919
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/cli.md4
-rw-r--r--doc/api/deprecations.md4
-rw-r--r--doc/api/errors.md2
-rw-r--r--doc/api/fs.md24
-rw-r--r--doc/api/http2.md4
-rw-r--r--doc/api/modules.md2
-rw-r--r--doc/api/tls.md2
7 files changed, 21 insertions, 21 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index ce9845e648..d6846dfee1 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -137,7 +137,7 @@ Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
### `--enable-source-maps`
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
> Stability: 1 - Experimental
@@ -423,7 +423,7 @@ Silence all process warnings (including deprecations).
### `--force-context-aware`
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
Disable loading native addons that are not [context-aware][].
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 2509643728..aaec4a3c99 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -2509,7 +2509,7 @@ Passing a callback to [`worker.terminate()`][] is deprecated. Use the returned
### DEP0133: http connection
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v12.12.0
pr-url: https://github.com/nodejs/node/pull/29015
description: Documentation-only deprecation.
-->
@@ -2523,7 +2523,7 @@ Prefer [`response.socket`][] over [`response.connection`][] and
### DEP0134: process._tickCallback
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v12.12.0
pr-url: https://github.com/nodejs/node/pull/29781
description: Documentation-only deprecation.
-->
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 97ca365125..b081f24203 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -2079,7 +2079,7 @@ state, usually after `.close()` has been called.
### ERR_CRYPTO_HASH_DIGEST_NO_UTF16
<!-- YAML
added: v9.0.0
-removed: REPLACEME
+removed: v12.12.0
-->
The UTF-16 encoding was used with [`hash.digest()`][]. While the
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 3d122b0e06..9de4e95c48 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -286,7 +286,7 @@ performance implications for some applications. See the
## Class fs.Dir
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
A class representing a directory stream.
@@ -307,7 +307,7 @@ print('./').catch(console.error);
### dir.path
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* {string}
@@ -317,7 +317,7 @@ The read-only path of this directory as was provided to [`fs.opendir()`][],
### dir.close()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* Returns: {Promise}
@@ -330,7 +330,7 @@ closed.
### dir.close(callback)
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* `callback` {Function}
@@ -343,7 +343,7 @@ The `callback` will be called after the resource handle has been closed.
### dir.closeSync()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
Synchronously close the directory's underlying resource handle.
@@ -351,7 +351,7 @@ Subsequent reads will result in errors.
### dir.read()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* Returns: {Promise} containing {fs.Dirent|null}
@@ -367,7 +367,7 @@ provided by the operating system's underlying directory mechanisms._
### dir.read(callback)
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* `callback` {Function}
@@ -385,7 +385,7 @@ provided by the operating system's underlying directory mechanisms._
### dir.readSync()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* Returns: {fs.Dirent|null}
@@ -400,7 +400,7 @@ provided by the operating system's underlying directory mechanisms._
### dir\[Symbol.asyncIterator\]()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* Returns: {AsyncIterator} of {fs.Dirent}
@@ -2641,7 +2641,7 @@ this API: [`fs.open()`][].
## fs.opendir(path\[, options\], callback)
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* `path` {string|Buffer|URL}
@@ -2661,7 +2661,7 @@ directory and subsequent read operations.
## fs.opendirSync(path\[, options\])
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* `path` {string|Buffer|URL}
@@ -4818,7 +4818,7 @@ a colon, Node.js will open a file system stream, as described by
## fsPromises.opendir(path\[, options\])
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
* `path` {string|Buffer|URL}
diff --git a/doc/api/http2.md b/doc/api/http2.md
index c6938904c1..9b30a694ce 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1439,7 +1439,7 @@ server.on('stream', (stream) => {
<!-- YAML
added: v8.4.0
changes:
- - version: REPLACEME
+ - version: v12.12.0
pr-url: https://github.com/nodejs/node/pull/29876
description: The `fd` option may now be a `FileHandle`.
- version: v10.0.0
@@ -2359,7 +2359,7 @@ server.on('stream', (stream, headers) => {
<!-- YAML
added: v8.4.0
changes:
- - version: REPLACEME
+ - version: v12.12.0
pr-url: https://github.com/nodejs/node/pull/29833
description: The `maxConcurrentStreams` setting is stricter.
- version: v8.9.3
diff --git a/doc/api/modules.md b/doc/api/modules.md
index b862989ddf..cb14c8face 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -986,7 +986,7 @@ requireUtil('./some-tool');
### module.syncBuiltinESMExports()
<!-- YAML
-added: REPLACEME
+added: v12.12.0
-->
The `module.syncBuiltinESMExports()` method updates all the live bindings for
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 5fe71e38c5..c2e169af32 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -1358,7 +1358,7 @@ argument.
<!-- YAML
added: v0.11.13
changes:
- - version: REPLACEME
+ - version: v12.12.0
pr-url: https://github.com/nodejs/node/pull/28973
description: Added `privateKeyIdentifier` and `privateKeyEngine` options
to get private key from an OpenSSL engine.