Skip to content

Commit 492762e

Browse files
committed
2019-05-07, Version 12.2.0 (Current)
Notable changes: * tls: * Added an `enableTrace()` method to `TLSSocket` and an `enableTrace` option to `tls.createServer()`. When enabled, TSL packet trace information is written to `stderr`. This can be used to debug TLS connection problems. #27497 * cli: * Added a `--trace-tls` command-line flag that enables tracing of TLS connections without the need to modify existing application code. #27497 * Added a `--cpu-prof-interval` command-line flag. It can be used to specify the sampling interval for the CPU profiles generated by `--cpu-prof`. #27535 * module: * Added the `createRequire()` method. It allows to create a require function a file URL object, a file URL string or an absolute path string. The existing `createRequireFromPath()` method is now deprecated #27405. * Throw on `require('./path.mjs')`. This is technically a breaking change that should have landed with Node.js 12.0.0. It is necessary to have this to keep the possibility for a future minor version to load ES Modules with the require function. #27417 * meta: * Added Christian Clauss (https://github.com/cclauss) to collaborators. #27554 PR-URL: #27578
1 parent bb1eaee commit 492762e

File tree

7 files changed

+148
-14
lines changed

7 files changed

+148
-14
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ release.
3030
</tr>
3131
<tr>
3232
<td valign="top">
33-
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.1.0">12.1.0</a></b><br/>
33+
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.2.0">12.2.0</a></b><br/>
34+
<a href="doc/changelogs/CHANGELOG_V12.md#12.1.0">12.1.0</a><br/>
3435
<a href="doc/changelogs/CHANGELOG_V12.md#12.0.0">12.0.0</a><br/>
3536
</td>
3637
<td valign="top">

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ be placed.
109109

110110
### `--cpu-prof-interval`
111111
<!-- YAML
112-
added: REPLACEME
112+
added: v12.2.0
113113
-->
114114

115115
> Stability: 1 - Experimental
@@ -598,7 +598,7 @@ with old TLS clients or servers.
598598

599599
### `--tls-min-v1.2`
600600
<!-- YAML
601-
added: REPLACEME
601+
added: v12.2.0
602602
-->
603603

604604
Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.2'. This is the default for
@@ -653,7 +653,7 @@ of the event loop.
653653

654654
### `--trace-tls`
655655
<!-- YAML
656-
added: REPLACEME
656+
added: v12.2.0
657657
-->
658658

659659
Prints TLS packet trace information to `stderr`. This can be used to debug TLS

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2440,10 +2440,10 @@ similar functions is not intended for public use. Use `ChildProcess.channel`
24402440
instead.
24412441
24422442
<a id="DEP0130"></a>
2443-
### DEP00XX: Module.createRequireFromPath()
2443+
### DEP0130: Module.createRequireFromPath()
24442444
<!-- YAML
24452445
changes:
2446-
- version: REPLACEME
2446+
- version: v12.2.0
24472447
pr-url: https://github.com/nodejs/node/pull/27405
24482448
description: Documentation-only.
24492449
-->

doc/api/modules.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ const builtin = require('module').builtinModules;
914914

915915
### module.createRequire(filename)
916916
<!-- YAML
917-
added: REPLACEME
917+
added: v12.2.0
918918
-->
919919

920920
* `filename` {string|URL} Filename to be used to construct the require
@@ -933,7 +933,7 @@ requireUtil('./some-tool');
933933
### module.createRequireFromPath(filename)
934934
<!-- YAML
935935
added: v10.12.0
936-
deprecated: REPLACEME
936+
deprecated: v12.2.0
937937
-->
938938

939939
* `filename` {string} Filename to be used to construct the relative require

doc/api/tls.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ connection is open.
586586
<!-- YAML
587587
added: v0.11.4
588588
changes:
589-
- version: REPLACEME
589+
- version: v12.2.0
590590
pr-url: https://github.com/nodejs/node/pull/27497
591591
description: The `enableTrace` option is now supported.
592592
- version: v5.0.0
@@ -731,7 +731,7 @@ to renegotiate will trigger an `'error'` event on the `TLSSocket`.
731731

732732
### tlsSocket.enableTrace()
733733
<!-- YAML
734-
added: REPLACEME
734+
added: v12.2.0
735735
-->
736736

737737
When enabled, TLS packet trace information is written to `stderr`. This can be
@@ -1129,7 +1129,7 @@ being issued by trusted CA (`options.ca`).
11291129
<!-- YAML
11301130
added: v0.11.3
11311131
changes:
1132-
- version: REPLACEME
1132+
- version: v12.2.0
11331133
pr-url: https://github.com/nodejs/node/pull/27497
11341134
description: The `enableTrace` option is now supported.
11351135
- version: v11.8.0

doc/changelogs/CHANGELOG_V12.md

+133
Large diffs are not rendered by default.

src/node_version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define SRC_NODE_VERSION_H_
2424

2525
#define NODE_MAJOR_VERSION 12
26-
#define NODE_MINOR_VERSION 1
27-
#define NODE_PATCH_VERSION 1
26+
#define NODE_MINOR_VERSION 2
27+
#define NODE_PATCH_VERSION 0
2828

2929
#define NODE_VERSION_IS_LTS 0
3030
#define NODE_VERSION_LTS_CODENAME ""
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

0 commit comments

Comments
 (0)