Skip to content

Commit ad1ad4d

Browse files
committed
doc: add changelogs for child_process
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 42413b6 commit ad1ad4d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

doc/api/child_process.md

+37
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ encoding, `Buffer` objects will be passed to the callback instead.
251251
### child_process.fork(modulePath[, args][, options])
252252
<!-- YAML
253253
added: v0.5.0
254+
changes:
255+
- version: v6.4.0
256+
pr-url: https://github.com/nodejs/node/pull/7811
257+
description: The `stdio` option is supported now.
254258
-->
255259

256260
* `modulePath` {String} The module to run in the child
@@ -302,6 +306,13 @@ not clone the current process.*
302306
### child_process.spawn(command[, args][, options])
303307
<!-- YAML
304308
added: v0.1.90
309+
changes:
310+
- version: v6.4.0
311+
pr-url: https://github.com/nodejs/node/pull/7696
312+
description: The `argv0` option is supported now.
313+
- version: v5.7.0
314+
pr-url: https://github.com/nodejs/node/pull/4598
315+
description: The `shell` option is supported now.
305316
-->
306317

307318
* `command` {String} The command to run
@@ -485,6 +496,10 @@ child.unref();
485496
#### options.stdio
486497
<!-- YAML
487498
added: v0.7.10
499+
changes:
500+
- version: v3.3.1
501+
pr-url: https://github.com/nodejs/node/pull/2727
502+
description: The value `0` is now accepted as a file descriptor.
488503
-->
489504

490505
The `options.stdio` option is used to configure the pipes that are established
@@ -574,6 +589,10 @@ configuration at startup.
574589
### child_process.execFileSync(file[, args][, options])
575590
<!-- YAML
576591
added: v0.11.12
592+
changes:
593+
- version: v6.2.1, v4.5.0
594+
pr-url: https://github.com/nodejs/node/pull/6939
595+
description: The `encoding` option can now explicitly be set to `buffer`.
577596
-->
578597

579598
* `file` {String} The name or path of the executable file to run
@@ -660,6 +679,13 @@ execution.**
660679
### child_process.spawnSync(command[, args][, options])
661680
<!-- YAML
662681
added: v0.11.12
682+
changes:
683+
- version: v6.2.1, v4.5.0
684+
pr-url: https://github.com/nodejs/node/pull/6939
685+
description: The `encoding` option can now explicitly be set to `buffer`.
686+
- version: v5.7.0
687+
pr-url: https://github.com/nodejs/node/pull/4598
688+
description: The `shell` option is supported now.
663689
-->
664690

665691
* `command` {String} The command to run
@@ -911,6 +937,17 @@ grep.stdin.end();
911937
### child.send(message[, sendHandle[, options]][, callback])
912938
<!-- YAML
913939
added: v0.5.9
940+
changes:
941+
- version: v5.8.0
942+
pr-url: https://github.com/nodejs/node/pull/5283
943+
description: The `options` parameter, and the `keepOpen` option
944+
in particular, is supported now.
945+
- version: v5.0.0
946+
pr-url: https://github.com/nodejs/node/pull/3516
947+
description: This method returns a boolean for flow control now.
948+
- version: v4.0.0
949+
pr-url: https://github.com/nodejs/node/pull/2620
950+
description: The `callback` parameter is supported now.
914951
-->
915952

916953
* `message` {Object}

0 commit comments

Comments
 (0)