From 4221dce8a5b47087a331762cb0dfefb7b708ebf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 14 Mar 2023 08:50:18 +0100 Subject: [PATCH] 2023-03-14, Version 19.8.0 (Current) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable changes: buffer: * (SEMVER-MINOR) add Buffer.copyBytesFrom(...) (James M Snell) https://github.com/nodejs/node/pull/46500 doc: * add marco-ippolito to collaborators (Marco Ippolito) https://github.com/nodejs/node/pull/46816 events: * (SEMVER-MINOR) add listener argument to listenerCount (Paolo Insogna) https://github.com/nodejs/node/pull/46523 lib: * (SEMVER-MINOR) add AsyncLocalStorage.bind() and .snapshot() (flakey5) https://github.com/nodejs/node/pull/46387 src: * (SEMVER-MINOR) add `fs.openAsBlob` to support File-backed Blobs (James M Snell) https://github.com/nodejs/node/pull/45258 tls: * (SEMVER-MINOR) support automatic DHE (Tobias Nießen) https://github.com/nodejs/node/pull/46978 url: * (SEMVER-MINOR) implement URLSearchParams size getter (James M Snell) https://github.com/nodejs/node/pull/46308 wasi: * (SEMVER-MINOR) add support for version when creating WASI (Michael Dawson) https://github.com/nodejs/node/pull/46469 worker: * (SEMVER-MINOR) add support for worker name in inspector and trace_events (Debadree Chatterjee) https://github.com/nodejs/node/pull/46832 PR-URL: https://github.com/nodejs/node/pull/47087 --- CHANGELOG.md | 3 +- doc/api/async_context.md | 4 +- doc/api/buffer.md | 2 +- doc/api/events.md | 2 +- doc/api/fs.md | 2 +- doc/api/net.md | 4 +- doc/api/stream.md | 2 +- doc/api/test.md | 6 +- doc/api/tls.md | 4 +- doc/api/url.md | 2 +- doc/api/wasi.md | 4 +- doc/api/worker_threads.md | 2 +- doc/changelogs/CHANGELOG_V19.md | 237 +++++++++++++++++++++++++++++++- src/node_version.h | 6 +- 14 files changed, 258 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07561fa6ca06a5..6e811980f48e1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,8 @@ release. -19.7.0
+19.8.0
+19.7.0
19.6.1
19.6.0
19.5.0
diff --git a/doc/api/async_context.md b/doc/api/async_context.md index 11f54a01e8a3f6..bc5fc9004770b5 100644 --- a/doc/api/async_context.md +++ b/doc/api/async_context.md @@ -139,7 +139,7 @@ Creates a new instance of `AsyncLocalStorage`. Store is only provided within a ### Static method: `AsyncLocalStorage.bind(fn)` > Stability: 1 - Experimental @@ -153,7 +153,7 @@ Binds the given function to the current execution context. ### Static method: `AsyncLocalStorage.snapshot()` > Stability: 1 - Experimental diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 48294d868bdd0f..97463a064ff697 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -1061,7 +1061,7 @@ console.log(bufA.length); ### Static method: `Buffer.copyBytesFrom(view[, offset[, length]])` * `view` {TypedArray} The {TypedArray} to copy. diff --git a/doc/api/events.md b/doc/api/events.md index f1ee1de01121a1..6f009d6bc7d4cd 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -651,7 +651,7 @@ set by [`emitter.setMaxListeners(n)`][] or defaults to diff --git a/doc/api/fs.md b/doc/api/fs.md index a83a50b5d184ae..4070cc4955309a 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3331,7 +3331,7 @@ Functions based on `fs.open()` exhibit this behavior as well: ### `fs.openAsBlob(path[, options])` > Stability: 1 - Experimental diff --git a/doc/api/net.md b/doc/api/net.md index 3ea7dff6243196..32eb506ab0bd02 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -1643,7 +1643,7 @@ Sets the default value of the `autoSelectFamily` option of [`socket.connect(opt ## `net.getDefaultAutoSelectFamilyAttemptTimeout()` Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][]. @@ -1653,7 +1653,7 @@ Gets the current default value of the `autoSelectFamilyAttemptTimeout` option o ## `net.setDefaultAutoSelectFamilyAttemptTimeout(value)` Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][]. diff --git a/doc/api/stream.md b/doc/api/stream.md index ab4e4ce30a6e9e..e832ff4cf272d6 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2797,7 +2797,7 @@ const server = http.createServer((req, res) => { diff --git a/doc/api/test.md b/doc/api/test.md index ff51ff23bf18a5..749b6ff08a5396 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -840,7 +840,7 @@ Shorthand for marking a suite as `TODO`, same as ## `describe.only([name][, options][, fn])` Shorthand for marking a suite as `only`, same as @@ -853,7 +853,7 @@ added: - v18.6.0 - v16.17.0 changes: - - version: REPLACEME + - version: v19.8.0 pr-url: https://github.com/nodejs/node/pull/46889 description: Calling `it()` is now equivalent to calling `test()`. --> @@ -875,7 +875,7 @@ same as [`it([name], { todo: true }[, fn])`][it options]. ## `it.only([name][, options][, fn])` Shorthand for marking a test as `only`, diff --git a/doc/api/tls.md b/doc/api/tls.md index 6212054526db18..255f68cf3b4f9d 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1790,7 +1790,7 @@ argument. * {string} The default value of the `ciphers` option of diff --git a/doc/api/url.md b/doc/api/url.md index 7d5a19b8784dc0..593c6ce6a22bc9 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -943,7 +943,7 @@ console.log(params.toString()); #### `urlSearchParams.size` The total number of parameter entries. diff --git a/doc/api/wasi.md b/doc/api/wasi.md index a57b85bb0d3c6d..ac395b70894c99 100644 --- a/doc/api/wasi.md +++ b/doc/api/wasi.md @@ -121,7 +121,7 @@ added: - v13.3.0 - v12.16.0 changes: - - version: REPLACEME + - version: v19.8.0 pr-url: https://github.com/nodejs/node/pull/46469 description: version field added to options. --> @@ -152,7 +152,7 @@ changes: ### `wasi.getImportObject()` Return an import object that can be passed to `WebAssembly.instantiate()` if diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 674424f6f0bf90..ea11b8f45956a4 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -906,7 +906,7 @@ if (isMainThread) {