summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-03-15 20:26:14 -0700
committerJames M Snell <jasnell@gmail.com>2017-05-30 10:58:31 -0700
commit43e4efdf210adb2cc3ba26518fd4588f9e0152ff (patch)
treef1ea54d1aa1b75a0dcb7da73e51e131726fd5ccf /doc/api
parenteffeff1843db3e7e47cf0242cd25273e083b2180 (diff)
downloadandroid-node-v8-43e4efdf210adb2cc3ba26518fd4588f9e0152ff.tar.gz
android-node-v8-43e4efdf210adb2cc3ba26518fd4588f9e0152ff.tar.bz2
android-node-v8-43e4efdf210adb2cc3ba26518fd4588f9e0152ff.zip
2017-05-30, Version 8.0.0 (Current)
* **Async Hooks** * The `async_hooks` module has landed in core [[`4a7233c178`](https://github.com/nodejs/node/commit/4a7233c178)] [#12892](https://github.com/nodejs/node/pull/12892). * **Buffer** * Using the `--pending-deprecation` flag will cause Node.js to emit a deprecation warning when using `new Buffer(num)` or `Buffer(num)`. [[`d2d32ea5a2`](https://github.com/nodejs/node/commit/d2d32ea5a2)] [#11968](https://github.com/nodejs/node/pull/11968). * `new Buffer(num)` and `Buffer(num)` will zero-fill new `Buffer` instances [[`7eb1b4658e`](https://github.com/nodejs/node/commit/7eb1b4658e)] [#12141](https://github.com/nodejs/node/pull/12141). * Many `Buffer` methods now accept `Uint8Array` as input [[`beca3244e2`](https://github.com/nodejs/node/commit/beca3244e2)] [#10236](https://github.com/nodejs/node/pull/10236). * **Child Process** * Argument and kill signal validations have been improved [[`97a77288ce`](https://github.com/nodejs/node/commit/97a77288ce)] [#12348](https://github.com/nodejs/node/pull/12348), [[`d75fdd96aa`](https://github.com/nodejs/node/commit/d75fdd96aa)] [#10423](https://github.com/nodejs/node/pull/10423). * Child Process methods accept `Uint8Array` as input [[`627ecee9ed`](https://github.com/nodejs/node/commit/627ecee9ed)] [#10653](https://github.com/nodejs/node/pull/10653). * **Console** * Error events emitted when using `console` methods are now supressed. [[`f18e08d820`](https://github.com/nodejs/node/commit/f18e08d820)] [#9744](https://github.com/nodejs/node/pull/9744). * **Dependencies** * The npm client has been updated to 5.0.0 [[`3c3b36af0f`](https://github.com/nodejs/node/commit/3c3b36af0f)] [#12936](https://github.com/nodejs/node/pull/12936). * V8 has been updated to 5.8 with forward ABI stability to 6.0 [[`60d1aac8d2`](https://github.com/nodejs/node/commit/60d1aac8d2)] [#12784](https://github.com/nodejs/node/pull/12784). * **Domains** * Native `Promise` instances are now `Domain` aware [[`84dabe8373`](https://github.com/nodejs/node/commit/84dabe8373)] [#12489](https://github.com/nodejs/node/pull/12489). * **Errors** * We have started assigning static error codes to errors generated by Node.js. This has been done through multiple commits and is still a work in progress. * **File System** * The utility class `fs.SyncWriteStream` has been deprecated [[`7a55e34ef4`](https://github.com/nodejs/node/commit/7a55e34ef4)] [#10467](https://github.com/nodejs/node/pull/10467). * The deprecated `fs.read()` string interface has been removed [[`3c2a9361ff`](https://github.com/nodejs/node/commit/3c2a9361ff)] [#9683](https://github.com/nodejs/node/pull/9683). * **HTTP** * Improved support for userland implemented Agents [[`90403dd1d0`](https://github.com/nodejs/node/commit/90403dd1d0)] [#11567](https://github.com/nodejs/node/pull/11567). * Outgoing Cookie headers are concatenated into a single string [[`d3480776c7`](https://github.com/nodejs/node/commit/d3480776c7)] [#11259](https://github.com/nodejs/node/pull/11259). * The `httpResponse.writeHeader()` method has been deprecated [[`fb71ba4921`](https://github.com/nodejs/node/commit/fb71ba4921)] [#11355](https://github.com/nodejs/node/pull/11355). * New methods for accessing HTTP headers have been added to `OutgoingMessage` [[`3e6f1032a4`](https://github.com/nodejs/node/commit/3e6f1032a4)] [#10805](https://github.com/nodejs/node/pull/10805). * **Lib** * All deprecation messages have been assigned static identifiers [[`5de3cf099c`](https://github.com/nodejs/node/commit/5de3cf099c)] [#10116](https://github.com/nodejs/node/pull/10116). * The legacy `linkedlist` module has been removed [[`84a23391f6`](https://github.com/nodejs/node/commit/84a23391f6)] [#12113](https://github.com/nodejs/node/pull/12113). * **N-API** * Experimental support for the new N-API API has been added [[`56e881d0b0`](https://github.com/nodejs/node/commit/56e881d0b0)] [#11975](https://github.com/nodejs/node/pull/11975). * **Process** * Process warning output can be redirected to a file using the `--redirect-warnings` command-line argument [[`03e89b3ff2`](https://github.com/nodejs/node/commit/03e89b3ff2)] [#10116](https://github.com/nodejs/node/pull/10116). * Process warnings may now include additional detail [[`dd20e68b0f`](https://github.com/nodejs/node/commit/dd20e68b0f)] [#12725](https://github.com/nodejs/node/pull/12725). * **REPL** * REPL magic mode has been deprecated [[`3f27f02da0`](https://github.com/nodejs/node/commit/3f27f02da0)] [#11599](https://github.com/nodejs/node/pull/11599). * **Src** * `NODE_MODULE_VERSION` has been updated to 57 (https://github.com/nodejs/node/commit/ec7cbaf266)] [#12995](https://github.com/nodejs/node/pull/12995). * Add `--pending-deprecation` command-line argument and `NODE_PENDING_DEPRECATION` environment variable [[`a16b570f8c`](https://github.com/nodejs/node/commit/a16b570f8c)] [#11968](https://github.com/nodejs/node/pull/11968). * The `--debug` command-line argument has been deprecated. Note that using `--debug` will enable the *new* Inspector-based debug protocol as the legacy Debugger protocol previously used by Node.js has been removed. [[`010f864426`](https://github.com/nodejs/node/commit/010f864426)] [#12949](https://github.com/nodejs/node/pull/12949). * Throw when the `-c` and `-e` command-line arguments are used at the same time [[`a5f91ab230`](https://github.com/nodejs/node/commit/a5f91ab230)] [#11689](https://github.com/nodejs/node/pull/11689). * Throw when the `--use-bundled-ca` and `--use-openssl-ca` command-line arguments are used at the same time. [[`8a7db9d4b5`](https://github.com/nodejs/node/commit/8a7db9d4b5)] [#12087](https://github.com/nodejs/node/pull/12087). * **Stream** * `Stream` now supports `destroy()` and `_destroy()` APIs [[`b6e1d22fa6`](https://github.com/nodejs/node/commit/b6e1d22fa6)] [#12925](https://github.com/nodejs/node/pull/12925). * `Stream` now supports the `_final()` API [[`07c7f198db`](https://github.com/nodejs/node/commit/07c7f198db)] [#12828](https://github.com/nodejs/node/pull/12828). * **TLS** * The `rejectUnauthorized` option now defaults to `true` [[`348cc80a3c`](https://github.com/nodejs/node/commit/348cc80a3c)] [#5923](https://github.com/nodejs/node/pull/5923). * The `tls.createSecurePair()` API now emits a runtime deprecation [[`a2ae08999b`](https://github.com/nodejs/node/commit/a2ae08999b)] [#11349](https://github.com/nodejs/node/pull/11349). * A runtime deprecation will now be emitted when `dhparam` is less than 2048 bits [[`d523eb9c40`](https://github.com/nodejs/node/commit/d523eb9c40)] [#11447](https://github.com/nodejs/node/pull/11447). * **URL** * The WHATWG URL implementation is now a fully-supported Node.js API [[`d080ead0f9`](https://github.com/nodejs/node/commit/d080ead0f9)] [#12710](https://github.com/nodejs/node/pull/12710). * **Util** * `Symbol` keys are now displayed by default when using `util.inspect()` [[`5bfd13b81e`](https://github.com/nodejs/node/commit/5bfd13b81e)] [#9726](https://github.com/nodejs/node/pull/9726). * `toJSON` errors will be thrown when formatting `%j` [[`455e6f1dd8`](https://github.com/nodejs/node/commit/455e6f1dd8)] [#11708](https://github.com/nodejs/node/pull/11708). * Convert `inspect.styles` and `inspect.colors` to prototype-less objects [[`aab0d202f8`](https://github.com/nodejs/node/commit/aab0d202f8)] [#11624](https://github.com/nodejs/node/pull/11624). * The new `util.promisify()` API has been added [[`99da8e8e02`](https://github.com/nodejs/node/commit/99da8e8e02)] [#12442](https://github.com/nodejs/node/pull/12442). * **Zlib** * Support `Uint8Array` in Zlib convenience methods [[`91383e47fd`](https://github.com/nodejs/node/commit/91383e47fd)] [#12001](https://github.com/nodejs/node/pull/12001). * Zlib errors now use `RangeError` and `TypeError` consistently [[`b514bd231e`](https://github.com/nodejs/node/commit/b514bd231e)] [#11391](https://github.com/nodejs/node/pull/11391).
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/assert.md4
-rw-r--r--doc/api/buffer.md16
-rw-r--r--doc/api/child_process.md8
-rw-r--r--doc/api/cli.md14
-rw-r--r--doc/api/console.md2
-rw-r--r--doc/api/crypto.md12
-rw-r--r--doc/api/dgram.md4
-rw-r--r--doc/api/domain.md4
-rw-r--r--doc/api/fs.md4
-rw-r--r--doc/api/http.md2
-rw-r--r--doc/api/https.md2
-rw-r--r--doc/api/inspector.md12
-rw-r--r--doc/api/n-api.md2
-rw-r--r--doc/api/process.md2
-rw-r--r--doc/api/querystring.md2
-rw-r--r--doc/api/stream.md18
-rw-r--r--doc/api/string_decoder.md2
-rw-r--r--doc/api/tls.md6
-rw-r--r--doc/api/util.md4
-rw-r--r--doc/api/v8.md14
-rw-r--r--doc/api/zlib.md86
21 files changed, 110 insertions, 110 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index 3ad9d33646..3eb95f0ba2 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -18,7 +18,7 @@ An alias of [`assert.ok()`][].
<!-- YAML
added: v0.1.21
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12142
description: Set and Map content is also compared
- version: v6.4.0, v4.7.1
@@ -102,7 +102,7 @@ parameter is undefined, a default error message is assigned.
<!-- YAML
added: v1.2.0
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12142
description: Set and Map content is also compared
- version: v6.4.0, v4.7.1
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index 1a61d79e35..0d98a2f1c1 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -707,7 +707,7 @@ actual byte length is returned.
<!-- YAML
added: v0.11.13
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The arguments can now be `Uint8Array`s.
-->
@@ -736,7 +736,7 @@ console.log(arr.sort(Buffer.compare));
<!-- YAML
added: v0.7.11
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The elements of `list` can now be `Uint8Array`s.
-->
@@ -984,7 +984,7 @@ console.log(buffer.buffer === arrayBuffer);
<!-- YAML
added: v0.11.13
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The `target` parameter can now be a `Uint8Array`.
- version: v5.11.0
@@ -1146,7 +1146,7 @@ for (const pair of buf.entries()) {
<!-- YAML
added: v0.11.13
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The arguments can now be `Uint8Array`s.
-->
@@ -1257,7 +1257,7 @@ console.log(buf.includes('this', 4));
<!-- YAML
added: v1.5.0
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The `value` can now be a `Uint8Array`.
- version: v5.7.0, v4.4.0
@@ -1374,7 +1374,7 @@ for (const key of buf.keys()) {
<!-- YAML
added: v6.0.0
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The `value` can now be a `Uint8Array`.
-->
@@ -1503,7 +1503,7 @@ console.log(buf.length);
### buf.parent
<!-- YAML
-deprecated: REPLACEME
+deprecated: v8.0.0
-->
> Stability: 0 - Deprecated: Use [`buf.buffer`] instead.
@@ -2517,7 +2517,7 @@ Note that this is a property on the `buffer` module returned by
<!-- YAML
added: v7.1.0
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10236
description: The `source` parameter can now be a `Uint8Array`.
-->
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 9fcd06e468..4800d5bc93 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -297,7 +297,7 @@ getVersion();
<!-- YAML
added: v0.5.0
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10866
description: The `stdio` option can now be a string.
- version: v6.4.0
@@ -638,7 +638,7 @@ configuration at startup.
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10653
description: The `input` option can now be a `Uint8Array`.
- version: v6.2.1, v4.5.0
@@ -687,7 +687,7 @@ throw. The [`Error`][] object will contain the entire result from
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10653
description: The `input` option can now be a `Uint8Array`.
-->
@@ -739,7 +739,7 @@ execution.
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10653
description: The `input` option can now be a `Uint8Array`.
- version: v6.2.1, v4.5.0
diff --git a/doc/api/cli.md b/doc/api/cli.md
index c59d80c4ef..58494357f7 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -151,7 +151,7 @@ Throw errors for deprecations.
### `--pending-deprecation`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Emit pending deprecation warnings.
@@ -172,7 +172,7 @@ Silence all process warnings (including deprecations).
### `--napi-modules`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Enable loading native modules compiled with the ABI-stable Node.js API (N-API)
@@ -187,7 +187,7 @@ Print stack traces for process warnings (including deprecations).
### `--redirect-warnings=file`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Write process warnings to the given file instead of printing to stderr. The
@@ -360,7 +360,7 @@ Specify ICU data load path. (overrides `NODE_ICU_DATA`)
### `-`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Alias for stdin, analogous to the use of - in other command line utilities,
@@ -422,7 +422,7 @@ When set to `1`, process warnings are silenced.
### `NODE_OPTIONS=options...`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
`options...` are interpreted as if they had been specified on the command line
@@ -461,7 +461,7 @@ V8 options that are allowed are:
### `NODE_PENDING_DEPRECATION=1`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
When set to `1`, emit pending deprecation warnings.
@@ -543,7 +543,7 @@ OpenSSL, it may cause them to trust the same CAs as node.
### `NODE_REDIRECT_WARNINGS=file`
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
When set, process warnings will be emitted to the given file instead of
diff --git a/doc/api/console.md b/doc/api/console.md
index f0fce96549..606e13e601 100644
--- a/doc/api/console.md
+++ b/doc/api/console.md
@@ -55,7 +55,7 @@ myConsole.warn(`Danger ${name}! Danger!`);
## Class: Console
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/9744
description: Errors that occur while writing to the underlying streams
will now be ignored.
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index c08b676e77..6ee62f0f2d 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -971,7 +971,7 @@ console.log(sign.sign(privateKey).toString('hex'));
<!-- YAML
added: v0.1.92
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11705
description: Support for RSASSA-PSS and additional options was added.
-->
@@ -1095,7 +1095,7 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v0.1.92
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11705
description: Support for RSASSA-PSS and additional options was added.
-->
@@ -1277,10 +1277,10 @@ The `key` is the raw key used by the `algorithm` and `iv` is an
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `prime` argument can be any `TypedArray` or `DataView` now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11983
description: The `prime` argument can be a `Uint8Array` now.
- version: v6.0.0
@@ -1502,7 +1502,7 @@ console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
<!-- YAML
added: v0.5.5
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11305
description: The `digest` parameter is always required now.
- version: v6.0.0
diff --git a/doc/api/dgram.md b/doc/api/dgram.md
index 2e76e473a8..22fb2b5bbf 100644
--- a/doc/api/dgram.md
+++ b/doc/api/dgram.md
@@ -245,10 +245,10 @@ chained.
<!-- YAML
added: v0.1.99
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11985
description: The `msg` parameter can be an Uint8Array now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10473
description: The `address` parameter is always optional now.
- version: v6.0.0
diff --git a/doc/api/domain.md b/doc/api/domain.md
index 957a32af15..102ac8ec7c 100644
--- a/doc/api/domain.md
+++ b/doc/api/domain.md
@@ -1,7 +1,7 @@
# Domain
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12489
description: Handlers for `Promise`s are now invoked in the domain in which
the first promise of a chain was created.
@@ -453,7 +453,7 @@ than crashing the program.
## Domains and Promises
-As of Node REPLACEME, the handlers of Promises are run inside the domain in
+As of Node 8.0.0, the handlers of Promises are run inside the domain in
which the call to `.then` or `.catch` itself was made:
```js
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 30887364ff..9ee328e652 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -1840,7 +1840,7 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.
<!-- YAML
added: v0.1.31
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/13028
description: Pipe/Socket resolve support was added.
- version: v7.6.0
@@ -1882,7 +1882,7 @@ system dependent name for that object.
<!-- YAML
added: v0.1.31
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/13028
description: Pipe/Socket resolve support was added.
- version: v7.6.0
diff --git a/doc/api/http.md b/doc/api/http.md
index cd9bfaf2f6..cd66a2063b 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -844,7 +844,7 @@ value only affects new connections to the server, not any existing connections.
### server.keepAliveTimeout
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* {number} Timeout in milliseconds. Defaults to 5000 (5 seconds).
diff --git a/doc/api/https.md b/doc/api/https.md
index cf987f8847..0f42366a70 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -40,7 +40,7 @@ See [`http.Server#timeout`][].
### server.keepAliveTimeout
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
- {number} Defaults to 5000 (5 seconds).
diff --git a/doc/api/inspector.md b/doc/api/inspector.md
index 110bd9363a..f90b823b78 100644
--- a/doc/api/inspector.md
+++ b/doc/api/inspector.md
@@ -17,7 +17,7 @@ back-end and receiving message responses and notifications.
### Constructor: new inspector.Session()
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Create a new instance of the `inspector.Session` class. The inspector session
@@ -28,7 +28,7 @@ can be dispatched to the inspector backend.
### Event: 'inspectorNotification'
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* {Object} The notification message object
@@ -45,7 +45,7 @@ It is also possible to subscribe only to notifications with specific method:
### Event: &lt;inspector-protocol-method&gt;
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* {Object} The notification message object
@@ -64,7 +64,7 @@ session.on('Debugger.paused', ({params}) => console.log(params.hitBreakpoints));
### session.connect()
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Connects a session to the inspector back-end. An exception will be thrown
@@ -73,7 +73,7 @@ a front-end connected to the Inspector WebSocket port.
### session.post(method[, params][, callback])
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* method {string}
@@ -100,7 +100,7 @@ to the run-time events.
### session.disconnect()
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Immediately close the session. All pending message callbacks will be called
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index aafe0ad42b..e98233215a 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -2950,7 +2950,7 @@ callback invocation, even if it has been successfully cancelled.
### napi_get_version
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
```C
NAPI_EXTERN napi_status napi_get_version(napi_env env,
diff --git a/doc/api/process.md b/doc/api/process.md
index 44b6f6b8e1..35f6a28034 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -639,7 +639,7 @@ If the Node.js process was not spawned with an IPC channel,
## process.emitWarning(warning[, options])
<!-- YAML
-added: REPLACEME
+added: 8.0.0
-->
* `warning` {string|Error} The warning to emit.
diff --git a/doc/api/querystring.md b/doc/api/querystring.md
index 64d557eec7..3727af1ef0 100644
--- a/doc/api/querystring.md
+++ b/doc/api/querystring.md
@@ -31,7 +31,7 @@ necessary by assigning `querystring.escape` to an alternative function.
<!-- YAML
added: v0.1.25
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/10967
description: Multiple empty entries are now parsed correctly (e.g. `&=&=`).
- version: v6.0.0
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 6891ab0b5e..0f8420e3da 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -353,7 +353,7 @@ See also: [`writable.uncork()`][].
<!-- YAML
added: v0.9.4
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11608
description: The `chunk` argument can now be a `Uint8Array` instance.
-->
@@ -439,7 +439,7 @@ See also: [`writable.cork()`][].
<!-- YAML
added: v0.9.4
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11608
description: The `chunk` argument can now be a `Uint8Array` instance.
- version: v6.0.0
@@ -512,7 +512,7 @@ A Writable stream in object mode will always ignore the `encoding` argument.
##### writable.destroy([error])
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Destroy the stream, and emit the passed error. After this call, the
@@ -997,7 +997,7 @@ setTimeout(() => {
<!-- YAML
added: v0.9.11
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11608
description: The `chunk` argument can now be a `Uint8Array` instance.
-->
@@ -1099,7 +1099,7 @@ myReader.on('readable', () => {
##### readable.destroy([error])
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Destroy the stream, and emit `'error'`. After this call, the
@@ -1148,7 +1148,7 @@ Examples of Transform streams include:
##### transform.destroy([error])
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Destroy the stream, and emit `'error'`. After this call, the
@@ -1415,7 +1415,7 @@ user programs.
#### writable.\_destroy(err, callback)
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* `err` {Error} An error.
@@ -1424,7 +1424,7 @@ added: REPLACEME
#### writable.\_final(callback)
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* `callback` {Function} Call this function (optionally with an error
@@ -1585,7 +1585,7 @@ user programs.
#### readable.push(chunk[, encoding])
<!-- YAML
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11608
description: The `chunk` argument can now be a `Uint8Array` instance.
-->
diff --git a/doc/api/string_decoder.md b/doc/api/string_decoder.md
index a92f62ebcd..6b94b6bc3f 100644
--- a/doc/api/string_decoder.md
+++ b/doc/api/string_decoder.md
@@ -68,7 +68,7 @@ is performed before returning the remaining input.
<!-- YAML
added: v0.1.99
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/9618
description: Each invalid character is now replaced by a single replacement
character instead of one for each individual byte.
diff --git a/doc/api/tls.md b/doc/api/tls.md
index cfec1b64e2..6fabd83d9c 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -750,10 +750,10 @@ decrease overall server throughput.
<!-- YAML
added: v0.11.3
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12839
description: The `lookup` option is supported now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11984
description: The `ALPNProtocols` and `NPNProtocols` options can
be `Uint8Array`s now.
@@ -1013,7 +1013,7 @@ publicly trusted list of CAs as given in
<!-- YAML
added: v0.3.2
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11984
description: The `ALPNProtocols` and `NPNProtocols` options can
be `Uint8Array`s now.
diff --git a/doc/api/util.md b/doc/api/util.md
index ba49426348..6e35185d02 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -401,7 +401,7 @@ console.log(arr); // logs the full array
## util.promisify(original)
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* `original` {Function}
@@ -471,7 +471,7 @@ standard format of taking an error-first callback as the last argument.
### util.promisify.custom
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
* {symbol}
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 17347ba884..32b0fe71ee 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -11,7 +11,7 @@ const v8 = require('v8');
## v8.cachedDataVersionTag()
<!-- YAML
-added: REPLACEME
+added: v8.0.0
-->
Returns an integer representing a "version tag" derived from the V8 version,
@@ -167,7 +167,7 @@ changes to the API or wire format) may occur until this warning is removed.
### v8.serialize(value)
<!--
-added: REPLACEME
+added: v8.0.0
-->
* Returns: {Buffer}
@@ -176,7 +176,7 @@ Uses a [`DefaultSerializer`][] to serialize `value` into a buffer.
### v8.deserialize(buffer)
<!--
-added: REPLACEME
+added: v8.0.0
-->
* `buffer` {Buffer|Uint8Array} A buffer returned by [`serialize()`][].
@@ -186,7 +186,7 @@ from a buffer.
### class: v8.Serializer
<!--
-added: REPLACEME
+added: v8.0.0
-->
#### new Serializer()
@@ -295,7 +295,7 @@ The default is not to treat those objects as host objects.
### class: v8.Deserializer
<!--
-added: REPLACEME
+added: v8.0.0
-->
#### new Deserializer(buffer)
@@ -374,7 +374,7 @@ provided by subclasses.
### class: v8.DefaultSerializer
<!--
-added: REPLACEME
+added: v8.0.0
-->
A subclass of [`Serializer`][] that serializes `TypedArray`
@@ -383,7 +383,7 @@ stores the part of their underlying `ArrayBuffer`s that they are referring to.
### class: v8.DefaultDeserializer
<!--
-added: REPLACEME
+added: v8.0.0
-->
A subclass of [`Deserializer`][] corresponding to the format written by
diff --git a/doc/api/zlib.md b/doc/api/zlib.md
index e159a70ce7..b7b9170b78 100644
--- a/doc/api/zlib.md
+++ b/doc/api/zlib.md
@@ -277,7 +277,7 @@ Compression strategy.
<!-- YAML
added: v0.11.1
changes:
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `dictionary` option can be an Uint8Array now.
- version: v5.11.0
@@ -491,10 +491,10 @@ without a callback.
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -502,10 +502,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -518,10 +518,10 @@ Compress a chunk of data with [Deflate][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -529,10 +529,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -545,10 +545,10 @@ Compress a chunk of data with [DeflateRaw][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -556,10 +556,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -572,10 +572,10 @@ Decompress a chunk of data with [Gunzip][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -583,10 +583,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -599,10 +599,10 @@ Compress a chunk of data with [Gzip][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -610,10 +610,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -626,10 +626,10 @@ Decompress a chunk of data with [Inflate][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -637,10 +637,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -653,10 +653,10 @@ Decompress a chunk of data with [InflateRaw][].
<!-- YAML
added: v0.6.0
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->
@@ -664,10 +664,10 @@ changes:
<!-- YAML
added: v0.11.12
changes:
- - version: REPLACEME
- pr-url: REPLACEME
+ - version: v8.0.0
+ pr-url: https://github.com/nodejs/node/pull/12223
description: The `buffer` parameter can be any TypedArray or DataView now.
- - version: REPLACEME
+ - version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/12001
description: The `buffer` parameter can be an Uint8Array now.
-->