Skip to content

Commit

Permalink
2018-09-06, Version 10.10.0 (Current)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
targos committed Sep 6, 2018
1 parent 7a50dba commit ed976d7
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 29 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.9.0">10.9.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.10.0">10.10.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.9.0">10.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.8.0">10.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.7.0">10.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.6.0">10.6.0</a><br/>
Expand Down
6 changes: 3 additions & 3 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ configuration at startup.
<!-- YAML
added: v0.11.12
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
Expand Down Expand Up @@ -756,7 +756,7 @@ arbitrary command execution.**
<!-- YAML
added: v0.11.12
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
Expand Down Expand Up @@ -818,7 +818,7 @@ metacharacters may be used to trigger arbitrary command execution.**
<!-- YAML
added: v0.11.12
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
Expand Down
8 changes: 4 additions & 4 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ This property is deprecated. Please use `crypto.setFips()` and
added: v0.1.94
deprecated: v10.0.0
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/21447
description: Ciphers in OCB mode are now supported.
- version: v10.2.0
Expand Down Expand Up @@ -1376,7 +1376,7 @@ Adversaries][] for details.
<!-- YAML
added: v0.1.94
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/21447
description: Ciphers in OCB mode are now supported.
- version: v10.2.0
Expand Down Expand Up @@ -1426,7 +1426,7 @@ of time what a given IV will be.
added: v0.1.94
deprecated: v10.0.0
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/21447
description: Ciphers in OCB mode are now supported.
-->
Expand Down Expand Up @@ -1462,7 +1462,7 @@ to create the `Decipher` object.
<!-- YAML
added: v0.1.94
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/21447
description: Ciphers in OCB mode are now supported.
- version: v10.2.0
Expand Down
30 changes: 15 additions & 15 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ performance implications for some applications. See the

## Class: fs.Dirent
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isBlockDevice()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isCharacterDevice()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isDirectory()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

* Returns: {boolean}
Expand All @@ -322,7 +322,7 @@ directory.

### dirent.isFIFO()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isFile()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isSocket()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.isSymbolicLink()
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### dirent.name
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

* {string|Buffer}
Expand Down Expand Up @@ -2356,7 +2356,7 @@ this API: [`fs.open()`][].
<!-- YAML
added: v0.0.2
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `buffer` parameter can now be any `TypedArray`, or a
`DataView`.
Expand Down Expand Up @@ -2639,7 +2639,7 @@ the link path returned will be passed as a `Buffer` object.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `buffer` parameter can now be any `TypedArray` or a
`DataView`.
Expand Down Expand Up @@ -3373,7 +3373,7 @@ This happens when:
<!-- YAML
added: v0.0.2
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `buffer` parameter can now be any `TypedArray` or a
`DataView`
Expand Down Expand Up @@ -3476,7 +3476,7 @@ the end of the file.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `data` parameter can now be any `TypedArray` or a
`DataView`.
Expand Down Expand Up @@ -3537,7 +3537,7 @@ automatically.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `data` parameter can now be any `TypedArray` or a
`DataView`.
Expand Down Expand Up @@ -3565,7 +3565,7 @@ this API: [`fs.writeFile()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22150
description: The `buffer` parameter can now be any `TypedArray` or a
`DataView`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22466
description: HTTP/2 is now Stable. Previously, it had been Experimental.
-->
Expand Down
6 changes: 3 additions & 3 deletions doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ an integer.

## os.getPriority([pid])
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

## os.setPriority([pid, ]priority)
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

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

### Priority Constants
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

The following process scheduling constants are exported by
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ This feature is not available in [`Worker`][] threads.

## process.allowedNodeEnvironmentFlags
<!-- YAML
added: REPLACEME
added: v10.10.0
-->

* {Set}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ console.log(globalVar);

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

0 comments on commit ed976d7

Please sign in to comment.