Skip to content

Commit cdb3598

Browse files
committed
2018-09-06, Version 10.10.0 (Current)
Notable changes: * child_process: * `TypedArray` and `DataView` values are now accepted as input by `execFileSync` and `spawnSync`. #22409 * coverage: * Native V8 code coverage information can now be output to disk by setting the environment variable `NODE_V8_COVERAGE` to a directory. #22527 * deps: * The bundled npm was upgraded to version 6.4.1. #22591 * Changelogs: [6.3.0-next.0](https://github.com/npm/cli/releases/tag/v6.3.0-next.0) [6.3.0](https://github.com/npm/cli/releases/tag/v6.3.0) [6.4.0](https://github.com/npm/cli/releases/tag/v6.4.0) [6.4.1](https://github.com/npm/cli/releases/tag/v6.4.1) * fs: * The methods `fs.read`, `fs.readSync`, `fs.write`, `fs.writeSync`, `fs.writeFile` and `fs.writeFileSync` now all accept `TypedArray` and `DataView` objects. #22150 * A new boolean option, `withFileTypes`, can be passed to to `fs.readdir` and `fs.readdirSync`. If set to true, the methods return an array of directory entries. These are objects that can be used to determine the type of each entry and filter them based on that without calling `fs.stat`. #22020 * http2: * The `http2` module is no longer experimental. #22466 * os: * Added two new methods: `os.getPriority` and `os.setPriority`, allowing to manipulate the scheduling priority of processes. #22407 * process: * Added `process.allowedNodeEnvironmentFlags`. This object can be used to programmatically validate and list flags that are allowed in the `NODE_OPTIONS` environment variable. #19335 * src: * Deprecated option variables in public C++ API. #22515 * Refactored options parsing. #22392 * vm: * Added `vm.compileFunction`, a method to create new JavaScript functions from a source body, with options similar to those of the other `vm` methods. #21571 * Added new collaborators: * [lundibundi](https://github.com/lundibundi) - Denys Otrishko PR-URL: #22716
1 parent 8e542ea commit cdb3598

10 files changed

+286
-30
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ release.
3131
</tr>
3232
<tr>
3333
<td valign="top">
34-
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.9.0">10.9.0</a></b><br/>
34+
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.10.0">10.10.0</a></b><br/>
35+
<a href="doc/changelogs/CHANGELOG_V10.md#10.9.0">10.9.0</a><br/>
3536
<a href="doc/changelogs/CHANGELOG_V10.md#10.8.0">10.8.0</a><br/>
3637
<a href="doc/changelogs/CHANGELOG_V10.md#10.7.0">10.7.0</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V10.md#10.6.0">10.6.0</a><br/>

doc/api/child_process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ configuration at startup.
677677
<!-- YAML
678678
added: v0.11.12
679679
changes:
680-
- version: REPLACEME
680+
- version: v10.10.0
681681
pr-url: https://github.com/nodejs/node/pull/22409
682682
description: The `input` option can now be any `TypedArray` or a
683683
`DataView`.
@@ -744,7 +744,7 @@ arbitrary command execution.**
744744
<!-- YAML
745745
added: v0.11.12
746746
changes:
747-
- version: REPLACEME
747+
- version: v10.10.0
748748
pr-url: https://github.com/nodejs/node/pull/22409
749749
description: The `input` option can now be any `TypedArray` or a
750750
`DataView`.
@@ -803,7 +803,7 @@ metacharacters may be used to trigger arbitrary command execution.**
803803
<!-- YAML
804804
added: v0.11.12
805805
changes:
806-
- version: REPLACEME
806+
- version: v10.10.0
807807
pr-url: https://github.com/nodejs/node/pull/22409
808808
description: The `input` option can now be any `TypedArray` or a
809809
`DataView`.

