Skip to content

Commit

Permalink
2020-05-19, Version 14.3.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

async_hooks:
  * (SEMVER-MINOR) move PromiseHook handler to JS (Stephen Belanger) #32891
cli:
  * (SEMVER-MINOR) add `--trace-atomics-wait` flag (Anna Henningsen) #33292
fs:
  * (SEMVER-MINOR) add .ref() and .unref() methods to watcher classes (rickyes) #33134
http:
  * (SEMVER-MINOR) expose http.validate-header-name/value (osher) #33119
repl:
  * (SEMVER-MINOR) deprecate repl._builtinLibs (Ruben Bridgewater) #33294
  * (SEMVER-MINOR) deprecate repl.inputStream and repl.outputStream (Ruben Bridgewater) #33294
  * (SEMVER-MINOR) show reference errors during preview (Ruben Bridgewater) #33282
  * (SEMVER-MINOR) improve repl preview (Ruben Bridgewater) #33282
src:
  * add support for TLA (Gus Caplan) #30370

PR-URL: TODO
  • Loading branch information
codebytere committed May 19, 2020
1 parent e4ad464 commit 5d81e4d
Show file tree
Hide file tree
Showing 11 changed files with 166 additions and 28 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.2.0">14.2.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.3.0">14.3.0</a></b><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/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.0.0">14.0.0</a><br/>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ for TLSv1.2, which is not as secure as TLSv1.3.

### `--trace-atomics-wait`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

Print short summaries of calls to [`Atomics.wait()`][] to stderr.
Expand Down
12 changes: 6 additions & 6 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2666,11 +2666,11 @@ Type: Documentation-only
Use [`request.destroy()`][] instead of [`request.abort()`][].
<a id="DEP0XXX"></a>
### DEP0XXX: `repl.inputStream` and `repl.outputStream`
<a id="DEP0141"></a>
### DEP0141: `repl.inputStream` and `repl.outputStream`
<!-- YAML
changes:
- version: REPLACEME
- version: v14.3.0
pr-url: https://github.com/nodejs/node/pull/33294
description: Documentation-only (supports [`--pending-deprecation`][]).
-->
Expand All @@ -2680,11 +2680,11 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
The `repl` module exported the input and output stream twice. Use `.input`
instead of `.inputStream` and `.output` instead of `.outputStream`.
<a id="DEP0XX1"></a>
### DEP0XX1: `repl._builtinLibs`
<a id="DEP0142"></a>
### DEP0142: `repl._builtinLibs`
<!-- YAML
changes:
- version: REPLACEME
- version: v14.3.0
pr-url: https://github.com/nodejs/node/pull/33294
description: Documentation-only (supports [`--pending-deprecation`][]).
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ The [`fs.Dir`][] was previously closed.
<a id="ERR_DIR_CONCURRENT_OPERATION"></a>
### `ERR_DIR_CONCURRENT_OPERATION`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

A synchronous read or close call was attempted on an [`fs.Dir`][] which has
Expand Down
10 changes: 5 additions & 5 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the

### `watcher.ref()`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* Returns: {fs.FSWatcher}
Expand All @@ -596,7 +596,7 @@ called previously.

### `watcher.unref()`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* Returns: {fs.FSWatcher}
Expand All @@ -609,7 +609,7 @@ no effect.

## Class: `fs.StatWatcher`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* Extends {EventEmitter}
Expand All @@ -619,7 +619,7 @@ object.

### `watcher.ref()`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* Returns: {fs.StatWatcher}
Expand All @@ -634,7 +634,7 @@ called previously.

### `watcher.unref()`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* Returns: {fs.StatWatcher}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2482,7 +2482,7 @@ not abort the request or do anything besides add a `'timeout'` event.

## `http.validateHeaderName(name)`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* `name` {string}
Expand Down Expand Up @@ -2512,7 +2512,7 @@ try {

## `http.validateHeaderValue(name, value)`
<!-- YAML
added: REPLACEME
added: v14.3.0
-->

* `name` {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ changes:
- version: v14.1.0
pr-url: https://github.com/nodejs/node/pull/32985
description: The `importModuleDynamically` option is now supported.
- version: REPLACEME
- version: v14.3.0
pr-url: https://github.com/nodejs/node/pull/33364
description: Removal of `importModuleDynamically` due to compatibility issues
-->
Expand Down
137 changes: 137 additions & 0 deletions doc/changelogs/CHANGELOG_V14.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,13 @@ function REPLServer(prompt,
deprecate(() => this.input,
'repl.inputStream and repl.outputStream is deprecated. ' +
'Use repl.input and repl.output instead',
'DEP0XXX') :
'DEP0141') :
() => this.input,
set: pendingDeprecation ?
deprecate((val) => this.input = val,
'repl.inputStream and repl.outputStream is deprecated. ' +
'Use repl.input and repl.output instead',
'DEP0XXX') :
'DEP0141') :
(val) => this.input = val,
enumerable: false,
configurable: true
Expand All @@ -241,13 +241,13 @@ function REPLServer(prompt,
deprecate(() => this.output,
'repl.inputStream and repl.outputStream is deprecated. ' +
'Use repl.input and repl.output instead',
'DEP0XXX') :
'DEP0141') :
() => this.output,
set: pendingDeprecation ?
deprecate((val) => this.output = val,
'repl.inputStream and repl.outputStream is deprecated. ' +
'Use repl.input and repl.output instead',
'DEP0XXX') :
'DEP0141') :
(val) => this.output = val,
enumerable: false,
configurable: true
Expand Down Expand Up @@ -1614,12 +1614,12 @@ ObjectDefineProperty(module.exports, '_builtinLibs', {
get: pendingDeprecation ? deprecate(
() => _builtinLibs,
'repl._builtinLibs is deprecated. Check module.builtinModules instead',
'DEP0XX1'
'DEP0142'
) : () => _builtinLibs,
set: pendingDeprecation ? deprecate(
(val) => _builtinLibs = val,
'repl._builtinLibs is deprecated. Check module.builtinModules instead',
'DEP0XX1'
'DEP0142'
) : (val) => _builtinLibs = val,
enumerable: false,
configurable: true
Expand Down
6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 14
#define NODE_MINOR_VERSION 2
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 3
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-repl-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ repl._builtinLibs;

common.expectWarning({
DeprecationWarning: {
DEP0XX1:
DEP0142:
'repl._builtinLibs is deprecated. Check module.builtinModules instead',
DEP0XXX: 'repl.inputStream and repl.outputStream is deprecated. ' +
DEP0141: 'repl.inputStream and repl.outputStream is deprecated. ' +
'Use repl.input and repl.output instead',
DEP0124: 'REPLServer.rli is deprecated',
}
Expand Down

0 comments on commit 5d81e4d

Please sign in to comment.