1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/runtime/ops
Bartek Iwańczuk 24c3c96958
feat: granular --unstable-* flags (#20968)
This commit adds granular `--unstable-*` flags:
- "--unstable-broadcast-channel"
- "--unstable-ffi"
- "--unstable-fs"
- "--unstable-http"
- "--unstable-kv"
- "--unstable-net"
- "--unstable-worker-options"
- "--unstable-cron"

These flags are meant to replace a "catch-all" flag - "--unstable", that
gives a binary control whether unstable features are enabled or not. The
downside of this flag that allowing eg. Deno KV API also enables the FFI
API (though the latter is still gated with a permission).

These flags can also be specified in `deno.json` file under `unstable`
key.

Currently, "--unstable" flag works the same way - I will open a follow
up PR that will print a warning when using "--unstable" and suggest to use
concrete "--unstable-*" flag instead. We plan to phase out "--unstable"
completely in Deno 2.
2023-11-01 23:15:08 +01:00
..
os refactor: migrate more ops to op2 macro (#20808) 2023-10-07 21:04:03 +05:30
web_worker refactor: rewrite some ops to op2 macro (#20603) 2023-09-21 08:08:23 -06:00
fs_events.rs refactor: rewrite runtime/ ops to op2 (#20459) 2023-09-12 00:10:43 +02:00
http.rs refactor: FeatureChecker integration in ext/ crates (#20797) 2023-10-12 15:55:50 +00:00
mod.rs refactor: FeatureChecker integration in ext/ crates (#20797) 2023-10-12 15:55:50 +00:00
permissions.rs refactor: rewrite runtime/ ops to op2 (#20459) 2023-09-12 00:10:43 +02:00
process.rs refactor: FeatureChecker integration in ext/ crates (#20797) 2023-10-12 15:55:50 +00:00
runtime.rs refactor: rewrite websocket to use op2 macro (#20140) 2023-10-04 21:43:58 +00:00
signal.rs chore: bump deno_core and cargo update (#20480) 2023-09-13 22:01:31 +00:00
tty.rs chore: use is_terminal in atty (#21010) 2023-10-28 19:49:21 -07:00
utils.rs refactor: move TaskQueue from deno_runtime to deno_core (#18016) 2023-03-05 00:10:31 +00:00
web_worker.rs chore: update deno_core and port all remaining ops to op2 (#20954) 2023-10-25 13:43:38 +02:00
worker_host.rs feat: granular --unstable-* flags (#20968) 2023-11-01 23:15:08 +01:00