-
Notifications
You must be signed in to change notification settings - Fork 688
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
Version Packages #4734
Version Packages #4734
Conversation
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/workers-sdk/runs/7544521367/npm-package-wrangler-4734 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7544521367/npm-package-wrangler-4734 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-wrangler-4734 dev path/to/script.js Additional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-miniflare-4734 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-cloudflare-pages-shared-4734 npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-create-cloudflare-4734 --no-auto-update Note that these links will no longer work once the GitHub Actions artifact expires.
| Please ensure constraints are pinned, and |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4734 +/- ##
==========================================
+ Coverage 75.66% 75.74% +0.07%
==========================================
Files 243 243
Lines 13226 13226
Branches 3396 3396
==========================================
+ Hits 10008 10018 +10
+ Misses 3218 3208 -10 |
80ccff6
to
1627b20
Compare
1627b20
to
deaaa5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
miniflare@3.20231218.2
Minor Changes
#4686
4f6999ea
Thanks @mrbbot! - feat: exposerows_read
androws_written
in D1 resultmeta
rows_read
/rows_written
contain the number of rows read from/written to the database engine when executing a query respectively. These numbers may be greater than the number of rows returned from/inserted by a query. These numbers form billing metrics when your Worker is deployed. See https://developers.cloudflare.com/d1/platform/pricing/#billing-metrics for more details.Patch Changes
#4719
c37d94b5
Thanks @mrbbot! - fix: ensureminiflare
andwrangler
can source map in the same processPreviously, if in a
wrangler dev
session you calledconsole.log()
and threw an unhandled error you'd see an error like[ERR_ASSERTION]: The expression evaluated to a falsy value
. This change ensures you can do both of these things in the same session.create-cloudflare@2.9.1
Patch Changes
4667e0ed
Thanks @dario-piotrowicz! - fix: Update Next.js template to support bindings for dev server@cloudflare/pages-shared@0.11.7
Patch Changes
4f6999ea
,c37d94b5
]:wrangler@3.22.5
Patch Changes
#4707
96a27f3d
Thanks @mrbbot! - fix: only offer to report unknown errorsPreviously, Wrangler would offer to report any error to Cloudflare. This included errors caused by misconfigurations or invalid commands. This change ensures those types of errors aren't reported.
#4676
078cf84d
Thanks @dario-piotrowicz! - make sure the script path is correctly resolved inpages dev
when no directory is specified#4722
5af6df13
Thanks @mrbbot! - fix: don't require auth forwrangler r2 object --local
operationsPreviously, Wrangler would ask you to login when reading or writing from local R2 buckets. This change ensures no login prompt is displayed, as authentication isn't required for these operations.
#4719
c37d94b5
Thanks @mrbbot! - fix: ensureminiflare
andwrangler
can source map in the same processPreviously, if in a
wrangler dev
session you calledconsole.log()
and threw an unhandled error you'd see an error like[ERR_ASSERTION]: The expression evaluated to a falsy value
. This change ensures you can do both of these things in the same session.#4683
24147166
Thanks @mrbbot! - fix: ensure logs containingat
not truncated toat [object Object]
Previously, logs containing
at
were always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives.#4748
3603a60d
Thanks @Cherry! - fix: resolve imports in a more node-like fashion for packages that do not declare exportsPreviously, trying to import a file that wasn't explicitly exported from a module would result in an error, but now, better attempts are made to resolve the import using node's module resolution algorithm. It's now possible to do things like this:
This works even if the
mozjpeg_dec.wasm
file isn't explicitly exported from the@jsquash/jpeg
module.Fixes 🐛 BUG: onResolve error from bundling module resultion when importing wasm modules from npm packages #4726
#4687
0a488f66
Thanks @mrbbot! - fix: remove confusing--local
messaging fromwrangler pages dev
Running
wrangler pages dev
would previously log a warning saying--local is no longer required
even though--local
was never set. This change removes this warning.Updated dependencies [
4f6999ea
,c37d94b5
]: