Skip to content

Commit 9fbb008

Browse files
targosgntem
authored andcommitted
2019-07-23, Version 12.7.0 (Current)
Notable changes: * deps: * Updated nghttp2 to 1.39.1. nodejs#28448 * Updated npm to 6.10.0. nodejs#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. nodejs#28568 * http: * Added `response.writableFinished`. nodejs#28681 * Exposed `headers`, `rawHeaders` and other fields on an `http.ClientRequest` `"information"` event. nodejs#28459 * inspector: * Added `inspector.waitForDebugger()`. nodejs#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. nodejs#28734 * readline,tty: * Exposed stream API from various methods which write characters. nodejs#28674 nodejs#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/ nodejs#27508 PR-URL: nodejs#28817
1 parent b1f1400 commit 9fbb008

File tree

8 files changed

+214
-14
lines changed

8 files changed

+214
-14
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ release.
2828
</tr>
2929
<tr>
3030
<td valign="top">
31-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a></b><br/>
31+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.7.0">12.7.0</a></b><br/>
32+
<a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a><br/>
3233
<a href="doc/changelogs/CHANGELOG_V12.md#12.5.0">12.5.0</a><br/>
3334
<a href="doc/changelogs/CHANGELOG_V12.md#12.4.0">12.4.0</a><br/>
3435
<a href="doc/changelogs/CHANGELOG_V12.md#12.3.1">12.3.1</a><br/>

doc/api/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Please see [customizing esm specifier resolution][] for example usage.
150150

151151
### `--experimental-exports`
152152
<!-- YAML
153-
added: REPLACEME
153+
added: v12.7.0
154154
-->
155155

156156
Enable experimental resolution using the `exports` field in `package.json`.
@@ -448,7 +448,7 @@ developers may leverage to detect deprecated API usage.
448448

449449
### `--policy-integrity=sri`
450450
<!-- YAML
451-
added: REPLACEME
451+
added: v12.7.0
452452
-->
453453

454454
> Stability: 1 - Experimental

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ buffer. Returns `false` if all or part of the data was queued in user memory.
14681468

14691469
### response.writableFinished
14701470
<!-- YAML
1471-
added: REPLACEME
1471+
added: v12.7.0
14721472
-->
14731473

14741474
* {boolean}

doc/api/inspector.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Return the URL of the active inspector, or `undefined` if there is none.
5454

5555
## inspector.waitForDebugger()
5656
<!-- YAML
57-
added: REPLACEME
57+
added: v12.7.0
5858
-->
5959

6060
Blocks until a client (existing or connected later) has sent

doc/api/readline.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ async function processLineByLine() {
350350
<!-- YAML
351351
added: v0.7.7
352352
changes:
353-
- version: REPLACEME
353+
- version: v12.7.0
354354
pr-url: https://github.com/nodejs/node/pull/28674
355355
description: The stream's write() callback and return value are exposed.
356356
-->
@@ -372,7 +372,7 @@ in a specified direction identified by `dir`.
372372
<!-- YAML
373373
added: v0.7.7
374374
changes:
375-
- version: REPLACEME
375+
- version: v12.7.0
376376
pr-url: https://github.com/nodejs/node/pull/28641
377377
description: The stream's write() callback and return value are exposed.
378378
-->
@@ -491,7 +491,7 @@ function completer(linePartial, callback) {
491491
<!-- YAML
492492
added: v0.7.7
493493
changes:
494-
- version: REPLACEME
494+
- version: v12.7.0
495495
pr-url: https://github.com/nodejs/node/pull/28674
496496
description: The stream's write() callback and return value are exposed.
497497
-->
@@ -537,7 +537,7 @@ if (process.stdin.isTTY)
537537
<!-- YAML
538538
added: v0.7.7
539539
changes:
540-
- version: REPLACEME
540+
- version: v12.7.0
541541
pr-url: https://github.com/nodejs/node/pull/28674
542542
description: The stream's write() callback and return value are exposed.
543543
-->

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ Is `true` if it is safe to call [`readable.read()`][stream-read].
10871087

10881088
##### readable.readableEncoding
10891089
<!-- YAML
1090-
added: REPLACEME
1090+
added: v12.7.0
10911091
-->
10921092

10931093
* {null|string}

doc/api/tty.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ process.stdout.on('resize', () => {
103103
<!-- YAML
104104
added: v0.7.7
105105
changes:
106-
- version: REPLACEME
106+
- version: v12.7.0
107107
pr-url: https://github.com/nodejs/node/pull/28721
108108
description: The stream's write() callback and return value are exposed.
109109
-->
@@ -124,7 +124,7 @@ direction identified by `dir`.
124124
<!-- YAML
125125
added: v0.7.7
126126
changes:
127-
- version: REPLACEME
127+
- version: v12.7.0
128128
pr-url: https://github.com/nodejs/node/pull/28721
129129
description: The stream's write() callback and return value are exposed.
130130
-->
@@ -149,7 +149,7 @@ is updated whenever the `'resize'` event is emitted.
149149
<!-- YAML
150150
added: v0.7.7
151151
changes:
152-
- version: REPLACEME
152+
- version: v12.7.0
153153
pr-url: https://github.com/nodejs/node/pull/28721
154154
description: The stream's write() callback and return value are exposed.
155155
-->
@@ -249,7 +249,7 @@ A `boolean` that is always `true`.
249249
<!-- YAML
250250
added: v0.7.7
251251
changes:
252-
- version: REPLACEME
252+
- version: v12.7.0
253253
pr-url: https://github.com/nodejs/node/pull/28721
254254
description: The stream's write() callback and return value are exposed.
255255
-->

doc/changelogs/CHANGELOG_V12.md

+199
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)