From bddf8ce2667c4ee3be0450f0a2cd27ed5cf9eb4e Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 29 Nov 2022 19:59:37 -0500 Subject: [PATCH 1/7] doc: change fetch from experimental to stable This PR implements documentation changes related to #45287 --- doc/api/cli.md | 2 +- doc/api/globals.md | 16 +++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index c09066a29a1dec..33843ea4c6f122 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -391,7 +391,7 @@ Use the specified file as a security policy. added: v18.0.0 --> -Disable experimental support for the [Fetch API][]. +Disable the [Fetch API][] global. ### `--no-experimental-global-webcrypto` diff --git a/doc/api/globals.md b/doc/api/globals.md index ec42fd53ab24eb..3dd43a9a68a47a 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -469,8 +469,7 @@ changes: description: No longer behind `--experimental-global-fetch` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][] -> CLI flag. +> Stability: 2 - Stable A browser-compatible implementation of the [`fetch()`][] function. @@ -486,8 +485,7 @@ changes: description: No longer behind `--experimental-global-fetch` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][] -> CLI flag. +> Stability: 2 - Stable A browser-compatible implementation of {FormData}. @@ -518,8 +516,7 @@ changes: description: No longer behind `--experimental-global-fetch` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][] -> CLI flag. +> Stability: 2 - Stable A browser-compatible implementation of {Headers}. @@ -755,8 +752,7 @@ changes: description: No longer behind `--experimental-global-fetch` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][] -> CLI flag. +> Stability: 2 - Stable A browser-compatible implementation of {Response}. @@ -772,8 +768,7 @@ changes: description: No longer behind `--experimental-global-fetch` CLI flag. --> -> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][] -> CLI flag. +> Stability: 2 - Stable A browser-compatible implementation of {Request}. @@ -971,7 +966,6 @@ added: v18.0.0 A browser-compatible implementation of [`WritableStreamDefaultWriter`][]. [Web Crypto API]: webcrypto.md -[`--no-experimental-fetch`]: cli.md#--no-experimental-fetch [`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent [`--no-experimental-global-webcrypto`]: cli.md#--no-experimental-global-webcrypto [`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController From 86cf08ec80fe913102f740bcb7a50b75ec079ed5 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 30 Nov 2022 19:06:58 -0500 Subject: [PATCH 2/7] doc: add "exposition" Co-authored-by: Mohammed Keyvanzadeh --- doc/api/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 33843ea4c6f122..e921c6a5d5bb23 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -391,7 +391,7 @@ Use the specified file as a security policy. added: v18.0.0 --> -Disable the [Fetch API][] global. +Disable exposition of [Fetch API][] on the global scope. ### `--no-experimental-global-webcrypto` From 37c2a33138579790aa3d9b46f0ac59684212f5ce Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 19 Sep 2023 17:15:26 -0400 Subject: [PATCH 3/7] doc: change web streams from experimental to stable --- doc/api/webstreams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index a8a111caef6414..617173d03ae1c8 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -10,7 +10,7 @@ changes: description: Use of this API no longer emit a runtime warning. --> -> Stability: 1 - Experimental. +> Stability: 2 - Stable An implementation of the [WHATWG Streams Standard][]. From ee7f305aea57055e6e2c0803cc9812ead0c0dcd6 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 21 Sep 2023 11:56:25 -0400 Subject: [PATCH 4/7] doc: global fetch version history --- doc/api/globals.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/globals.md b/doc/api/globals.md index e7fa78295641d8..9ecb280356a0af 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -478,6 +478,10 @@ added: - v17.5.0 - v16.15.0 changes: + - version: + - REPLACEME + pr-url: https://github.com/nodejs/node/pull/46718 + description: No longer experimental. - version: v18.0.0 pr-url: https://github.com/nodejs/node/pull/41811 description: No longer behind `--experimental-global-fetch` CLI flag. From e2b376ffb91fbb75879e41e19681925847c4debc Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 21 Sep 2023 11:57:15 -0400 Subject: [PATCH 5/7] doc: webstreams version history --- doc/api/webstreams.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 617173d03ae1c8..6d75212aba4a3f 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -5,6 +5,10 @@