Skip to content

Commit 1d80f89

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 <duhamelantoine1995@gmail.com> Co-authored-by: Trivikram Kamat <trivikr.dev@gmail.com> Co-authored-by: Rich Trott <rtrott@gmail.com> PR-URL: #34002 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Pranshu Srivastava <rexagod@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent c31e2f6 commit 1d80f89

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

doc/api/dns.md

+9
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,15 @@ 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:
671+
- v11.14.0
672+
- v10.17.0
673+
pr-url: https://github.com/nodejs/node/pull/26592
674+
description: This API is no longer experimental.
675+
-->
667676

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

doc/api/fs.md

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

46684668
## `fs` Promises API
4669+
<!-- YAML
4670+
added: v10.0.0
4671+
changes:
4672+
- version: v14.0.0
4673+
pr-url: https://github.com/nodejs/node/pull/31553
4674+
description: Exposed as `require('fs/promises')`.
4675+
- version:
4676+
- v11.14.0
4677+
- v10.17.0
4678+
pr-url: https://github.com/nodejs/node/pull/26581
4679+
description: This API is no longer experimental.
4680+
- version: v10.1.0
4681+
pr-url: https://github.com/nodejs/node/pull/20504
4682+
description: The API is accessible via `require('fs').promises` only.
4683+
-->
46694684

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

0 commit comments

Comments
 (0)