Skip to content

Commit

Permalink
2020-04-14, Version 13.13.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

New file system APIs:
* Added a new function, `fs.readv` (with sync and promisified versions).
  This function takes an array of `ArrayBufferView` elements and will
  write the data it reads sequentially to the buffers
  (Sk Sajidul Kadir). #32356
* A new overload is available for `fs.readSync`, which allows to
  optionally pass any of the `offset`, `length` and `position`
  parameters. #32460

Other changes:
* dns:
  * Added the `dns.ALL` flag, that can be passed to `dns.lookup()` with
    `dns.V4MAPPED` to return resolved IPv6 addresses as well as IPv4
    mapped IPv6 addresses (murgatroid99).
    #32183
* http:
  * The default maximum HTTP header size was changed from 8KB to 16KB
    (rosaxny). #32520
* n-api:
  * Calls to `napi_call_threadsafe_function` from the main thread can
    now return the `napi_would_deadlock` status in certain
    circumstances (Gabriel Schulhof).
    #32689
* util:
  * Added a new `maxStrLength` option to `util.inspect`, to control the
    maximum length of printed strings. Its default value is `Infinity`
    (rosaxny). #32392
* worker:
  * Added support for passing a `transferList` along with `workerData`
    to the `Worker` constructor (Juan José Arboleda).
    #32278

New core collaborators:
With this release, we welcome three new Node.js core collaborators:
* himself65. #32734
* flarna (Gerhard Stoebich). #32620
* mildsunrise (Alba Mendez). #32525

PR-URL: #32813
  • Loading branch information
targos committed Apr 14, 2020
1 parent afae925 commit cf4c332
Show file tree
Hide file tree
Showing 9 changed files with 235 additions and 12 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.12.0">13.12.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V13.md#13.13.0">13.13.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.12.0">13.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.11.0">13.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.10.1">13.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V13.md#13.10.0">13.10.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ disappear in a non-semver-major release.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32520
description: Change maximum default size of HTTP headers from 8KB to 16KB.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ is not set to `true`, it returns a `Promise` for an `Object` with `address` and
### Supported getaddrinfo flags
<!-- YAML
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32183
description: Added support for the `dns.ALL` flag.
-->
Expand Down
10 changes: 5 additions & 5 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3071,9 +3071,9 @@ this API: [`fs.read()`][].

## `fs.readSync(fd, buffer, [options])`
<!-- YAML
added: REPLACEME
added: v13.13.0
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32460
description: Options object can be passed in
to make offset, length and position optional
Expand All @@ -3097,7 +3097,7 @@ this API: [`fs.read()`][].

## `fs.readv(fd, buffers[, position], callback)`
<!-- YAML
added: REPLACEME
added: v13.13.0
-->

* `fd` {integer}
Expand All @@ -3120,7 +3120,7 @@ The callback will be given three arguments: `err`, `bytesRead`, and

## `fs.readvSync(fd, buffers[, position])`
<!-- YAML
added: REPLACEME
added: v13.13.0
-->

* `fd` {integer}
Expand Down Expand Up @@ -4509,7 +4509,7 @@ of the file.

#### `filehandle.readv(buffers[, position])`
<!-- YAML
added: REPLACEME
added: v13.13.0
-->

* `buffers` {ArrayBufferView[]}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5239,7 +5239,7 @@ This API may be called from any thread which makes use of `func`.
added: v10.6.0
napiVersion: 4
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32689
description: >
Return `napi_would_deadlock` when called with `napi_tsfn_blocking` from
Expand Down
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ to mark specific significant moments in the Performance Timeline.
<!-- YAML
added: v8.5.0
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32651
description: Make `startMark` and `endMark` parameters optional.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ stream.write('With ES6');
<!-- YAML
added: v0.3.0
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32392
description: The `maxStringLength` option is supported now.
- version: v13.5.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ if (isMainThread) {
<!-- YAML
added: v10.5.0
changes:
- version: REPLACEME
- version: v13.13.0
pr-url: https://github.com/nodejs/node/pull/32278
description: The `transferList` option was introduced.
- version: v13.12.0
Expand Down
222 changes: 222 additions & 0 deletions doc/changelogs/CHANGELOG_V13.md

Large diffs are not rendered by default.

0 comments on commit cf4c332

Please sign in to comment.