From e4b748a9cc0f7ceeb3a4299da68e42c8c83d2743 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Fri, 1 Aug 2025 20:12:05 -0500 Subject: [PATCH] lib: docs deprecate _http_* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref https://github.com/nodejs/node/pull/58535 Signed-off-by: Sebastian Beltran PR-URL: https://github.com/nodejs/node/pull/59293 Reviewed-By: James M Snell Reviewed-By: Tim Perry Reviewed-By: Marco Ippolito Reviewed-By: Matteo Collina Reviewed-By: Ethan Arrowood Reviewed-By: Luigi Pinca Reviewed-By: Ulises Gascón --- doc/api/deprecations.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 1f4f19a569d..7ce2448444d 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -4082,6 +4082,21 @@ Type: Runtime Creating SHAKE-128 and SHAKE-256 digests without an explicit `options.outputLength` is deprecated. +### DEP0199: `require('node:_http_*')` + + + +Type: Documentation-only + +The `node:_http_agent`, `node:_http_client`, `node:_http_common`, `node:_http_incoming`, +`node:_http_outgoing` and `node:_http_server` modules are deprecated as they should be considered +an internal nodejs implementation rather than a public facing API, use `node:http` instead. + [DEP0142]: #dep0142-repl_builtinlibs [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3