Skip to content

Commit

Permalink
2019-07-23, Version 12.7.0 (Current)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
targos authored and gntem committed Jul 27, 2019
1 parent b1f1400 commit 9fbb008
Show file tree
Hide file tree
Showing 8 changed files with 214 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.7.0">12.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.5.0">12.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.4.0">12.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.3.1">12.3.1</a><br/>
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -448,7 +448,7 @@ developers may leverage to detect deprecated API usage.

### `--policy-integrity=sri`
<!-- YAML
added: REPLACEME
added: v12.7.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,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}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand All @@ -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.
-->
Expand Down Expand Up @@ -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.
-->
Expand Down Expand Up @@ -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.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 4 additions & 4 deletions doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand All @@ -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.
-->
Expand All @@ -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.
-->
Expand Down Expand Up @@ -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.
-->
Expand Down
199 changes: 199 additions & 0 deletions doc/changelogs/CHANGELOG_V12.md

Large diffs are not rendered by default.

0 comments on commit 9fbb008

Please sign in to comment.