diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-05-06 14:40:25 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-05-07 20:38:46 +0200 |
commit | e006a8545e6ed45a4e1ba231e9abde794c033d02 (patch) | |
tree | d9fd91da7bc6dca60b175b9393c0549149174898 /doc/api | |
parent | c476daf6d9397966e2a9c76de4d5f20724772718 (diff) | |
download | android-node-v8-e006a8545e6ed45a4e1ba231e9abde794c033d02.tar.gz android-node-v8-e006a8545e6ed45a4e1ba231e9abde794c033d02.tar.bz2 android-node-v8-e006a8545e6ed45a4e1ba231e9abde794c033d02.zip |
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
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/cli.md | 6 | ||||
-rw-r--r-- | doc/api/deprecations.md | 4 | ||||
-rw-r--r-- | doc/api/modules.md | 4 | ||||
-rw-r--r-- | doc/api/tls.md | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index ee766a2858..a8a18620fb 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -109,7 +109,7 @@ be placed. ### `--cpu-prof-interval` <!-- YAML -added: REPLACEME +added: v12.2.0 --> > Stability: 1 - Experimental @@ -598,7 +598,7 @@ with old TLS clients or servers. ### `--tls-min-v1.2` <!-- YAML -added: REPLACEME +added: v12.2.0 --> Set default [`tls.DEFAULT_MIN_VERSION`][] to 'TLSv1.2'. This is the default for @@ -653,7 +653,7 @@ of the event loop. ### `--trace-tls` <!-- YAML -added: REPLACEME +added: v12.2.0 --> 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 a9991fc3da..fc8d78187b 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. <a id="DEP0130"></a> -### DEP00XX: Module.createRequireFromPath() +### DEP0130: Module.createRequireFromPath() <!-- YAML changes: - - version: REPLACEME + - version: v12.2.0 pr-url: https://github.com/nodejs/node/pull/27405 description: Documentation-only. --> diff --git a/doc/api/modules.md b/doc/api/modules.md index ca469d635e..9266d43f49 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -914,7 +914,7 @@ const builtin = require('module').builtinModules; ### module.createRequire(filename) <!-- YAML -added: REPLACEME +added: v12.2.0 --> * `filename` {string|URL} Filename to be used to construct the require @@ -933,7 +933,7 @@ requireUtil('./some-tool'); ### module.createRequireFromPath(filename) <!-- YAML added: v10.12.0 -deprecated: REPLACEME +deprecated: v12.2.0 --> * `filename` {string} Filename to be used to construct the relative require diff --git a/doc/api/tls.md b/doc/api/tls.md index 3d2a9534f1..2c433fd50d 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -586,7 +586,7 @@ connection is open. <!-- YAML added: v0.11.4 changes: - - version: REPLACEME + - version: v12.2.0 pr-url: https://github.com/nodejs/node/pull/27497 description: The `enableTrace` option is now supported. - version: v5.0.0 @@ -731,7 +731,7 @@ to renegotiate will trigger an `'error'` event on the `TLSSocket`. ### tlsSocket.enableTrace() <!-- YAML -added: REPLACEME +added: v12.2.0 --> When enabled, TLS packet trace information is written to `stderr`. This can be @@ -1129,7 +1129,7 @@ being issued by trusted CA (`options.ca`). <!-- YAML added: v0.11.3 changes: - - version: REPLACEME + - version: v12.2.0 pr-url: https://github.com/nodejs/node/pull/27497 description: The `enableTrace` option is now supported. - version: v11.8.0 |