doc/api/crypto.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ This property is deprecated. Please use `crypto.setFips()` and
13241324
added: v0.1.94
13251325
deprecated: v10.0.0
13261326
changes:
1327-
- version: REPLACEME
1327+
- version: v10.10.0
13281328
pr-url: https://github.com/nodejs/node/pull/21447
13291329
description: Ciphers in OCB mode are now supported.
13301330
- version: v10.2.0
@@ -1379,7 +1379,7 @@ Adversaries][] for details.
13791379
<!-- YAML
13801380
added: v0.1.94
13811381
changes:
1382-
- version: REPLACEME
1382+
- version: v10.10.0
13831383
pr-url: https://github.com/nodejs/node/pull/21447
13841384
description: Ciphers in OCB mode are now supported.
13851385
- version: v10.2.0
@@ -1448,7 +1448,7 @@ called.
14481448
added: v0.1.94
14491449
deprecated: v10.0.0
14501450
changes:
1451-
- version: REPLACEME
1451+
- version: v10.10.0
14521452
pr-url: https://github.com/nodejs/node/pull/21447
14531453
description: Ciphers in OCB mode are now supported.
14541454
-->
@@ -1484,7 +1484,7 @@ to create the `Decipher` object.
14841484
<!-- YAML
14851485
added: v0.1.94
14861486
changes:
1487-
- version: REPLACEME
1487+
- version: v10.10.0
14881488
pr-url: https://github.com/nodejs/node/pull/21447
14891489
description: Ciphers in OCB mode are now supported.
14901490
- version: v10.2.0

doc/api/fs.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ performance implications for some applications. See the
285285

286286
## Class: fs.Dirent
287287
<!-- YAML
288-
added: REPLACEME
288+
added: v10.10.0
289289
-->
290290

291291
When [`fs.readdir()`][] or [`fs.readdirSync()`][] is called with the
@@ -294,7 +294,7 @@ When [`fs.readdir()`][] or [`fs.readdirSync()`][] is called with the
294294

295295
### dirent.isBlockDevice()
296296
<!-- YAML
297-
added: REPLACEME
297+
added: v10.10.0
298298
-->
299299

300300
* Returns: {boolean}
@@ -303,7 +303,7 @@ Returns `true` if the `fs.Dirent` object describes a block device.
303303

304304
### dirent.isCharacterDevice()
305305
<!-- YAML
306-
added: REPLACEME
306+
added: v10.10.0
307307
-->
308308

309309
* Returns: {boolean}
@@ -312,7 +312,7 @@ Returns `true` if the `fs.Dirent` object describes a character device.
312312

313313
### dirent.isDirectory()
314314
<!-- YAML
315-
added: REPLACEME
315+
added: v10.10.0
316316
-->
317317

318318
* Returns: {boolean}
@@ -322,7 +322,7 @@ directory.
322322

323323
### dirent.isFIFO()
324324
<!-- YAML
325-
added: REPLACEME
325+
added: v10.10.0
326326
-->
327327

328328
* Returns: {boolean}
@@ -332,7 +332,7 @@ Returns `true` if the `fs.Dirent` object describes a first-in-first-out
332332

333333
### dirent.isFile()
334334
<!-- YAML
335-
added: REPLACEME
335+
added: v10.10.0
336336
-->
337337

338338
* Returns: {boolean}
@@ -341,7 +341,7 @@ Returns `true` if the `fs.Dirent` object describes a regular file.
341341

342342
### dirent.isSocket()
343343
<!-- YAML
344-
added: REPLACEME
344+
added: v10.10.0
345345
-->
346346

347347
* Returns: {boolean}
@@ -350,7 +350,7 @@ Returns `true` if the `fs.Dirent` object describes a socket.
350350

351351
### dirent.isSymbolicLink()
352352
<!-- YAML
353-
added: REPLACEME
353+
added: v10.10.0
354354
-->
355355

356356
* Returns: {boolean}
@@ -360,7 +360,7 @@ Returns `true` if the `fs.Dirent` object describes a symbolic link.
360360

361361
### dirent.name
362362
<!-- YAML
363-
added: REPLACEME
363+
added: v10.10.0
364364
-->
365365

