Skip to content

Commit

Permalink
2020-06-30, Version 14.5.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

build:
  * (SEMVER-MINOR) reset embedder string to "-node.0" (Michaël Zasso) #33376
cli:
  * (SEMVER-MINOR) add alias for report-directory to make it consistent (AshCripps) #33587
crypto:
  * (SEMVER-MINOR) allow KeyObjects in postMessage (Tobias Nießen) #33360
deps:
  * (SEMVER-MINOR) V8: cherry-pick 0d6debcc5f08 (Michaël Zasso) #33376
  * (SEMVER-MINOR) update V8 to 8.3.110.9 (Michaël Zasso) #33376
dgram:
  * (SEMVER-MINOR) allow typed arrays in .send() (Sarat Addepalli) #22413
events:
  * (SEMVER-MINOR) initial implementation of experimental EventTarget (James M Snell) #33556
fs:
  * (SEMVER-MINOR) implement lutimes (Maël Nison) #33399
http:
  * (SEMVER-MINOR) expose host and protocol on ClientRequest (wenningplus) #33803
  * (SEMVER-MINOR) add maxTotalSockets to agent class (rickyes) #33617
  * (SEMVER-MINOR) return this from OutgoingMessage#destroy() (Colin Ihrig) #32789
  * (SEMVER-MINOR) return this from ClientRequest#destroy() (Colin Ihrig) #32789
  * (SEMVER-MINOR) return this from IncomingMessage#destroy() (Colin Ihrig) #32789
  * (SEMVER-MINOR) added scheduling option to http agent (delvedor) #33278
http2:
  * (SEMVER-MINOR) return this for Http2ServerRequest#setTimeout (Pranshu Srivastava) #33994
  * (SEMVER-MINOR) do not modify explicity set date headers (Pranshu Srivastava) #33160
process:
  * (SEMVER-MINOR) add unhandled-rejection throw and warn-with-error-code (Dan Fabulich) #33475
src:
  * (SEMVER-MINOR) store key data in separate class (Tobias Nießen) #33360
  * (SEMVER-MINOR) add NativeKeyObject base class (Tobias Nießen) #33360
  * (SEMVER-MINOR) rename internal key handles to KeyObjectHandle (Tobias Nießen) #33360
  * (SEMVER-MINOR) add equality operators for BaseObjectPtr (Anna Henningsen) #33772
  * (SEMVER-MINOR) introduce BaseObject base FunctionTemplate (Anna Henningsen) #33772
  * (SEMVER-MINOR) add public APIs to manage v8::TracingController (Anna Henningsen) #33850
stream*:
  * runtime deprecate Transform._transformState (Robert Nagy) #32763
win:
  * (SEMVER-MINOR) allow skipping the supported platform check (João Reis) #33176
worker:
  * (SEMVER-MINOR) add public method for marking objects as untransferable (Anna Henningsen) #33979
  * (SEMVER-MINOR) emit `'messagerror'` events for failed deserialization (Anna Henningsen) #33772
  * (SEMVER-MINOR) allow passing JS wrapper objects via postMessage (Anna Henningsen) #33772
  * (SEMVER-MINOR) allow transferring/cloning generic BaseObjects (Anna Henningsen) #33772
worker,fs:
  * (SEMVER-MINOR) make FileHandle transferable (Anna Henningsen) #33772
zlib:
  * (SEMVER-MINOR) add `maxOutputLength` option (unknown) #33516

PR-URL: #34093
  • Loading branch information
codebytere committed Jun 30, 2020
1 parent 0edeeec commit eb8fc2b
Show file tree
Hide file tree
Showing 16 changed files with 428 additions and 62 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.4.0">14.4.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.5.0">14.5.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.4.0">14.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.3.0">14.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.2.0">14.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.1.0">14.1.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Expand Up @@ -1385,7 +1385,7 @@ Overriding this value to an empty string (`''`) will use the built-in REPL.

### `NODE_SKIP_PLATFORM_CHECK=value`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

If `value` equals `'1'`, the check for a supported platform is skipped during
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Expand Up @@ -1216,7 +1216,7 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v11.6.0
changes:
- version: REPLACEME
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/33360
description: Instances of this class can now be passed to worker threads
using `postMessage`.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/deprecations.md
Expand Up @@ -2722,9 +2722,9 @@ native modules. It was incomplete so far and instead it's better to rely upon
### DEP0143: `module.parent`
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/32217
description: Documentation-only deprecation.
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/33126
description: Runtime deprecation.
-->

Type: Documentation-only (supports [`--pending-deprecation`][])
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Expand Up @@ -399,7 +399,7 @@ if the socket is not connected.
<!-- YAML
added: v0.1.99
changes:
- version: REPLACEME
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/22413
description: The `msg` parameter can now be any `TypedArray` or `DataView`.
- version: v8.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dns.md
Expand Up @@ -96,7 +96,7 @@ The following methods from the `dns` module are available:
<!-- YAML
added: v8.3.0
changes:
- version: REPLACEME
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/33472
description: The constructor now accepts an `options` object.
The single supported option is `timeout`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Expand Up @@ -1569,7 +1569,7 @@ failed.
<a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a>
### `ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

A message posted to a [`MessagePort`][] could not be deserialized in the target
Expand Down
64 changes: 32 additions & 32 deletions doc/api/events.md
Expand Up @@ -939,7 +939,7 @@ composed of the emitted event arguments.

