Skip to content

Commit 7ca38f0

Browse files
committed
2021-08-17, Version 16.7.0 (Current)
Notable changes: * fs: * experimental: add recursive cp method (Benjamin Coe) #39372 PR-URL: #39782
1 parent f41893e commit 7ca38f0

13 files changed

+168
-37
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ release.
3232
</tr>
3333
<tr>
3434
<td valign="top">
35-
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.6.2">16.6.2</a></b><br/>
35+
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.7.0">16.7.0</a></b><br/>
36+
<a href="doc/changelogs/CHANGELOG_V16.md#16.6.2">16.6.2</a><br/>
3637
<a href="doc/changelogs/CHANGELOG_V16.md#16.6.1">16.6.1</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V16.md#16.6.0">16.6.0</a><br/>
3839
<a href="doc/changelogs/CHANGELOG_V16.md#16.5.0">16.5.0</a><br/>

doc/api/buffer.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ multiple worker threads.
460460
<!-- YAML
461461
added: v15.7.0
462462
changes:
463-
- version: REPLACEME
463+
- version: v16.7.0
464464
pr-url: https://github.com/nodejs/node/pull/39708
465465
description: Added the standard `endings` option to replace line-endings,
466466
and removed the non-standard `encoding` option.
@@ -517,7 +517,7 @@ data. The original `Blob` is not altered.
517517

518518
### `blob.stream()`
519519
<!-- YAML
520-
added: REPLACEME
520+
added: v16.7.0
521521
-->
522522

523523
* Returns: {ReadableStream}
@@ -4962,7 +4962,7 @@ An alias for [`buffer.constants.MAX_STRING_LENGTH`][].
49624962

49634963
### `buffer.resolveObjectURL(id)`
49644964
<!-- YAML
4965-
added: REPLACEME
4965+
added: v16.7.0
49664966
-->
49674967

49684968
> Stability: 1 - Experimental

doc/api/dns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The following methods from the `dns` module are available:
9797
<!-- YAML
9898
added: v8.3.0
9999
changes:
100-
- version: REPLACEME
100+
- version: v16.7.0
101101
pr-url: https://github.com/nodejs/node/pull/39610
102102
description: The `options` object now accepts a `tries` option.
103103
- version: v12.18.3

doc/api/errors.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ to the current platform which is running Node.js is used.
11181118
<a id="ERR_FS_CP_DIR_TO_NON_DIR"></a>
11191119
### `ERR_FS_CP_DIR_TO_NON_DIR`
11201120
<!--
1121-
added: REPLACEME
1121+
added: v16.7.0
11221122
-->
11231123

11241124
An attempt was made to copy a directory to a non-directory (file, symlink,
@@ -1127,7 +1127,7 @@ etc.) using [`fs.cp()`][].
11271127
<a id="ERR_FS_CP_EEXIST"></a>
11281128
### `ERR_FS_CP_EEXIST`
11291129
<!--
1130-
added: REPLACEME
1130+
added: v16.7.0
11311131
-->
11321132

11331133
An attempt was made to copy over a file that already existed with
@@ -1136,23 +1136,23 @@ An attempt was made to copy over a file that already existed with
11361136
<a id="ERR_FS_CP_EINVAL"></a>
11371137
### `ERR_FS_CP_EINVAL`
11381138
<!--
1139-
added: REPLACEME
1139+
added: v16.7.0
11401140
-->
11411141

11421142
When using [`fs.cp()`][], `src` or `dest` pointed to an invalid path.
11431143

11441144
<a id="ERR_FS_CP_FIFO_PIPE"></a>
11451145
### `ERR_FS_CP_FIFO_PIPE`
11461146
<!--
1147-
added: REPLACEME
1147+
added: v16.7.0
11481148
-->
11491149

11501150
An attempt was made to copy a named pipe with [`fs.cp()`][].
11511151

