diff options
author | James M Snell <jasnell@gmail.com> | 2020-05-28 23:51:10 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2020-06-01 18:38:00 +0300 |
commit | 41796ebd30744173cbe19201493349e7c8995082 (patch) | |
tree | ac309049969b115cd9bea8d71732cb4aa4b8efaa /doc/api/deprecations.md | |
parent | a85ce885bddaf5fca00dc7d13eb3c5a99663e60f (diff) |
net: remove long deprecated server.connections property
The server.connections property was runtime deprecated in the
0.9 days. It was replaced with getConnections(). It is not
simply an alias for getConnections() because it fails to take
connections shared with forks into consideration. Let's not
keep it around forever and move it to end of life
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/33647
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r-- | doc/api/deprecations.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 5df161c1c69..1ee93d055be 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -481,6 +481,9 @@ This behavior has been removed. ### DEP0020: `Server.connections` <!-- YAML changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/33647 + description: Server.connections has been removed. - version: - v4.8.6 - v6.12.0 @@ -491,10 +494,10 @@ changes: description: Runtime deprecation. --> -Type: Runtime +Type: End-of-life -The [`Server.connections`][] property is deprecated. Please use the -[`Server.getConnections()`][] method instead. +The `Server.connections` property was deprecated in Node.js v0.9.7 and has +been removed. Please use the [`Server.getConnections()`][] method instead. <a id="DEP0021"></a> ### DEP0021: `Server.listenFD` @@ -2759,7 +2762,6 @@ const moduleParents = Object.values(require.cache) [`EventEmitter.listenerCount(emitter, eventName)`]: events.html#events_eventemitter_listenercount_emitter_eventname [`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand [`ReadStream.open()`]: fs.html#fs_class_fs_readstream -[`Server.connections`]: net.html#net_server_connections [`Server.getConnections()`]: net.html#net_server_getconnections_callback [`Server.listen({fd: <number>})`]: net.html#net_server_listen_handle_backlog_callback [`SlowBuffer`]: buffer.html#buffer_class_slowbuffer |