366366
* {string|Buffer}
@@ -2336,7 +2336,7 @@ this API: [`fs.open()`][].
23362336
<!-- YAML
23372337
added: v0.0.2
23382338
changes:
2339-
- version: REPLACEME
2339+
- version: v10.10.0
23402340
pr-url: https://github.com/nodejs/node/pull/22150
23412341
description: The `buffer` parameter can now be any `TypedArray`, or a
23422342
`DataView`.
@@ -2619,7 +2619,7 @@ the link path returned will be passed as a `Buffer` object.
26192619
<!-- YAML
26202620
added: v0.1.21
26212621
changes:
2622-
- version: REPLACEME
2622+
- version: v10.10.0
26232623
pr-url: https://github.com/nodejs/node/pull/22150
26242624
description: The `buffer` parameter can now be any `TypedArray` or a
26252625
`DataView`.
@@ -3353,7 +3353,7 @@ This happens when:
33533353
<!-- YAML
33543354
added: v0.0.2
33553355
changes:
3356-
- version: REPLACEME
3356+
- version: v10.10.0
33573357
pr-url: https://github.com/nodejs/node/pull/22150
33583358
description: The `buffer` parameter can now be any `TypedArray` or a
33593359
`DataView`
@@ -3456,7 +3456,7 @@ the end of the file.
34563456
<!-- YAML
34573457
added: v0.1.29
34583458
changes:
3459-
- version: REPLACEME
3459+
- version: v10.10.0
34603460
pr-url: https://github.com/nodejs/node/pull/22150
34613461
description: The `data` parameter can now be any `TypedArray` or a
34623462
`DataView`.
@@ -3517,7 +3517,7 @@ automatically.
35173517
<!-- YAML
35183518
added: v0.1.29
35193519
changes:
3520-
- version: REPLACEME
3520+
- version: v10.10.0
35213521
pr-url: https://github.com/nodejs/node/pull/22150
35223522
description: The `data` parameter can now be any `TypedArray` or a
35233523
`DataView`.
@@ -3545,7 +3545,7 @@ this API: [`fs.writeFile()`][].
35453545
<!-- YAML
35463546
added: v0.1.21
35473547
changes:
3548-
- version: REPLACEME
3548+
- version: v10.10.0
35493549
pr-url: https://github.com/nodejs/node/pull/22150
35503550
description: The `buffer` parameter can now be any `TypedArray` or a
35513551
`DataView`.

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- YAML
33
added: v8.4.0
44
changes:
5-
- version: REPLACEME
5+
- version: v10.10.0
66
pr-url: https://github.com/nodejs/node/pull/22466
77
description: HTTP/2 is now Stable. Previously, it had been Experimental.
88
-->

doc/api/os.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ an integer.
194194

195195
## os.getPriority([pid])
196196
<!-- YAML
197-
added: REPLACEME
197+
added: v10.10.0
198198
-->
199199

200200
* `pid` {integer} The process ID to retrieve scheduling priority for.
@@ -353,7 +353,7 @@ https://en.wikipedia.org/wiki/Uname#Examples for more information.
353353

354354
## os.setPriority([pid, ]priority)
355355
<!-- YAML
356-
added: REPLACEME
356+
added: v10.10.0
357357
-->
358358

359359
* `pid` {integer} The process ID to set scheduling priority for.
@@ -1243,7 +1243,7 @@ information.
12431243

12441244
### Priority Constants
12451245
<!-- YAML
1246-
added: REPLACEME
1246+
added: v10.10.0
12471247
-->
12481248

12491249
The following process scheduling constants are exported by

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ This feature is not available in [`Worker`][] threads.
418418

419419
## process.allowedNodeEnvironmentFlags
420420
<!-- YAML
421-
added: REPLACEME
421+
added: v10.10.0
422422
-->
423423

424424
* {Set}

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ console.log(globalVar);
639639

640640
## vm.compileFunction(code[, params[, options]])
641641
<!-- YAML
642-
added: REPLACEME
642+
added: v10.10.0
643643
-->
644644
* `code` {string} The body of the function to compile.
645645
* `params` {string[]} An array of strings containing all parameters for the

0 commit comments

Comments
 (0)