summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDanielle Adams <adamzdanielle@gmail.com>2020-12-07 15:40:58 -0500
committerDanielle Adams <adamzdanielle@gmail.com>2020-12-09 08:49:37 -0500
commit348b7a9606da61fbb5437e27f479363114ecf4eb (patch)
treeaf27d71525740b8c6b14b2206d864f2a221e189e /doc/api
parent9b23777442f9af01b25b8752e3d1767036b62f14 (diff)
downloadnode-new-348b7a9606da61fbb5437e27f479363114ecf4eb.tar.gz
2020-12-09, Version 15.4.0 (Current)
PR-URL: https://github.com/nodejs/node/pull/36435 Notable changes: * child_processes: * add AbortSignal support (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36308) * deps: * update ICU to 68.1 (Michaƫl Zasso) (https://github.com/nodejs/node/pull/36187) * events: * support signal in EventTarget (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36258) * graduate Event, EventTarget, AbortController (James M Snell) (https://github.com/nodejs/node/pull/35949) * http: * enable call chaining with setHeader() (pooja d.p) (https://github.com/nodejs/node/pull/35924) * module: * add isPreloading indicator (James M Snell) (https://github.com/nodejs/node/pull/36263) * stream: * support abort signal (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36061) * add FileHandle support to Read/WriteStream (Momtchil Momtchev) (https://github.com/nodejs/node/pull/35922) * worker: * add experimental BroadcastChannel (James M Snell) (https://github.com/nodejs/node/pull/36271)
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/child_process.md2
-rw-r--r--doc/api/events.md4
-rw-r--r--doc/api/fs.md6
-rw-r--r--doc/api/globals.md6
-rw-r--r--doc/api/module.md2
-rw-r--r--doc/api/stream.md2
-rw-r--r--doc/api/worker_threads.md16
7 files changed, 19 insertions, 19 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 1972d6c39b..d203994808 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -250,7 +250,7 @@ lsExample();
<!-- YAML
added: v0.1.91
changes:
- - version: REPLACEME
+ - version: v15.4.0
pr-url: https://github.com/nodejs/node/pull/36308
description: AbortSignal support was added.
- version: v8.8.0
diff --git a/doc/api/events.md b/doc/api/events.md
index 89320894f6..b66199e996 100644
--- a/doc/api/events.md
+++ b/doc/api/events.md
@@ -1111,7 +1111,7 @@ process.nextTick(() => ac.abort());
## `events.setMaxListeners(n[, ...eventTargets])`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* `n` {number} A non-negative number. The maximum number of listeners per
@@ -1137,7 +1137,7 @@ setMaxListeners(5, target, emitter);
<!-- YAML
added: v14.5.0
changes:
- - version: REPLACEME
+ - version: v15.4.0
pr-url: https://github.com/nodejs/node/pull/35949
description: No longer experimental.
- version: v15.0.0
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 7411135e0b..f8d0fe7f5d 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -1762,7 +1762,7 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);
added: v0.1.31
changes:
- version:
- - REPLACEME
+ - v15.4.0
pr-url: https://github.com/nodejs/node/pull/35922
description: The `fd` option accepts FileHandle arguments.
- version:
@@ -1873,7 +1873,7 @@ If `options` is a string, then it specifies the encoding.
added: v0.1.31
changes:
- version:
- - REPLACEME
+ - v15.4.0
pr-url: https://github.com/nodejs/node/pull/35922
description: The `fd` option accepts FileHandle arguments.
- version:
@@ -4717,7 +4717,7 @@ rejected.
#### Event: `'close'`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
The `'close'` event is emitted when the `FileHandle` and any of its underlying
diff --git a/doc/api/globals.md b/doc/api/globals.md
index c479a01827..11b7ffa638 100644
--- a/doc/api/globals.md
+++ b/doc/api/globals.md
@@ -21,7 +21,7 @@ accessible.
<!--YAML
added: v15.0.0
changes:
- - version: REPLACEME
+ - version: v15.4.0
pr-url: https://github.com/nodejs/node/pull/35949
description: No longer experimental.
-->
@@ -175,7 +175,7 @@ Used to print to stdout and stderr. See the [`console`][] section.
<!-- YAML
added: v15.0.0
changes:
- - version: REPLACEME
+ - version: v15.4.0
pr-url: https://github.com/nodejs/node/pull/35949
description: No longer experimental.
-->
@@ -189,7 +189,7 @@ A browser-compatible implementation of the `Event` class. See
<!-- YAML
added: v15.0.0
changes:
- - version: REPLACEME
+ - version: v15.4.0
pr-url: https://github.com/nodejs/node/pull/35949
description: No longer experimental.
-->
diff --git a/doc/api/module.md b/doc/api/module.md
index 03d235c74e..b78aa986da 100644
--- a/doc/api/module.md
+++ b/doc/api/module.md
@@ -78,7 +78,7 @@ requireUtil('./some-tool');
### `module.isPreloading`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* Type: {boolean} `true` if the module is running during the Node.js preload
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 529bf2fa01..c8ccd06bec 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -1801,7 +1801,7 @@ for performance reasons.
### `stream.addAbortSignal(signal, stream)`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* `signal` {AbortSignal} A signal representing possible cancellation
* `stream` {Stream} a stream to attach a signal to
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md
index 8c4c5b3854..7de28b99e4 100644
--- a/doc/api/worker_threads.md
+++ b/doc/api/worker_threads.md
@@ -276,7 +276,7 @@ if (isMainThread) {
## Class: `BroadcastChannel extends EventTarget`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
> Stability: 1 - Experimental
@@ -311,7 +311,7 @@ if (isMainThread) {
### `new BroadcastChannel(name)`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* `name` {any} The name of the channel to connect to. Any JavaScript value
@@ -319,14 +319,14 @@ added: REPLACEME
### `broadcastChannel.close()`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
Closes the `BroadcastChannel` connection.
### `broadcastChannel.onmessage`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* Type: {Function} Invoked with a single `MessageEvent` argument
@@ -334,7 +334,7 @@ added: REPLACEME
### `broadcastChannel.onmessageerror`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* Type: {Function} Invoked with a received message cannot be
@@ -342,14 +342,14 @@ added: REPLACEME
### `broadcastChannel.postMessage(message)`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
* `message` {any} Any cloneable JavaScript value.
### `broadcastChannel.ref()`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed
@@ -359,7 +359,7 @@ will have no effect.
### `broadcastChannel.unref()`
<!-- YAML
-added: REPLACEME
+added: v15.4.0
-->
Calling `unref()` on a BroadcastChannel will allow the thread to exit if this