## `EventTarget` and `Event` API
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -1056,15 +1056,15 @@ The `EventTarget` does not implement any special default handling for

### Class: `Event`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

The `Event` object is an adaptation of the [`Event` Web API][]. Instances
are created internally by Node.js.

#### `event.bubbles`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean} Always returns `false`.
Expand All @@ -1073,22 +1073,22 @@ This is not used in Node.js and is provided purely for completeness.

#### `event.cancelBubble()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

Alias for `event.stopPropagation()`. This is not used in Node.js and is
provided purely for completeness.

#### `event.cancelable`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean} True if the event was created with the `cancelable` option.

#### `event.composed`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean} Always returns `false`.
Expand All @@ -1097,7 +1097,7 @@ This is not used in Node.js and is provided purely for completeness.

#### `event.composedPath()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

Returns an array containing the current `EventTarget` as the only entry or
Expand All @@ -1106,7 +1106,7 @@ Node.js and is provided purely for completeness.

#### `event.currentTarget`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {EventTarget} The `EventTarget` dispatching the event.
Expand All @@ -1115,7 +1115,7 @@ Alias for `event.target`.

#### `event.defaultPrevented`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean}
Expand All @@ -1125,7 +1125,7 @@ called.

#### `event.eventPhase`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {number} Returns `0` while an event is not being dispatched, `2` while
Expand All @@ -1135,7 +1135,7 @@ This is not used in Node.js and is provided purely for completeness.

#### `event.isTrusted`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean} Always returns `false`.
Expand All @@ -1144,14 +1144,14 @@ This is not used in Node.js and is provided purely for completeness.

#### `event.preventDefault()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

Sets the `defaultPrevented` property to `true` if `cancelable` is `true`.

#### `event.returnValue`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {boolean} True if the event has not been canceled.
Expand All @@ -1160,7 +1160,7 @@ This is not used in Node.js and is provided purely for completeness.

#### `event.srcElement`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {EventTarget} The `EventTarget` dispatching the event.
Expand All @@ -1169,28 +1169,28 @@ Alias for `event.target`.

#### `event.stopImmediatePropagation()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

Stops the invocation of event listeners after the current one completes.

#### `event.stopPropagation()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

This is not used in Node.js and is provided purely for completeness.

#### `event.target`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {EventTarget} The `EventTarget` dispatching the event.

#### `event.timeStamp`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {number}
Expand All @@ -1199,7 +1199,7 @@ The millisecond timestamp when the `Event` object was created.

#### `event.type`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Type: {string}
Expand All @@ -1208,12 +1208,12 @@ The event type identifier.

### Class: `EventTarget`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

#### `eventTarget.addEventListener(type, listener[, options])`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand Down Expand Up @@ -1255,7 +1255,7 @@ target.removeEventListener('foo', handler, { capture: true });

#### `eventTarget.dispatchEvent(event)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `event` {Object|Event}
Expand All @@ -1269,7 +1269,7 @@ were registered.

#### `eventTarget.removeEventListener(type, listener)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1281,7 +1281,7 @@ Removes the `listener` from the list of handlers for event `type`.

### Class: `NodeEventTarget`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Extends: {EventTarget}
Expand All @@ -1291,7 +1291,7 @@ that emulates a subset of the `EventEmitter` API.

#### `nodeEventTarget.addListener(type, listener[, options])`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1308,7 +1308,7 @@ equivalent `EventEmitter` API. The only difference between `addListener()` and

#### `nodeEventTarget.eventNames()`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* Returns: {string[]}
Expand All @@ -1318,7 +1318,7 @@ of event `type` names for which event listeners are registered.

#### `nodeEventTarget.listenerCount(type)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1330,7 +1330,7 @@ of event listeners registered for the `type`.

#### `nodeEventTarget.off(type, listener)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1342,7 +1342,7 @@ Node.js-speciic alias for `eventTarget.removeListener()`.

#### `nodeEventTarget.on(type, listener[, options])`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1356,7 +1356,7 @@ Node.js-specific alias for `eventTarget.addListener()`.

#### `nodeEventTarget.once(type, listener[, options])`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1371,7 +1371,7 @@ with the `once` option set to `true`.

#### `nodeEventTarget.removeAllListeners([type])`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand All @@ -1382,7 +1382,7 @@ listeners.

#### `nodeEventTarget.removeListener(type, listener)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `type` {string}
Expand Down
6 changes: 3 additions & 3 deletions doc/api/fs.md
Expand Up @@ -2400,7 +2400,7 @@ Synchronous lchown(2). Returns `undefined`.

## `fs.lutimes(path, atime, mtime, callback)`
<!-- YAML
addded: REPLACEME
addded: v14.5.0
-->

* `path` {string|Buffer|URL}
Expand All @@ -2419,7 +2419,7 @@ callback.

## `fs.lutimesSync(path, atime, mtime)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `path` {string|Buffer|URL}
Expand Down Expand Up @@ -5071,7 +5071,7 @@ no arguments upon success.

### `fsPromises.lutimes(path, atime, mtime)`
<!-- YAML
added: REPLACEME
added: v14.5.0
-->

* `path` {string|Buffer|URL}
Expand Down

0 comments on commit eb8fc2b

Please sign in to comment.