From 3cbfde1f253fd21ea011c718f21dd40292621c99 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 27 Apr 2021 08:02:39 -0700 Subject: [PATCH] doc: mark querystring api as legacy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: James M Snell Fixes: https://github.com/nodejs/node/issues/38231 PR-URL: https://github.com/nodejs/node/pull/38436 Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Anna Henningsen --- doc/api/querystring.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 2b8755df413914..4b7db7afc3b948 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -2,7 +2,7 @@ -> Stability: 2 - Stable +> Stability: 3 - Legacy @@ -15,6 +15,9 @@ query strings. It can be accessed using: const querystring = require('querystring'); ``` +The `querystring` API is considered Legacy. While it is still maintained, +new code should use the {URLSearchParams} API instead. + ## `querystring.decode()`