Skip to content

Commit 96d7f62

Browse files
remove unstable flags (#2705)
1 parent dcbcf06 commit 96d7f62

File tree

5 files changed

+6
-19
lines changed

5 files changed

+6
-19
lines changed

api/deno/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ console.log(`Result from external addition of 35 and 34: ${result}`);
555555
Run with `--allow-ffi` and `--unstable` flag:
556556
557557
```sh
558-
deno run --allow-ffi --unstable ffi.ts
558+
deno run --allow-ffi ffi.ts
559559
```
560560
561561
### Non-blocking FFI
@@ -611,7 +611,7 @@ console.log("Before");
611611
Result:
612612
613613
```sh
614-
$ deno run --allow-ffi --unstable unblocking_ffi.ts
614+
$ deno run --allow-ffi unblocking_ffi.ts
615615
Before
616616
After
617617
```

deploy/kv/_admonition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function Admonition({ type, children }) {
1212
// program, as shown below:
1313

1414
// ```sh
15-
// deno run -A --unstable my_kv_code.ts
15+
// deno run -A --unstable-kv my_kv_code.ts
1616
// ```
1717

1818
// :::

runtime/getting_started/command_line_interface.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ includes those which affect module resolution, compilation configuration etc.
176176
--import-map <FILE> Load import map file
177177
--no-remote Do not resolve remote modules
178178
--reload=<CACHE_BLOCKLIST> Reload source code cache (recompile TypeScript)
179-
--unstable Enable unstable APIs
180179
```
181180
182181
### Runtime flags

runtime/reference/cli/jupyter.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ This is a temporary limitation and will be addressed in the future.
1919

2020
## Quickstart
2121

22-
Run `deno jupyter --unstable` and follow the instructions.
22+
Run `deno jupyter` and follow the instructions.
2323

24-
You can run `deno jupyter --unstable --install` to force installation of the
25-
kernel. Deno assumes that `jupyter` command is available in your `PATH`.
24+
You can run `deno jupyter --install` to force installation of the kernel. Deno
25+
assumes that `jupyter` command is available in your `PATH`.
2626

2727
After completing the installation process, the Deno kernel will be available in
2828
the notebook creation dialog in JupyterLab and the classic notebook:

runtime/reference/cli/unstable_flags.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -234,18 +234,6 @@ Please use these feature flags instead moving forward.
234234

235235
:::
236236

237-
Before more recent Deno versions (1.38+), unstable APIs were made available all
238-
at once using the `--unstable` flag. Notably, [Deno KV](/deploy/kv/manual) and
239-
other cloud primitive APIs are available behind this flag. To run a program with
240-
access to these unstable features, you would run your script with:
241-
242-
```sh
243-
deno run --unstable your_script.ts
244-
```
245-
246-
It is recommended that you use the granular unstable flags instead of this, the
247-
`--unstable` flag is now deprecated and will be removed in Deno 2.
248-
249237
## `--unstable-temporal`
250238

251239
Enable the experimental [Temporal API](https://tc39.es/proposal-temporal/docs/)

0 commit comments

Comments
 (0)