Closed renovate[bot] closed 1 year ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: f2d2ab25e121f476d24db777d876d71bd3c6c7c8
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
^2.14.0
->^3.0.0
Release Notes
cloudflare/workers-sdk (wrangler)
### [`v3.2.0`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#320) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.1.2...wrangler@3.2.0) ##### Minor Changes - [#3583](https://togithub.com/cloudflare/workers-sdk/pull/3583) [`78ddb8de`](https://togithub.com/cloudflare/workers-sdk/commit/78ddb8de78152b2cb4180f23b51ee5478637d92d) Thanks [@penalosa](https://togithub.com/penalosa)! - Upgrade Miniflare (and hence `workerd`) to `v3.20230710.0`. - [#3426](https://togithub.com/cloudflare/workers-sdk/pull/3426) [`5a74cb55`](https://togithub.com/cloudflare/workers-sdk/commit/5a74cb559611b1035fe97ebbe870d7061f3b41d0) Thanks [@matthewdavidrodgers](https://togithub.com/matthewdavidrodgers)! - Prefer non-force deletes unless a Worker is a dependency of another. If a Worker is used as a service binding, a durable object namespace, an outbounds for a dynamic dispatch namespace, or a tail consumer, then deleting that Worker will break those existing ones that depend upon it. Deleting with ?force=true allows you to delete anyway, which is currently the default in Wrangler. Force deletes are not often necessary, however, and using it as the default has unfortunate consequences in the API. To avoid them, we check if any of those conditions exist, and present the information to the user. If they explicitly acknowledge they're ok with breaking their other Workers, fine, we let them do it. Otherwise, we'll always use the much safer non-force deletes. We also add a "--force" flag to the delete command to skip the checks and confirmation and proceed with ?force=true ##### Patch Changes - [#3585](https://togithub.com/cloudflare/workers-sdk/pull/3585) [`e33bb44a`](https://togithub.com/cloudflare/workers-sdk/commit/e33bb44a6a5a243db08835a965bf4918824d4fb7) Thanks [@mrbbot](https://togithub.com/mrbbot)! - fix: register middleware once for module workers Ensure middleware is only registered on the first request when using module workers. This should prevent stack overflows and slowdowns when making large number of requests to `wrangler dev` with infrequent reloads. - [#3547](https://togithub.com/cloudflare/workers-sdk/pull/3547) [`e16d0272`](https://togithub.com/cloudflare/workers-sdk/commit/e16d0272986f3e0c8a5ba908127dc93cf8c670bc) Thanks [@jspspike](https://togithub.com/jspspike)! - Fixed issue with wrangler dev not finding imported files. Previously when wrangler dev would automatically reload on any file changes, it would fail to find any imported files. ### [`v3.1.2`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#312) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.1.1...wrangler@3.1.2) ##### Patch Changes - [#3529](https://togithub.com/cloudflare/workers-sdk/pull/3529) [`bcdc1fe5`](https://togithub.com/cloudflare/workers-sdk/commit/bcdc1fe5684f325c86ff0f2c57af781ecba5b621) Thanks [@jspspike](https://togithub.com/jspspike)! - Support https in wrangler dev local mode - [#3541](https://togithub.com/cloudflare/workers-sdk/pull/3541) [`09f317d4`](https://togithub.com/cloudflare/workers-sdk/commit/09f317d4c42d1787bdc636f13b4a303fa9a5b4b0) Thanks [@GregBrimble](https://togithub.com/GregBrimble)! - chore: Bump miniflare@3.0.2 - [#3497](https://togithub.com/cloudflare/workers-sdk/pull/3497) [`c5f3bf45`](https://togithub.com/cloudflare/workers-sdk/commit/c5f3bf45c0b7dd632ce63d0c4df846a2b8695021) Thanks [@evanderkoogh](https://togithub.com/evanderkoogh)! - Refactor dev-only checkedFetch check from a method substitution to a JavaScript Proxy to be able to support Proxied global fetch function. - [#3403](https://togithub.com/cloudflare/workers-sdk/pull/3403) [`8d1521e9`](https://togithub.com/cloudflare/workers-sdk/commit/8d1521e9ce77136f6da6a1313748e597b3622f8b) Thanks [@Cherry](https://togithub.com/Cherry)! - fix: wrangler generate will now work cross-device. This is very common on Windows install that use C:/ for the OS and another drive for user files. ### [`v3.1.1`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#311) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.1.0...wrangler@3.1.1) ##### Patch Changes - [#3498](https://togithub.com/cloudflare/workers-sdk/pull/3498) [`fddffdf0`](https://togithub.com/cloudflare/workers-sdk/commit/fddffdf0c23d2ca56f2139a2c6bc278052594cba) Thanks [@GregBrimble](https://togithub.com/GregBrimble)! - fix: Prevent `wrangler pages dev` from serving asset files outside of the build output directory - [#3431](https://togithub.com/cloudflare/workers-sdk/pull/3431) [`68ba49a8`](https://togithub.com/cloudflare/workers-sdk/commit/68ba49a8c5bde2e9847e9599d71b9a501866c54b) Thanks [@Cherry](https://togithub.com/Cherry)! - fix: allow context.data to be overriden in Pages Functions - [#3414](https://togithub.com/cloudflare/workers-sdk/pull/3414) [`6b1870ad`](https://togithub.com/cloudflare/workers-sdk/commit/6b1870ad46eb8557a01fcfae0d3f948b804387a0) Thanks [@rozenmd](https://togithub.com/rozenmd)! - fix: in D1, lift error.cause into the error message Prior to this PR, folks *had* to console.log the `error.cause` property to understand why their D1 operations were failing. With this PR, `error.cause` will continue to work, but we'll also lift the cause into the error message. - [#3483](https://togithub.com/cloudflare/workers-sdk/pull/3483) [`a9349a89`](https://togithub.com/cloudflare/workers-sdk/commit/a9349a89296dc98ac8fc52dbb013f298c9596d8f) Thanks [@petebacondarwin](https://togithub.com/petebacondarwin)! - fix: ensure that the script name is passed through to C3 from `wrangler init` - [#3359](https://togithub.com/cloudflare/workers-sdk/pull/3359) [`5eef992f`](https://togithub.com/cloudflare/workers-sdk/commit/5eef992f2c9f71a4c9d5e0cc2820aad24b7ef382) Thanks [@RamIdeas](https://togithub.com/RamIdeas)! - `wrangler init ... -y` now delegates to C3 without prompts (respects the `-y` flag) - [#3434](https://togithub.com/cloudflare/workers-sdk/pull/3434) [`4beac418`](https://togithub.com/cloudflare/workers-sdk/commit/4beac41818b89727cd991848a8c643d744bc1703) Thanks [@rozenmd](https://togithub.com/rozenmd)! - fix: add the number of read queries and write queries in the last 24 hours to the `d1 info` command - [#3454](https://togithub.com/cloudflare/workers-sdk/pull/3454) [`a2194043`](https://togithub.com/cloudflare/workers-sdk/commit/a2194043c6c755e9308b3ffc1e9afb0d1544f6b9) Thanks [@mrbbot](https://togithub.com/mrbbot)! - chore: upgrade `miniflare` to `3.0.1` This version ensures root CA certificates are trusted on Windows. It also loads extra certificates from the `NODE_EXTRA_CA_CERTS` environment variable, allowing `wrangler dev` to be used with Cloudflare WARP enabled. - [#3485](https://togithub.com/cloudflare/workers-sdk/pull/3485) [`e8df68ee`](https://togithub.com/cloudflare/workers-sdk/commit/e8df68eefede860f4217e3a398a0f3064f5cce38) Thanks [@GregBrimble](https://togithub.com/GregBrimble)! - feat: Allow setting a D1 database ID when using `wrangler pages dev` by providing an optional `=Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.