-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: wrangler or miniflare turns on --experimental
compatibility flag by default
#2518
Comments
Fixing this will likely be a breaking change, so we should understand when this behavior was introduced (so that we can estimate the impact) and at minimum release the fix in a minor version. |
btw I tested the
|
Hey! 👋 Unfortunately, workerd/src/workerd/io/compatibility-date.capnp Lines 277 to 279 in 1a99c34
In theory, we could enable these with some other command line flag if needed, but enabling |
the problem is that as a user right now, if I add For this reason, we decided to for now to prefix Ultimately however, I think that we should build the support for |
Linking to give context to future readers: cloudflare/workers-sdk#2534 |
I don't think we can resolve this only in Wrangler. Instead this is more of a feature request for workerd. So I'm going to transfer the issue there to be triaged. |
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
cloudflare/workers-sdk#5878
What version of Node are you using?
22
What operating system and version are you using?
Mac
Describe the Bug
Observed behavior
I'm able to use the
nodejs_compat_v2
experimental flag without having to turn on theexperimental
flag.When logging the args (at this location) that workerd is called with, I see:
Expected behavior
The
experimental
mode should not be on by default and should require the application developer to opt into it.Steps to reproduce
Please provide the following:
nodejs_compat_v2
flag turned on in wrangler tomlThis should fail because the
nodejs_compat_v2
flag is experimental. To fix this the user is expected to addexperimental
to the compatibility_flags array in wrangler.toml.Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: