Skip to content

Commit 55b7a6c

Browse files
ExE-Bosstargos
authored andcommitted
doc: document changes for */promises alias modules
Fixes: #35740 Refs: #31553 Refs: #32953 Refs: #33991 Refs: #34001 Refs: #34055 Refs: #34962 Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Trivikram Kamat <[email protected]> Co-authored-by: Rich Trott <[email protected]> PR-URL: #34002 Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Pranshu Srivastava <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 548f91a commit 55b7a6c

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

Diff for: doc/api/dns.md

+12
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,18 @@ subsequent servers provided. Fallback DNS servers will only be used if the
664664
earlier ones time out or result in some other error.
665665

666666
## DNS promises API
667+
<!-- YAML
668+
added: v10.6.0
669+
changes:
670+
- version: v15.0.0
671+
pr-url: https://github.com/nodejs/node/pull/32953
672+
description: Exposed as `require('dns/promises')`.
673+
- version:
674+
- v11.14.0
675+
- v10.17.0
676+
pr-url: https://github.com/nodejs/node/pull/26592
677+
description: This API is no longer experimental.
678+
-->
667679

668680
The `dns.promises` API provides an alternative set of asynchronous DNS methods
669681
that return `Promise` objects rather than using callbacks. The API is accessible

Diff for: doc/api/fs.md

+15
Original file line numberDiff line numberDiff line change
@@ -4594,6 +4594,21 @@ For detailed information, see the documentation of the asynchronous version of
45944594
this API: [`fs.writev()`][].
45954595

45964596
## `fs` Promises API
4597+
<!-- YAML
4598+
added: v10.0.0
4599+
changes:
4600+
- version: v14.0.0
4601+
pr-url: https://github.com/nodejs/node/pull/31553
4602+
description: Exposed as `require('fs/promises')`.
4603+
- version:
4604+
- v11.14.0
4605+
- v10.17.0
4606+
pr-url: https://github.com/nodejs/node/pull/26581
4607+
description: This API is no longer experimental.
4608+
- version: v10.1.0
4609+
pr-url: https://github.com/nodejs/node/pull/20504
4610+
description: The API is accessible via `require('fs').promises` only.
4611+
-->
45974612

45984613
The `fs.promises` API provides an alternative set of asynchronous file system
45994614
methods that return `Promise` objects rather than using callbacks. The

Diff for: doc/api/stream.md

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Additionally, this module includes the utility functions
4949
[`stream.Readable.from()`][].
5050

5151
### Streams Promises API
52+
<!-- YAML
53+
added: v15.0.0
54+
-->
5255

5356
The `stream/promises` API provides an alternative set of asynchronous utility
5457
functions for streams that return `Promise` objects rather than using

0 commit comments

Comments
 (0)