deno/ext
Bartek Iwańczuk 427b73c3ec
feat: warn when using --unstable, prefer granular flags (#21452)
This commit deprecates "--unstable" flag. 

When "--unstable" flag is encountered a warning like this is printed:
```
The `--unstable` flag is deprecated, use granular `--unstable-*` flags instead.
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
```
When "--unstable" flag is used and an unstable API is called an
additional warning like this is printed for each API call:
```
The `Deno.dlopen` API was used with `--unstable` flag. The `--unstable` flag is deprecated, use granular `--unstable-ffi` instead. 
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags
```
When no "--unstable-*" flag is provided and an unstable API is called
following
warning is issued before exiting:
```
Unstable API 'Deno.dlopen'. The `--unstable-ffi` flag must be provided.
```

---------

Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-23 15:33:07 +01:00
..
broadcast_channel chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
cache chore(ext/cache): remove CachePutResource in preparation for resource rewrite (#21949) 2024-01-15 13:14:54 -07:00
canvas feat(web): ImageBitmap (#21898) 2024-01-22 12:08:01 +01:00
console feat(unstable): add Temporal API support (#21738) 2024-01-15 01:26:57 +01:00
cron BREAKING(unstable): remove Deno.cron() overload (#22035) 2024-01-23 17:37:54 +05:30
crypto chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
fetch chore: upgrade deno_core to 0.247.0 (#21974) 2024-01-18 17:57:22 +01:00
ffi chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
fs chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
http feat(unstable): remove Deno.upgradeHttp API (#21856) 2024-01-22 21:35:39 +00:00
io chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
kv chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
napi chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
net feat: Stabilize Deno.listen for 'unix' transport (#21938) 2024-01-23 17:32:25 +05:30
node feat: warn when using --unstable, prefer granular flags (#21452) 2024-01-23 15:33:07 +01:00
tls chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
url chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
web refactor: port more ops to ensureFastOps() (#22046) 2024-01-23 17:34:53 +05:30
webgpu chore: use ensureFastOps in 02_surface.js (#22045) 2024-01-23 15:15:40 +01:00
webidl chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00
websocket chore: bump rustls-tokio-stream and rustls (#21955) 2024-01-16 21:51:54 +01:00
webstorage chore: forward v1.39.4 release commit to main (#21933) 2024-01-13 20:32:50 -05:00