Skip to content

Commit de83e21

Browse files
committed
doc: add changelogs for cluster
PR-URL: #11489 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Italo A. Casas <[email protected]>
1 parent 5d4e638 commit de83e21

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

doc/api/cluster.md

+27
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ It is not emitted in the worker.
260260
### worker.disconnect()
261261
<!-- YAML
262262
added: v0.7.7
263+
changes:
264+
- version: v7.3.0
265+
pr-url: https://github.com/nodejs/node/pull/10019
266+
description: This method now returns a reference to `worker`.
263267
-->
264268

265269
* Returns: {Worker} A reference to `worker`.
@@ -416,6 +420,10 @@ accidental disconnection.
416420
### worker.send(message[, sendHandle][, callback])
417421
<!-- YAML
418422
added: v0.7.0
423+
changes:
424+
- version: v4.0.0
425+
pr-url: https://github.com/nodejs/node/pull/2620
426+
description: The `callback` parameter is supported now.
419427
-->
420428

421429
* `message` {Object}
@@ -449,6 +457,10 @@ if (cluster.isMaster) {
449457
<!-- YAML
450458
added: v0.7.0
451459
deprecated: v6.0.0
460+
changes:
461+
- version: v7.0.0
462+
pr-url: https://github.com/nodejs/node/pull/3747
463+
description: Accessing this property will now emit a deprecation warning.
452464
-->
453465

454466
> Stability: 0 - Deprecated: Use [`worker.exitedAfterDisconnect`][] instead.
@@ -579,6 +591,13 @@ The `addressType` is one of:
579591
* `"udp4"` or `"udp6"` (UDP v4 or v6)
580592

581593
## Event: 'message'
594+
<!-- YAML
595+
added: v2.5.0
596+
changes:
597+
- version: v6.0.0
598+
pr-url: https://github.com/nodejs/node/pull/5361
599+
description: The `worker` parameter is passed now; see below for details.
600+
-->
582601

583602
* `worker` {cluster.Worker}
584603
* `message` {Object}
@@ -708,6 +727,10 @@ values are `"rr"` and `"none"`.
708727
## cluster.settings
709728
<!-- YAML
710729
added: v0.7.1
730+
changes:
731+
- version: v6.4.0
732+
pr-url: https://github.com/nodejs/node/pull/7838
733+
description: The `stdio` option is supported now.
711734
-->
712735

713736
* {Object}
@@ -732,6 +755,10 @@ This object is not supposed to be changed or set manually, by you.
732755
## cluster.setupMaster([settings])
733756
<!-- YAML
734757
added: v0.7.1
758+
changes:
759+
- version: v6.4.0
760+
pr-url: https://github.com/nodejs/node/pull/7838
761+
description: The `stdio` option is supported now.
735762
-->
736763

737764
* `settings` {Object}

0 commit comments

Comments
 (0)