From 28aa80d4deed52163b2028aac0db326d99138305 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 7 Oct 2022 06:40:33 -0700 Subject: [PATCH 1/2] doc: remove Legacy status from querystring Closes: https://github.com/nodejs/node/issues/44911 --- doc/api/querystring.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index a3db3c13a80a3d..209538b3d8b2dd 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -2,7 +2,7 @@ -> Stability: 3 - Legacy +> Stability: 2 - Stable @@ -15,8 +15,9 @@ query strings. It can be accessed using: const querystring = require('node:querystring'); ``` -The `querystring` API is considered Legacy. While it is still maintained, -new code should use the {URLSearchParams} API instead. +`querystring` is more performant than {URLSearchParams} but is not a standard +API. Use {URLSearchParams} when performance is not critical or when +compatibility with browser code is desirable. ## `querystring.decode()` From d34b656e4dc793369f3ecb3411cbba03ee44d906 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 7 Oct 2022 06:46:16 -0700 Subject: [PATCH 2/2] fixup! doc: remove Legacy status from querystring --- doc/api/querystring.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 209538b3d8b2dd..752d4b9d584242 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -15,9 +15,9 @@ query strings. It can be accessed using: const querystring = require('node:querystring'); ``` -`querystring` is more performant than {URLSearchParams} but is not a standard -API. Use {URLSearchParams} when performance is not critical or when -compatibility with browser code is desirable. +`querystring` is more performant than {URLSearchParams} but is not a +standardized API. Use {URLSearchParams} when performance is not critical or +when compatibility with browser code is desirable. ## `querystring.decode()`