Skip to content

Commit fde09a4

Browse files
committed
2020-12-08, Version 15.4.0 (Current)
PR-URL: #36435 Notable changes: * child_processes: * add AbortSignal support (Benjamin Gruenbaum) (#36308) * deps: * update ICU to 68.1 (Michaël Zasso) (#36187) * events: * support signal in EventTarget (Benjamin Gruenbaum) (#36258) * graduate Event, EventTarget, AbortController (James M Snell) (#35949) * http: * enable call chaining with setHeader() (pooja d.p) (#35924) * module: * add isPreloading indicator (James M Snell) (#36263) * stream: * support abort signal (Benjamin Gruenbaum) (#36061) * add FileHandle support to Read/WriteStream (Momtchil Momtchev) (#35922) * worker: * add experimental BroadcastChannel (James M Snell) (#36271)
1 parent 8611b8f commit fde09a4

9 files changed

+142
-22
lines changed

doc/api/child_process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ lsExample();
250250
<!-- YAML
251251
added: v0.1.91
252252
changes:
253-
- version: REPLACEME
253+
- version: v15.4.0
254254
pr-url: https://github.com/nodejs/node/pull/36308
255255
description: AbortSignal support was added.
256256
- version: v8.8.0

doc/api/events.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ process.nextTick(() => ac.abort());
11111111

11121112
## `events.setMaxListeners(n[, ...eventTargets])`
11131113
<!-- YAML
1114-
added: REPLACEME
1114+
added: v15.4.0
11151115
-->
11161116

11171117
* `n` {number} A non-negative number. The maximum number of listeners per
@@ -1137,7 +1137,7 @@ setMaxListeners(5, target, emitter);
11371137
<!-- YAML
11381138
added: v14.5.0
11391139
changes:
1140-
- version: REPLACEME
1140+
- version: v15.4.0
11411141
pr-url: https://github.com/nodejs/node/pull/35949
11421142
description: No longer experimental.
11431143
- version: v15.0.0

doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,7 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);
17521752
added: v0.1.31
17531753
changes:
17541754
- version:
1755-
- REPLACEME
1755+
- v15.4.0
17561756
pr-url: https://github.com/nodejs/node/pull/35922
17571757
description: The `fd` option accepts FileHandle arguments.
17581758
- version:
@@ -1863,7 +1863,7 @@ If `options` is a string, then it specifies the encoding.
18631863
added: v0.1.31
18641864
changes:
18651865
- version:
1866-
- REPLACEME
1866+
- v15.4.0
18671867
pr-url: https://github.com/nodejs/node/pull/35922
18681868
description: The `fd` option accepts FileHandle arguments.
18691869
- version:
@@ -4707,7 +4707,7 @@ rejected.
47074707

47084708
#### Event: `'close'`
47094709
<!-- YAML
4710-
added: REPLACEME
4710+
added: v15.4.0
47114711
-->
47124712

47134713
The `'close'` event is emitted when the `FileHandle` and any of its underlying

doc/api/globals.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ accessible.
2121
<!--YAML
2222
added: v15.0.0
2323
changes:
24-
- version: REPLACEME
24+
- version: v15.4.0
2525
pr-url: https://github.com/nodejs/node/pull/35949
2626
description: No longer experimental.
2727
-->
@@ -175,7 +175,7 @@ Used to print to stdout and stderr. See the [`console`][] section.
175175
<!-- YAML
176176
added: v15.0.0
177177
changes:
178-
- version: REPLACEME
178+
- version: v15.4.0
179179
pr-url: https://github.com/nodejs/node/pull/35949
180180
description: No longer experimental.
181181
-->
@@ -189,7 +189,7 @@ A browser-compatible implementation of the `Event` class. See
189189
<!-- YAML
190190
added: v15.0.0
191191
changes:
192-
- version: REPLACEME
192+
- version: v15.4.0
193193
pr-url: https://github.com/nodejs/node/pull/35949
194194
description: No longer experimental.
195195
-->

doc/api/module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ requireUtil('./some-tool');
7878
7979
### `module.isPreloading`
8080
<!-- YAML
81-
added: REPLACEME
81+
added: v15.4.0
8282
-->
8383
8484
* Type: {boolean} `true` if the module is running during the Node.js preload

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ for performance reasons.
18011801

18021802
### `stream.addAbortSignal(signal, stream)`
18031803
<!-- YAML
1804-
added: REPLACEME
1804+
added: v15.4.0
18051805
-->
18061806
* `signal` {AbortSignal} A signal representing possible cancellation
18071807
* `stream` {Stream} a stream to attach a signal to

doc/api/worker_threads.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ if (isMainThread) {
276276

277277
## Class: `BroadcastChannel extends EventTarget`
278278
<!-- YAML
279-
added: REPLACEME
279+
added: v15.4.0
280280
-->
281281

282282
> Stability: 1 - Experimental
@@ -311,45 +311,45 @@ if (isMainThread) {
311311

312312
### `new BroadcastChannel(name)`
313313
<!-- YAML
314-
added: REPLACEME
314+
added: v15.4.0
315315
-->
316316

317317
* `name` {any} The name of the channel to connect to. Any JavaScript value
318318
that can be converted to a string using ``${name}`` is permitted.
319319

320320
### `broadcastChannel.close()`
321321
<!-- YAML
322-
added: REPLACEME
322+
added: v15.4.0
323323
-->
324324

325325
Closes the `BroadcastChannel` connection.
326326

327327
### `broadcastChannel.onmessage`
328328
<!-- YAML
329-
added: REPLACEME
329+
added: v15.4.0
330330
-->
331331

332332
* Type: {Function} Invoked with a single `MessageEvent` argument
333333
when a message is received.
334334

335335
### `broadcastChannel.onmessageerror`
336336
<!-- YAML
337-
added: REPLACEME
337+
added: v15.4.0
338338
-->
339339

340340
* Type: {Function} Invoked with a received message cannot be
341341
deserialized.
342342

343343
### `broadcastChannel.postMessage(message)`
344344
<!-- YAML
345-
added: REPLACEME
345+
added: v15.4.0
346346
-->
347347

348348
* `message` {any} Any cloneable JavaScript value.
349349

350350
### `broadcastChannel.ref()`
351351
<!-- YAML
352-
added: REPLACEME
352+
added: v15.4.0
353353
-->
354354

355355
Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed
@@ -359,7 +359,7 @@ will have no effect.
359359

360360
### `broadcastChannel.unref()`
361361
<!-- YAML
362-
added: REPLACEME
362+
added: v15.4.0
363363
-->
364364

365365
Calling `unref()` on a BroadcastChannel will allow the thread to exit if this

doc/changelogs/CHANGELOG_V15.md

+120
Large diffs are not rendered by default.

src/node_version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define SRC_NODE_VERSION_H_
2424

2525
#define NODE_MAJOR_VERSION 15
26-
#define NODE_MINOR_VERSION 3
27-
#define NODE_PATCH_VERSION 1
26+
#define NODE_MINOR_VERSION 4
27+
#define NODE_PATCH_VERSION 0
2828

2929
#define NODE_VERSION_IS_LTS 0
3030
#define NODE_VERSION_LTS_CODENAME ""
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

0 commit comments

Comments
 (0)