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: nodejs#45684
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
  • Loading branch information
styfle authored and alexfernandez committed Nov 1, 2023
1 parent ae03fe8 commit 0eea34f
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 @@ -1117,7 +1117,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 @@ -478,13 +478,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 @@ -505,13 +508,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 @@ -541,13 +547,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 @@ -813,13 +822,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 @@ -830,13 +842,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 @@ -1037,7 +1052,6 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
[ECMAScript module]: esm.md
[Navigator API]: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
[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 0eea34f

Please sign in to comment.