-
Notifications
You must be signed in to change notification settings - Fork 782
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
Rename unstable_dev() to dev() #2471
Conversation
🦋 Changeset detectedLatest commit: 76a15be The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/runs/3807921413/npm-package-wrangler-2471 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/prs/2471/npm-package-wrangler-2471 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/runs/3807921413/npm-package-wrangler-2471 dev path/to/script.js Additional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/runs/3807921413/npm-package-cloudflare-pages-shared-2471 |
Codecov Report
@@ Coverage Diff @@
## main #2471 +/- ##
==========================================
+ Coverage 72.13% 72.18% +0.04%
==========================================
Files 156 156
Lines 9720 9717 -3
Branches 2546 2544 -2
==========================================
+ Hits 7012 7014 +2
+ Misses 2708 2703 -5
|
We did it @threepointone |
Just bringing up this point from the prior discussion:
From a quick read of this PR, it looks like there's an I think this will limit the future of Wrangler as an API, and it might be worth considering marking more things as experimental. I don't have a full set of things that might change, but as some quick examples:
I don't know if these need to block cc @mrbbot |
@penalosa At that point, what's the difference between an experimental object containing the entire API, and not promoting unstable_dev to dev? We have to commit to the code we release at some point 😅 |
I agree with Max here, since the API is directly utilizing the implementations of the CLI side and they are not "experimental" it doesn't make much since they would be "experimental" here. The API should reflect the current CLI implementation, eventually things will change, however we had talked about the CLI being implemented with the API which would be major/breaking changes to API would be to the CLI as well. I also think making everything "experimental" in API options shows a lack of confidence in current implementations that those options represent in CLI as they are now. |
Hey! 👋 Given the work we're doing to rearchitect Wrangler as a library (see #4175), I think it makes sense to close this PR. We aren't going to be stabilising |
Cool, fair enough - are there plans to write an issue to explain #4175? Feels a bit opaque from the outside. |
hey @rozenmd, apologies for the delay! we've created a milestone for the wrangler as a library work that includes a summary issue for the work (#4730). we'll be tracking related PRs against that issue and within the milestone moving forward :) |
What this PR solves / how to test:
This PR resolves #1420
Associated docs issues/PR:
Author has included the following, where applicable:
Reviewer has performed the following, where applicable:
Fixes #1420