Skip to content

Commit

Permalink
doc: add experimental stages
Browse files Browse the repository at this point in the history
PR-URL: #46100
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
  • Loading branch information
GeoffreyBooth committed Jan 14, 2023
1 parent 3803d09 commit 1022c6f
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions doc/api/documentation.md
Expand Up @@ -32,6 +32,18 @@ The stability indices are as follows:
> [semantic versioning][] rules. Non-backward compatible changes or removal may
> occur in any future release. Use of the feature is not recommended in
> production environments.
>
> Experimental features are subdivided into stages:
>
> * 1.0 - Early development. Experimental features at this stage are unfinished
> and subject to substantial change.
> * 1.1 - Active development. Experimental features at this stage are nearing
> minimum viability.
> * 1.2 - Release candidate. Experimental features at this stage are hopefully
> ready to become stable. No further breaking changes are anticipated but may
> still occur in response to user feedback. We encourage user testing and
> feedback so that we can know that this feature is ready to be marked as
> stable.
<!-- separator -->

Expand All @@ -48,9 +60,9 @@ Features are marked as legacy rather than being deprecated if their use does no
harm, and they are widely relied upon within the npm ecosystem. Bugs found in
legacy features are unlikely to be fixed.

Use caution when making use of Experimental features, particularly within
modules. Users may not be aware that experimental features are being used.
Bugs or behavior changes may surprise users when Experimental API
Use caution when making use of Experimental features, particularly when
authoring libraries. Users may not be aware that experimental features are being
used. Bugs or behavior changes may surprise users when Experimental API
modifications occur. To avoid surprises, use of an Experimental feature may need
a command-line flag. Experimental features may also emit a [warning][].

Expand Down

0 comments on commit 1022c6f

Please sign in to comment.