Skip to content
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

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Version Packages #4734

merged 1 commit into from
Jan 16, 2024

Conversation

workers-devprod
Copy link
Contributor

@workers-devprod workers-devprod commented Jan 10, 2024

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: expose rows_read and rows_written in D1 result meta

    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: ensure miniflare and wrangler can source map in the same process

    Previously, if in a wrangler dev session you called console.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

@cloudflare/pages-shared@0.11.7

Patch Changes

wrangler@3.22.5

Patch Changes

  • #4707 96a27f3d Thanks @mrbbot! - fix: only offer to report unknown errors

    Previously, 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 in pages dev when no directory is specified

  • #4722 5af6df13 Thanks @mrbbot! - fix: don't require auth for wrangler r2 object --local operations

    Previously, 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: ensure miniflare and wrangler can source map in the same process

    Previously, if in a wrangler dev session you called console.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 containing at not truncated to at [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 exports

    Previously, 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:

    import JPEG_DEC_WASM from "@jsquash/jpeg/codec/dec/mozjpeg_dec.wasm";

    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 from wrangler 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]:

    • miniflare@3.20231218.2

@workers-devprod workers-devprod requested review from a team as code owners January 10, 2024 11:01
Copy link
Contributor

github-actions bot commented Jan 10, 2024

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 with this latest build directly:

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.


wrangler@3.22.5 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20231218.2
workerd 1.20231218.0 1.20231218.0
workerd --version 1.20231218.0 2023-12-18

|

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4667e0e) 75.66% compared to head (deaaa5f) 75.74%.

Additional details and impacted files

Impacted file tree graph

@@            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     

see 7 files with indirect coverage changes

@workers-devprod workers-devprod force-pushed the changeset-release/main branch 10 times, most recently from 80ccff6 to 1627b20 Compare January 16, 2024 16:18
Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1000hz 1000hz merged commit 42ad768 into main Jan 16, 2024
28 checks passed
@1000hz 1000hz deleted the changeset-release/main branch January 16, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

🐛 BUG: onResolve error from bundling module resultion when importing wasm modules from npm packages
4 participants