Skip to content

Commit cf0306c

Browse files
doc: update stability index
This simplifies the stability index to 4 levels: 0 - deprecated 1 - experimental / feature-flagged 2 - stable 3 - locked Domains has been downgraded to deprecated, assert has been downgraded to stable. Timers and Module remain locked. All other APIs are now stable. PR-URL: #943 Fixes: #930 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
1 parent fb2439a commit cf0306c

35 files changed

+42
-65
lines changed

doc/api/assert.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Assert
22

3-
Stability: 5 - Locked
3+
Stability: 2 - Stable
44

55
This module is used for writing unit tests for your applications, you can
66
access it with `require('assert')`.

doc/api/buffer.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Buffer
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
Pure JavaScript is Unicode friendly but not nice to binary data. When
66
dealing with TCP streams or the file system, it's necessary to handle octet

doc/api/child_process.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Child Process
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
io.js provides a tri-directional `popen(3)` facility through the
66
`child_process` module.

doc/api/cluster.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cluster
22

3-
Stability: 2 - Unstable
3+
Stability: 2 - Stable
44

55
A single instance of io.js runs in a single thread. To take advantage of
66
multi-core systems the user will sometimes want to launch a cluster of io.js

doc/api/console.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# console
22

3-
Stability: 4 - API Frozen
3+
Stability: 2 - Stable
44

55
* {Object}
66

doc/api/crypto.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Crypto
22

3-
Stability: 2 - Unstable; API changes are being discussed for
4-
future versions. Breaking changes will be minimized. See below.
3+
Stability: 2 - Stable
54

65
Use `require('crypto')` to access this module.
76

doc/api/debugger.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Debugger
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
<!-- type=misc -->
66

doc/api/dgram.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UDP / Datagram Sockets
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
<!-- name=dgram -->
66

doc/api/dns.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DNS
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
Use `require('dns')` to access this module.
66

doc/api/documentation.markdown

+8-22
Original file line numberDiff line numberDiff line change
@@ -42,34 +42,20 @@ compatibility should not be expected.
4242

4343
```
4444
Stability: 1 - Experimental
45-
This feature was introduced recently, and may change
46-
or be removed in future versions. Please try it out and provide feedback.
47-
If it addresses a use-case that is important to you, tell the node core team.
45+
This feature is subject to change, and is gated by a command line flag.
46+
It may change or be removed in future versions.
4847
```
4948

5049
```
51-
Stability: 2 - Unstable
52-
The API is in the process of settling, but has not yet had
53-
sufficient real-world testing to be considered stable. Backwards-compatibility
54-
will be maintained if reasonable.
50+
Stability: 2 - Stable
51+
The API has proven satisfactory. Compatibility with the npm ecosystem
52+
is a high priority, and will not be broken unless absolutely necessary.
5553
```
5654

5755
```
58-
Stability: 3 - Stable
59-
The API has proven satisfactory, but cleanup in the underlying
60-
code may cause minor changes. Backwards-compatibility is guaranteed.
61-
```
62-
63-
```
64-
Stability: 4 - API Frozen
65-
This API has been tested extensively in production and is
66-
unlikely to ever have to change.
67-
```
68-
69-
```
70-
Stability: 5 - Locked
71-
Unless serious bugs are found, this code will not ever
72-
change. Please do not suggest changes in this area; they will be refused.
56+
Stability: 3 - Locked
57+
Only fixes related to security, performance, or bug fixes will be accepted.
58+
Please do not suggest API changes in this area; they will be refused.
7359
```
7460

7561
## JSON Output

doc/api/domain.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Domain
22

3-
Stability: 2 - Unstable
3+
Stability: 0 - Deprecated
44

55
**This module is pending deprecation**. Once a replacement API has been
66
finalized, this module will be fully deprecated. Most end users should

doc/api/events.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Events
22

3-
Stability: 4 - API Frozen
3+
Stability: 2 - Stable
44

55
<!--type=module-->
66

doc/api/fs.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File System
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
<!--name=fs-->
66

