Skip to content

Commit

Permalink
doc: promote fetch/webstreams from experimental to stable
Browse files Browse the repository at this point in the history
PR-URL: #45684
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Robert Nagy <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
  • Loading branch information
styfle authored and ruyadorno committed Sep 28, 2023
1 parent 835f9fe commit 0fbbe49
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ Silence deprecation warnings.
added: v18.0.0
-->

Disable experimental support for the [Fetch API][].
Disable exposition of [Fetch API][] on the global scope.

### `--no-experimental-global-customevent`

Expand Down
36 changes: 25 additions & 11 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,16 @@ added:
- v17.5.0
- v16.15.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
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.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of the [`fetch()`][] function.

Expand All @@ -503,13 +506,16 @@ added:
- v17.6.0
- v16.15.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
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.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {FormData}.

Expand Down Expand Up @@ -539,13 +545,16 @@ added:
- v17.5.0
- v16.15.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
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.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Headers}.

Expand Down Expand Up @@ -776,13 +785,16 @@ added:
- v17.5.0
- v16.15.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
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.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Response}.

Expand All @@ -793,13 +805,16 @@ added:
- v17.5.0
- v16.15.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
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.
-->

> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
> CLI flag.
> Stability: 2 - Stable
A browser-compatible implementation of {Request}.

Expand Down Expand Up @@ -999,7 +1014,6 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
[CommonJS module]: modules.md
[ECMAScript module]: esm.md
[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
Expand Down
6 changes: 5 additions & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
<!-- YAML
added: v16.5.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/42225
description: Use of this API no longer emit a runtime warning.
-->

> Stability: 1 - Experimental.
> Stability: 2 - Stable
An implementation of the [WHATWG Streams Standard][].

Expand Down

0 comments on commit 0fbbe49

Please sign in to comment.