From 06f6d662f679ee04679d97ecd5087e6f17268141 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 10 Oct 2019 14:31:33 +0200 Subject: 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 --- doc/api/cli.md | 4 +- doc/api/deprecations.md | 4 +- doc/api/errors.md | 2 +- doc/api/fs.md | 24 ++++++------ doc/api/http2.md | 4 +- doc/api/modules.md | 2 +- doc/api/tls.md | 2 +- doc/changelogs/CHANGELOG_V12.md | 87 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 108 insertions(+), 21 deletions(-) (limited to 'doc') 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` > Stability: 1 - Experimental @@ -423,7 +423,7 @@ Silence all process warnings (including deprecations). ### `--force-context-aware` 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 @@ -2523,7 +2523,7 @@ Prefer [`response.socket`][] over [`response.connection`][] and ### DEP0134: process._tickCallback 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 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 A class representing a directory stream. @@ -307,7 +307,7 @@ print('./').catch(console.error); ### dir.path * {string} @@ -317,7 +317,7 @@ The read-only path of this directory as was provided to [`fs.opendir()`][], ### dir.close() * Returns: {Promise} @@ -330,7 +330,7 @@ closed. ### dir.close(callback) * `callback` {Function} @@ -343,7 +343,7 @@ The `callback` will be called after the resource handle has been closed. ### dir.closeSync() Synchronously close the directory's underlying resource handle. @@ -351,7 +351,7 @@ Subsequent reads will result in errors. ### dir.read() * Returns: {Promise} containing {fs.Dirent|null} @@ -367,7 +367,7 @@ provided by the operating system's underlying directory mechanisms._ ### dir.read(callback) * `callback` {Function} @@ -385,7 +385,7 @@ provided by the operating system's underlying directory mechanisms._ ### dir.readSync() * Returns: {fs.Dirent|null} @@ -400,7 +400,7 @@ provided by the operating system's underlying directory mechanisms._ ### dir\[Symbol.asyncIterator\]() * Returns: {AsyncIterator} of {fs.Dirent} @@ -2641,7 +2641,7 @@ this API: [`fs.open()`][]. ## fs.opendir(path\[, options\], callback) * `path` {string|Buffer|URL} @@ -2661,7 +2661,7 @@ directory and subsequent read operations. ## fs.opendirSync(path\[, options\]) * `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\]) * `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) => { 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.