11521152
<a id="ERR_FS_CP_NON_DIR_TO_DIR"></a>
11531153
### `ERR_FS_CP_NON_DIR_TO_DIR`
11541154
<!--
1155-
added: REPLACEME
1155+
added: v16.7.0
11561156
-->
11571157

11581158
An attempt was made to copy a non-directory (file, symlink, etc.) to a directory
@@ -1161,15 +1161,15 @@ using [`fs.cp()`][].
11611161
<a id="ERR_FS_CP_SOCKET"></a>
11621162
### `ERR_FS_CP_SOCKET`
11631163
<!--
1164-
added: REPLACEME
1164+
added: v16.7.0
11651165
-->
11661166

11671167
An attempt was made to copy to a socket with [`fs.cp()`][].
11681168

11691169
<a id="ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY"></a>
11701170
### `ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY`
11711171
<!--
1172-
added: REPLACEME
1172+
added: v16.7.0
11731173
-->
11741174

11751175
When using [`fs.cp()`][], a symlink in `dest` pointed to a subdirectory
@@ -1178,7 +1178,7 @@ of `src`.
11781178
<a id="ERR_FS_CP_UNKNOWN"></a>
11791179
### `ERR_FS_CP_UNKNOWN`
11801180
<!--
1181-
added: REPLACEME
1181+
added: v16.7.0
11821182
-->
11831183

11841184
An attempt was made to copy to an unknown file type with [`fs.cp()`][].

doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ try {
741741
742742
### `fsPromises.cp(src, dest[, options])`
743743
<!-- YAML
744-
added: REPLACEME
744+
added: v16.7.0
745745
-->
746746
747747
> Stability: 1 - Experimental
@@ -1884,7 +1884,7 @@ copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
18841884
18851885
### `fs.cp(src, dest[, options], callback)`
18861886
<!-- YAML
1887-
added: REPLACEME
1887+
added: v16.7.0
18881888
-->
18891889
18901890
> Stability: 1 - Experimental
@@ -4391,7 +4391,7 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
43914391
43924392
### `fs.cpSync(src, dest[, options])`
43934393
<!-- YAML
4394-
added: REPLACEME
4394+
added: v16.7.0
43954395
-->
43964396
43974397
> Stability: 1 - Experimental

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2835,7 +2835,7 @@ This can be overridden for servers and client requests by passing the
28352835
<!-- YAML
28362836
added: v0.3.6
28372837
changes:
2838-
- version: REPLACEME
2838+
- version: v16.7.0
28392839
pr-url: https://github.com/nodejs/node/pull/39310
28402840
description: When using a `URL` object parsed username and
28412841
password will now be properly URI decoded.

doc/api/https.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Global instance of [`https.Agent`][] for all HTTPS client requests.
251251
<!-- YAML
252252
added: v0.3.6
253253
changes:
254-
- version: REPLACEME
254+
- version: v16.7.0
255255
pr-url: https://github.com/nodejs/node/pull/39310
256256
description: When using a `URL` object parsed username
257257
and password will now be properly URI decoded.

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ Disconnects the `PerformanceObserver` instance from all notifications.
585585
<!-- YAML
586586
added: v8.5.0
587587
changes:
588-
- version: REPLACEME
588+
- version: v16.7.0
589589
pr-url: https://github.com/nodejs/node/pull/39297
590590
description: Updated to conform to Performance Timeline Level 2. The
591591
buffered option has been added back.

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ Returns whether the stream was destroyed or errored before emitting `'end'`.
12741274

12751275
##### `readable.readableDidRead`
12761276
<!-- YAML
1277-
added: REPLACEME
1277+
added: v16.7.0
12781278
-->
12791279

12801280
> Stability: 1 - Experimental

doc/api/url.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ console.log(JSON.stringify(myURLs));
610610

611611
#### `URL.createObjectURL(blob)`
612612
<!-- YAML
613-
added: REPLACEME
613+
added: v16.7.0
614614
-->
615615

616616
> Stability: 1 - Experimental
@@ -645,7 +645,7 @@ to other workers or the main thread.
645645

646646
#### `URL.revokeObjectURL(id)`
647647
<!-- YAML
648-
added: REPLACEME
648+
added: v16.7.0
649649
-->
650650

651651
> Stability: 1 - Experimental

doc/api/webcrypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ An error will be thrown if the given `typedArray` is larger than 65,536 bytes.
363363

364364
### `crypto.randomUUID()`
365365
<!-- YAML
366-
added: REPLACEME
366+
added: v16.7.0
367367
-->
368368

369369
* Returns: {string}

doc/api/webstreams.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1221,58 +1221,58 @@ added: v16.6.0
12211221
12221222
### Class: `CompressionStream`
12231223
<!-- YAML
1224-
added: REPLACEME
1224+
added: v16.7.0
12251225
-->
12261226
#### `new CompressionStream(format)`
12271227
<!-- YAML
1228-
added: REPLACEME
1228+
added: v16.7.0
12291229
-->
12301230
12311231
* `format` {string} One of either `'deflate'` or `'gzip'`.
12321232
12331233
#### `compressionStream.readable`
12341234
<!-- YAML
1235-
added: REPLACEME
1235+
added: v16.7.0
12361236
-->
12371237
12381238
* Type: {ReadableStream}
12391239
12401240
#### `compressionStream.writable`
12411241
<!-- YAML
1242-
added: REPLACEME
1242+
added: v16.7.0
12431243
-->
12441244
12451245
* Type: {WritableStream}
12461246
12471247
### Class: `DecompressionStream`
12481248
<!-- YAML
1249-
added: REPLACEME
1249+
added: v16.7.0
12501250
-->
12511251
12521252
#### `new DecompressionStream(format)`
12531253
<!-- YAML
1254-
added: REPLACEME
1254+
added: v16.7.0
12551255
-->
12561256
12571257
* `format` {string} One of either `'deflate'` or `'gzip'`.
12581258
12591259
#### `decompressionStream.readable`
12601260
<!-- YAML
1261-
added: REPLACEME
1261+
added: v16.7.0
12621262
-->
12631263
12641264
* Type: {ReadableStream}
12651265
12661266
#### `deccompressionStream.writable`
12671267
<!-- YAML
1268-
added: REPLACEME
1268+
added: v16.7.0
12691269
-->
12701270
12711271
* Type: {WritableStream}
12721272
12731273
### Utility Consumers
12741274
<!-- YAML
1275-
added: REPLACEME
1275+
added: v16.7.0
12761276
-->
12771277
12781278
The utility consumer functions provide common options for consuming
@@ -1300,7 +1300,7 @@ const {
13001300
13011301
#### `streamConsumers.arrayBuffer(stream)`
13021302
<!-- YAML
1303-
added: REPLACEME
1303+
added: v16.7.0
13041304
-->
13051305
13061306
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1309,7 +1309,7 @@ added: REPLACEME
13091309
13101310
#### `streamConsumers.blob(stream)`
13111311
<!-- YAML
1312-
added: REPLACEME
1312+
added: v16.7.0
13131313
-->
13141314
13151315
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1318,7 +1318,7 @@ added: REPLACEME
13181318
13191319
#### `streamConsumers.buffer(stream)`
13201320
<!-- YAML
1321-
added: REPLACEME
1321+
added: v16.7.0
13221322
-->
13231323
13241324
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1327,7 +1327,7 @@ added: REPLACEME
13271327
13281328
#### `streamConsumers.json(stream)`
13291329
<!-- YAML
1330-
added: REPLACEME
1330+
added: v16.7.0
13311331
-->
13321332
13331333
* `stream` {ReadableStream|stream.Readable|AsyncIterator}
@@ -1336,7 +1336,7 @@ added: REPLACEME
13361336
13371337
#### `streamConsumers.text(stream)`
13381338
<!-- YAML
1339-
added: REPLACEME
1339+
added: v16.7.0
13401340
-->
13411341
13421342
* `stream` {ReadableStream|stream.Readable|AsyncIterator}

0 commit comments

Comments
 (0)