From e8dda76aef8c3a88c6c2e26bf1cfd2ed3a05ac9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 6 May 2019 14:40:25 +0200 Subject: [PATCH] 2019-05-07, Version 12.2.0 (Current) Notable changes: * deps: * Updated llhttp to 1.1.3. This fixes a bug that made Node.js' HTTP parser refuse any request URL that contained the "|" (vertical bar) character. https://github.com/nodejs/node/pull/27595 * 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. https://github.com/nodejs/node/pull/27497 https://github.com/nodejs/node/pull/27376 * cli: * Added a `--trace-tls` command-line flag that enables tracing of TLS connections without the need to modify existing application code. https://github.com/nodejs/node/pull/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`. https://github.com/nodejs/node/pull/27535 * module: * Added the `createRequire()` method. It allows to create a require function from a file URL object, a file URL string or an absolute path string. The existing `createRequireFromPath()` method is now deprecated https://github.com/nodejs/node/pull/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. https://github.com/nodejs/node/pull/27417 * repl: * The REPL now supports multi-line statements using `BigInt` literals as well as public and private class fields and methods. https://github.com/nodejs/node/pull/27400 * The REPL now supports tab autocompletion of file paths with `fs` methods. https://github.com/nodejs/node/pull/26648 * meta: * Added Christian Clauss (https://github.com/cclauss) to collaborators. https://github.com/nodejs/node/pull/27554 PR-URL: https://github.com/nodejs/node/pull/27578 --- CHANGELOG.md | 3 +- doc/api/cli.md | 6 +- doc/api/deprecations.md | 4 +- doc/api/modules.md | 4 +- doc/api/tls.md | 6 +- doc/changelogs/CHANGELOG_V12.md | 141 ++++++++++++++++++++++++++++++++ src/node_version.h | 6 +- 7 files changed, 156 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b9bcd9e768a73..3a7259e1caec06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,8 @@ release. -12.1.0
+12.2.0
+12.1.0
12.0.0
diff --git a/doc/api/cli.md b/doc/api/cli.md index ee766a28582074..a8a18620fb3152 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -109,7 +109,7 @@ be placed. ### `--cpu-prof-interval` > Stability: 1 - Experimental @@ -598,7 +598,7 @@ with old TLS clients or servers. ### `--tls-min-v1.2` Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.2'. This is the default for @@ -653,7 +653,7 @@ of the event loop. ### `--trace-tls` Prints TLS packet trace information to `stderr`. This can be used to debug TLS diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index a9991fc3da310a..fc8d78187b2da3 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2440,10 +2440,10 @@ similar functions is not intended for public use. Use `ChildProcess.channel` instead. -### DEP00XX: Module.createRequireFromPath() +### DEP0130: Module.createRequireFromPath() diff --git a/doc/api/modules.md b/doc/api/modules.md index ca469d635ed272..9266d43f49abcd 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -914,7 +914,7 @@ const builtin = require('module').builtinModules; ### module.createRequire(filename) * `filename` {string|URL} Filename to be used to construct the require @@ -933,7 +933,7 @@ requireUtil('./some-tool'); ### module.createRequireFromPath(filename) * `filename` {string} Filename to be used to construct the relative require diff --git a/doc/api/tls.md b/doc/api/tls.md index 3d2a9534f1ab13..2c433fd50d3fec 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -586,7 +586,7 @@ connection is open. When enabled, TLS packet trace information is written to `stderr`. This can be @@ -1129,7 +1129,7 @@ being issued by trusted CA (`options.ca`).