doc/api/http.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HTTP
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
To use the HTTP server and client one must `require('http')`.
66

doc/api/https.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HTTPS
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
HTTPS is the HTTP protocol over TLS/SSL. In io.js this is implemented as a
66
separate module.

doc/api/modules.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Modules
22

3-
Stability: 5 - Locked
3+
Stability: 3 - Locked
44

55
<!--name=module-->
66

doc/api/net.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# net
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
The `net` module provides you with an asynchronous network wrapper. It contains
66
methods for creating both servers and clients (called streams). You can include

doc/api/os.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OS
22

3-
Stability: 4 - API Frozen
3+
Stability: 2 - Stable
44

55
Provides a few basic operating-system related utility functions.
66

doc/api/path.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Path
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
This module contains utilities for handling and transforming file
66
paths. Almost all these methods perform only string transformations.

doc/api/punycode.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# punycode
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
[Punycode.js](https://mths.be/punycode) is bundled with io.js v1.0.0+ and
66
Node.js v0.6.2+. Use `require('punycode')` to access it. (To use it with

doc/api/querystring.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Query String
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
<!--name=querystring-->
66

doc/api/readline.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Readline
22

3-
Stability: 2 - Unstable
3+
Stability: 2 - Stable
44

55
To use this module, do `require('readline')`. Readline allows reading of a
66
stream (such as `process.stdin`) on a line-by-line basis.

doc/api/repl.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# REPL
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
A Read-Eval-Print-Loop (REPL) is available both as a standalone program and
66
easily includable in other programs. The REPL provides a way to interactively

doc/api/smalloc.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Smalloc
22

3-
Stability: 1 - Experimental
3+
Stability: 2 - Stable
44

55
## Class: smalloc
66

doc/api/stream.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stream
22

3-
Stability: 2 - Unstable
3+
Stability: 2 - Stable
44

55
A stream is an abstract interface implemented by various objects in
66
io.js. For example a [request to an HTTP

doc/api/string_decoder.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# StringDecoder
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
To use this module, do `require('string_decoder')`. StringDecoder decodes a
66
buffer to a string. It is a simple interface to `buffer.toString()` but provides

doc/api/timers.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Timers
22

3-
Stability: 5 - Locked
3+
Stability: 3 - Locked
44

55
All of the timer functions are globals. You do not need to `require()`
66
this module in order to use them.

doc/api/tls.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TLS (SSL)
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
Use `require('tls')` to access this module.
66

doc/api/tty.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TTY
22

3-
Stability: 2 - Unstable
3+
Stability: 2 - Stable
44

55
The `tty` module houses the `tty.ReadStream` and `tty.WriteStream` classes. In
66
most cases, you will not need to use this module directly.

doc/api/url.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# URL
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
This module has utilities for URL resolution and parsing.
66
Call `require('url')` to use it.

doc/api/util.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# util
22

3-
Stability: 4 - API Frozen
3+
Stability: 2 - Stable
44

55
These functions are in the module `'util'`. Use `require('util')` to
66
access them.

doc/api/v8.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# V8
22

3-
Stability: 1 - Experimental
3+
Stability: 2 - Stable
44

55
This module exposes events and interfaces specific to the version of [V8][]
66
built with io.js. These interfaces are subject to change by upstream and are

doc/api/vm.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Executing JavaScript
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
<!--name=vm-->
66

doc/api/zlib.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Zlib
22

3-
Stability: 3 - Stable
3+
Stability: 2 - Stable
44

55
You can access this module with:
66

doc/api_assets/style.css

+1-9
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,10 @@ code a:hover {
8888
}
8989

9090
.api_stability_2 {
91-
background-color: #FFA000;
91+
background-color: #4EBA0F;
9292
}
9393

9494
.api_stability_3 {
95-
background-color: #AEC516;
96-
}
97-
98-
.api_stability_4 {
99-
background-color: #009431;
100-
}
101-
102-
.api_stability_5 {
10395
background-color: #0084B6;
10496
}
10597

0 commit comments

Comments
 (0)