0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/docs/runtime/stability.md

22 lines
1 KiB
Markdown
Raw Normal View History

## Stability
2020-05-18 15:53:25 -04:00
As of Deno 1.0.0, the `Deno` namespace APIs are stable. That means we will
strive to make code working under 1.0.0 continue to work in future versions.
However, not all of Deno's features are ready for production yet. Features which
2020-05-18 15:53:25 -04:00
are not ready, because they are still in draft phase, are locked behind the
`--unstable` command line flag. Passing this flag does a few things:
- It enables the use of unstable APIs during runtime.
- It adds the
[`lib.deno.unstable.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.unstable.d.ts)
file to the list of TypeScript definitions that are used for type checking.
This includes the output of `deno types`.
You should be aware that unstable APIs have probably **not undergone a security
2020-05-18 15:53:25 -04:00
review**, are likely to have **breaking API changes** in the future, and are
**not ready for production**.
Furthermore Deno's standard modules (https://deno.land/std/) are not yet stable.
We version the standard modules differently from the CLI to reflect this.