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
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 28, 2020
1 parent 2c568c8 commit 4d34814
Show file tree
Hide file tree
Showing 16 changed files with 428 additions and 62 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,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
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,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
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,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
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,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 @@ -1054,15 +1054,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 @@ -1071,22 +1071,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 @@ -1095,7 +1095,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 @@ -1104,7 +1104,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 @@ -1113,7 +1113,7 @@ Alias for `event.target`.

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

* Type: {boolean}
Expand All @@ -1123,7 +1123,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 @@ -1133,7 +1133,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 @@ -1142,14 +1142,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 @@ -1158,7 +1158,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 @@ -1167,28 +1167,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 @@ -1197,7 +1197,7 @@ The millisecond timestamp when the `Event` object was created.

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

* Type: {string}
Expand All @@ -1206,12 +1206,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 @@ -1253,7 +1253,7 @@ target.removeEventListener('foo', handler, { capture: true });

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

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

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

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

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

The `NodeEventTarget` is a Node.js-specific extension to `EventTarget`
that emulates a subset of the `EventEmitter` API.

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

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

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

* Returns: {string[]}
Expand All @@ -1314,7 +1314,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 @@ -1326,7 +1326,7 @@ of event listeners registered for the `type`.

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

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

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

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

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

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

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

* `type` {string}
Expand All @@ -1378,7 +1378,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
Original file line number Diff line number Diff line change
Expand Up @@ -2394,7 +2394,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 @@ -2413,7 +2413,7 @@ callback.

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

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

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

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

0 comments on commit 4d34814

Please sign in to comment.