skymethod / denoflare

Develop, test, and deploy Cloudflare Workers with Deno.
https://denoflare.dev
MIT License
706 stars 35 forks source link

Deprecated --unstable flag warning #67

Closed mattvr closed 9 months ago

mattvr commented 10 months ago

The documentation says to install with --unstable, but as of Deno 1.40 this now results in a warning upon each use.

The `--unstable` flag is deprecated and will be removed in Deno 2.0. Use granular `--unstable-*` flags instead.
Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flags

I installed without --unstable and it seems to be working OK, which unstable features are used exactly? Couldn't determine in a quick perusal. (Deno reference and available flags here: https://docs.deno.com/runtime/manual/tools/unstable_flags)

johnspurlock-skymethod commented 9 months ago

Hmm, yes it appears the Deno team deprecated --unstable in 1.40.

You'll need --unstable-worker-options to run serve in the default mode (permissionless isolate for sandboxing and hot-reloading).

That should be it - I'll update the docs.

johnspurlock-skymethod commented 9 months ago

Updated docs in https://github.com/skymethod/denoflare-docs/commit/377539a0552f67ab438f8c305cea5198e515031d