Merged
Conversation
Contributor
|
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-4734You 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-4734Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-wrangler-4734 dev path/to/script.jsAdditional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-miniflare-4734npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-cloudflare-pages-shared-4734npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7544521367/npm-package-create-cloudflare-4734 --no-auto-updateNote 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
GregBrimble
approved these changes
Jan 16, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
4f6999eaThanks @mrbbot! - feat: exposerows_readandrows_writtenin D1 resultmetarows_read/rows_writtencontain 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
c37d94b5Thanks @mrbbot! - fix: ensureminiflareandwranglercan source map in the same processPreviously, if in a
wrangler devsession 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
4667e0edThanks @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
96a27f3dThanks @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
078cf84dThanks @dario-piotrowicz! - make sure the script path is correctly resolved inpages devwhen no directory is specified#4722
5af6df13Thanks @mrbbot! - fix: don't require auth forwrangler r2 object --localoperationsPreviously, 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
c37d94b5Thanks @mrbbot! - fix: ensureminiflareandwranglercan source map in the same processPreviously, if in a
wrangler devsession 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
24147166Thanks @mrbbot! - fix: ensure logs containingatnot truncated toat [object Object]Previously, logs containing
atwere always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives.#4748
3603a60dThanks @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.wasmfile isn't explicitly exported from the@jsquash/jpegmodule.Fixes 🐛 BUG: onResolve error from bundling module resultion when importing wasm modules from npm packages #4726
#4687
0a488f66Thanks @mrbbot! - fix: remove confusing--localmessaging fromwrangler pages devRunning
wrangler pages devwould previously log a warning saying--local is no longer requiredeven though--localwas never set. This change removes this warning.Updated dependencies [
4f6999ea,c37d94b5]: