Skip to content

Commit

Permalink
2019-06-04, Version 12.4.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* doc:
  * The JSON variant of the API documentation is no longer experimental
    (Rich Trott) #27842.
* esm:
  * JSON module support is always enabled under
    `--experimental-modules`. The `--experimental-json-modules` flag
    has been removed (Myles Borins)
    #27752.
* http,http2:
  * A new flag has been added for overriding the default HTTP server
    socket timeout (which is two minutes). Pass
    `--http-server-default-timeout=milliseconds`
    or `--http-server-default-timeout=0` to respectively change or
    disable the timeout. Starting with Node.js 13.0.0, the timeout will
    be disabled by default
    (Ali Ijaz Sheikh) #27704.
* inspector:
  * Added an experimental `--heap-prof` flag to start the V8 heap
    profiler on startup and write the heap profile to disk before exit
    (Joyee Cheung) #27596.
* stream:
  * The `readable.unshift()` method now correctly converts strings to
    buffers. Additionally, a new optional argument is accepted to
    specify the string's encoding, such as `'utf8'` or `'ascii'`
    (Marcos Casagrande) #27194.
* v8:
  * The object returned by `v8.getHeapStatistics()` has two new
    properties: `number_of_native_contexts` and
    `number_of_detached_contexts` (Yuriy Vasiyarov)
    #27933.

PR-URL: #28040
  • Loading branch information
targos committed Jun 3, 2019
1 parent 23119ca commit 6421974
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -29,7 +29,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.3.1">12.3.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.4.0">12.4.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.3.1">12.3.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.3.0">12.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.2.0">12.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.1.0">12.1.0</a><br/>
Expand Down
10 changes: 5 additions & 5 deletions doc/api/cli.md
Expand Up @@ -254,7 +254,7 @@ added: v12.0.0

### `--heap-prof`
<!-- YAML
added: REPLACEME
added: v12.4.0
-->

> Stability: 1 - Experimental
Expand All @@ -276,7 +276,7 @@ Heap.20190409.202950.15293.0.001.heapprofile

### `--heap-prof-dir`
<!-- YAML
added: REPLACEME
added: v12.4.0
-->

> Stability: 1 - Experimental
Expand All @@ -286,7 +286,7 @@ be placed.

### `--heap-prof-interval`
<!-- YAML
added: REPLACEME
added: v12.4.0
-->

> Stability: 1 - Experimental
Expand All @@ -296,7 +296,7 @@ by `--heap-prof`. The default is 512 * 1024 bytes.

### `--heap-prof-name`
<!-- YAML
added: REPLACEME
added: v12.4.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -324,7 +324,7 @@ This flag is likely to become a no-op and removed at some point in the future.

### `--http-server-default-timeout=milliseconds`
<!-- YAML
added: REPLACEME
added: v12.4.0
-->

Overrides the default value of `http`, `https` and `http2` server socket
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Expand Up @@ -1911,7 +1911,7 @@ error will be thrown.
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v12.4.0
pr-url: https://github.com/nodejs/node/pull/27782
description: The `options` parameter now supports `net.createServer()`
options.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Expand Up @@ -1178,7 +1178,7 @@ being issued by trusted CA (`options.ca`).
<!-- YAML
added: v0.11.3
changes:
- version: REPLACEME
- version: v12.4.0
pr-url: https://github.com/nodejs/node/pull/27816
description: The `hints` option is now supported.
- version: v12.2.0
Expand Down

0 comments on commit 6421974

Please sign in to comment.