Skip to content

Commit f7d59e5

Browse files
committed
doc: add changelogs for tls
PR-URL: #11489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
1 parent fc53547 commit f7d59e5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

doc/api/tls.md

+29
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ connection is open.
461461
### new tls.TLSSocket(socket[, options])
462462
<!-- YAML
463463
added: v0.11.4
464+
changes:
465+
- version: v5.0.0
466+
pr-url: https://github.com/nodejs/node/pull/2564
467+
description: ALPN options are supported now.
464468
-->
465469

466470
* `socket` {net.Socket} An instance of [`net.Socket`][]
@@ -770,6 +774,13 @@ argument.
770774
## tls.connect(options[, callback])
771775
<!-- YAML
772776
added: v0.11.3
777+
changes:
778+
- version: v5.3.0, v4.7.0
779+
pr-url: https://github.com/nodejs/node/pull/4246
780+
description: The `secureContext` option is supported now.
781+
- version: v5.0.0
782+
pr-url: https://github.com/nodejs/node/pull/2564
783+
description: ALPN options are supported now.
773784
-->
774785

775786
* `options` {Object}
@@ -883,6 +894,16 @@ socket.on('end', () => {
883894
## tls.createSecureContext(options)
884895
<!-- YAML
885896
added: v0.11.13
897+
changes:
898+
- version: v7.3.0
899+
pr-url: https://github.com/nodejs/node/pull/10294
900+
description: If the `key` option is an array, individual entries do not
901+
need a `passphrase` property anymore. Array entries can also
902+
just be `string`s or `Buffer`s now.
903+
- version: v5.2.0
904+
pr-url: https://github.com/nodejs/node/pull/4099
905+
description: The `ca` option can now be a single string containing multiple
906+
CA certificates.
886907
-->
887908

888909
* `options` {Object}
@@ -972,6 +993,10 @@ publicly trusted list of CAs as given in
972993
## tls.createServer([options][, secureConnectionListener])
973994
<!-- YAML
974995
added: v0.3.2
996+
changes:
997+
- version: v5.0.0
998+
pr-url: https://github.com/nodejs/node/pull/2564
999+
description: ALPN options are supported now.
9751000
-->
9761001

9771002
* `options` {Object}
@@ -1146,6 +1171,10 @@ certificate used is properly authorized.
11461171
<!-- YAML
11471172
added: v0.3.2
11481173
deprecated: v0.11.3
1174+
changes:
1175+
- version: v5.0.0
1176+
pr-url: https://github.com/nodejs/node/pull/2564
1177+
description: ALPN options are supported now.
11491178
-->
11501179

11511180
> Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead.

0 commit comments

Comments
 (0)