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 Sep 24, 2023
1 parent 5d6aa85 commit 740ca54
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.

This comment was marked as spam.

Copy link
@Marodero56

Marodero56 Oct 21, 2023

Test

> Stability: 2 - Stable
A browser-compatible implementation of the [`fetch()`][] function.

This comment was marked as spam.

Copy link
@Marodero56

Marodero56 Oct 21, 2023

Test


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

2 comments on commit 740ca54

@Marodero56

This comment was marked as spam.

@cjihrig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User blocked.

Please sign in to comment.