From 06f6d662f679ee04679d97ecd5087e6f17268141 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 10 Oct 2019 14:31:33 +0200 Subject: [PATCH] 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 --- CHANGELOG.md | 3 +- 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 +++++++++++++++++++++++++++++++++ 9 files changed, 110 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2f66bf3bf215b..559e44c1d1079f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,8 @@ release. -12.11.1
+12.12.0
+12.11.1
12.11.0
12.10.0
12.9.1
diff --git a/doc/api/cli.md b/doc/api/cli.md index ce9845e648f022..d6846dfee10027 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 25096437288421..aaec4a3c998497 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 97ca365125bc2b..b081f242034f60 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 3d122b0e06f91e..9de4e95c48a175 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 c6938904c1303f..9b30a694ce5ca1 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 5fe71e38c5eb07..c2e169af3257f8 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1358,7 +1358,7 @@ argument.