denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
98.26k stars 5.41k forks source link

Granular feature flag system #20779

Open kt3k opened 1 year ago

kt3k commented 1 year ago

Currently all unstable features are behind the flag --unstable, but we'd like to have a system which enables more granular control on unstable features.

kt3k commented 1 year ago

partially resolved in https://github.com/denoland/deno/pull/20765

kt3k commented 1 year ago

Which pattern do we want to use for env vars? DENO_UNSTABLE_KV=1 DENO_UNSTABLE_FFI=1 or DENO_UNSTABLE=kv,ffi cc @dsherret @bartlomieju @ry