Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-07-23 11:29:14 +0300
committerMichaël Zasso <targos@protonmail.com>2019-07-23 17:11:06 +0300
commit0481a7f3b883862cadf963314d23490adc6656a4 (patch)
treecc593634385f86b8ea84cc35ca64f344946ca78e /doc/api
parent0ee12980561cd7b5c51708a3ba85c6991710dd0d (diff)
2019-07-23, Version 12.7.0 (Current)v12.7.0
Notable changes: * deps: * Updated nghttp2 to 1.39.1. https://github.com/nodejs/node/pull/28448 * Updated npm to 6.10.0. https://github.com/nodejs/node/pull/28525 * esm: * Implemented experimental "pkg-exports" proposal. A new `"exports"` field can be added to a module's `package.json` file to provide custom subpath aliasing. See https://github.com/jkrems/proposal-pkg-exports/ for more information. https://github.com/nodejs/node/pull/28568 * http: * Added `response.writableFinished`. https://github.com/nodejs/node/pull/28681 * Exposed `headers`, `rawHeaders` and other fields on an `http.ClientRequest` `"information"` event. https://github.com/nodejs/node/pull/28459 * inspector: * Added `inspector.waitForDebugger()`. https://github.com/nodejs/node/pull/28453 * policy: * Added `--policy-integrity=sri` CLI option to mitigate policy tampering. If a policy integrity is specified and the policy does not have that integrity, Node.js will error prior to running any code. https://github.com/nodejs/node/pull/28734 * readline,tty: * Exposed stream API from various methods which write characters. https://github.com/nodejs/node/pull/28674 https://github.com/nodejs/node/pull/28721 * src: * Use cgroups to get memory limits. This improves the way we set the memory ceiling for a Node.js process. Previously we would use the physical memory size to estimate the necessary V8 heap sizes. The physical memory size is not necessarily the correct limit, e.g. if the process is running inside a docker container or is otherwise constrained. This change adds the ability to get a memory limit set by linux cgroups, which is used by docker containers to set resource constraints. https://docs.docker.com/config/containers/resource_constraints/ https://github.com/nodejs/node/pull/27508 PR-URL: https://github.com/nodejs/node/pull/28817
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/cli.md4
-rw-r--r--doc/api/http.md2
-rw-r--r--doc/api/inspector.md2
-rw-r--r--doc/api/readline.md8
-rw-r--r--doc/api/stream.md2
-rw-r--r--doc/api/tty.md8
6 files changed, 13 insertions, 13 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 5e60b509e31..1e765df93f8 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -150,7 +150,7 @@ Please see [customizing esm specifier resolution][] for example usage.
### `--experimental-exports`
<!-- YAML
-added: REPLACEME
+added: v12.7.0
-->
Enable experimental resolution using the `exports` field in `package.json`.
@@ -459,7 +459,7 @@ developers may leverage to detect deprecated API usage.
### `--policy-integrity=sri`
<!-- YAML
-added: REPLACEME
+added: v12.7.0
-->
> Stability: 1 - Experimental
diff --git a/doc/api/http.md b/doc/api/http.md
index 8df5ea2d618..bcb6dda3053 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1466,7 +1466,7 @@ buffer. Returns `false` if all or part of the data was queued in user memory.
### response.writableFinished
<!-- YAML
-added: REPLACEME
+added: v12.7.0
-->
* {boolean}
diff --git a/doc/api/inspector.md b/doc/api/inspector.md
index e2980a278d1..f25d6209c12 100644
--- a/doc/api/inspector.md
+++ b/doc/api/inspector.md
@@ -54,7 +54,7 @@ Return the URL of the active inspector, or `undefined` if there is none.
## inspector.waitForDebugger()
<!-- YAML
-added: REPLACEME
+added: v12.7.0
-->
Blocks until a client (existing or connected later) has sent
diff --git a/doc/api/readline.md b/doc/api/readline.md
index 4ff572f2e5f..47dfad8dabb 100644
--- a/doc/api/readline.md
+++ b/doc/api/readline.md
@@ -350,7 +350,7 @@ async function processLineByLine() {
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28674
description: The stream's write() callback and return value are exposed.
-->
@@ -372,7 +372,7 @@ in a specified direction identified by `dir`.
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28641
description: The stream's write() callback and return value are exposed.
-->
@@ -491,7 +491,7 @@ function completer(linePartial, callback) {
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28674
description: The stream's write() callback and return value are exposed.
-->
@@ -537,7 +537,7 @@ if (process.stdin.isTTY)
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28674
description: The stream's write() callback and return value are exposed.
-->
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 2cdd6ffde31..63c34aa666e 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -1087,7 +1087,7 @@ Is `true` if it is safe to call [`readable.read()`][stream-read].
##### readable.readableEncoding
<!-- YAML
-added: REPLACEME
+added: v12.7.0
-->
* {null|string}
diff --git a/doc/api/tty.md b/doc/api/tty.md
index e19e8160a0f..977576970c0 100644
--- a/doc/api/tty.md
+++ b/doc/api/tty.md
@@ -103,7 +103,7 @@ process.stdout.on('resize', () => {
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28721
description: The stream's write() callback and return value are exposed.
-->
@@ -124,7 +124,7 @@ direction identified by `dir`.
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28721
description: The stream's write() callback and return value are exposed.
-->
@@ -149,7 +149,7 @@ is updated whenever the `'resize'` event is emitted.
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28721
description: The stream's write() callback and return value are exposed.
-->
@@ -249,7 +249,7 @@ A `boolean` that is always `true`.
<!-- YAML
added: v0.7.7
changes:
- - version: REPLACEME
+ - version: v12.7.0
pr-url: https://github.com/nodejs/node/pull/28721
description: The stream's write() callback and return value are exposed.
-->