Skip to content
Permalink
Browse files

2019-06-04, Version 12.4.0 (Current)

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 f585dca commit cb68c04ce1bc4534b2d92bc7319c6ff6dda0180d
Showing with 145 additions and 7 deletions.
  1. +2 −1 CHANGELOG.md
  2. +4 −4 doc/api/cli.md
  3. +1 −1 doc/api/http2.md
  4. +1 −1 doc/api/tls.md
  5. +137 −0 doc/changelogs/CHANGELOG_V12.md
@@ -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/>
@@ -254,7 +254,7 @@ added: v12.0.0

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

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

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

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

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

> Stability: 1 - Experimental
@@ -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
@@ -1913,7 +1913,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.
@@ -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

0 comments on commit cb68c04

Please sign in to comment.
You can’t perform that action at this time.