diff --git a/.changeset/blue-donkeys-pretend.md b/.changeset/blue-donkeys-pretend.md deleted file mode 100644 index c4a4861fd2a7..000000000000 --- a/.changeset/blue-donkeys-pretend.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler": patch ---- - -fix: ensure that additional modules appear in the out-dir - -When using `find_additional_modules` (or `no_bundle`) we find files that -will be uploaded to be deployed alongside the Worker. - -Previously, if an `outDir` was specified, only the Worker code was output -to this directory. Now all additional modules are also output there too. diff --git a/.changeset/c3-frameworks-update-3991.md b/.changeset/c3-frameworks-update-3991.md deleted file mode 100644 index 083bd5b2786b..000000000000 --- a/.changeset/c3-frameworks-update-3991.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-astro` from `4.1.0` to `4.2.0` diff --git a/.changeset/c3-frameworks-update-4002.md b/.changeset/c3-frameworks-update-4002.md deleted file mode 100644 index 318a41d20f03..000000000000 --- a/.changeset/c3-frameworks-update-4002.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-docusaurus` from `2.4.1` to `2.4.3` diff --git a/.changeset/c3-frameworks-update-4012.md b/.changeset/c3-frameworks-update-4012.md deleted file mode 100644 index 3d5ae19d6c51..000000000000 --- a/.changeset/c3-frameworks-update-4012.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-solid` from `0.2.26` to `0.3.6` diff --git a/.changeset/c3-frameworks-update-4091.md b/.changeset/c3-frameworks-update-4091.md deleted file mode 100644 index 495d677310e9..000000000000 --- a/.changeset/c3-frameworks-update-4091.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-svelte` from `5.0.6` to `5.1.0` diff --git a/.changeset/c3-frameworks-update-4100.md b/.changeset/c3-frameworks-update-4100.md deleted file mode 100644 index a6f85846a8a3..000000000000 --- a/.changeset/c3-frameworks-update-4100.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-remix` from `2.0.0` to `2.0.1` diff --git a/.changeset/c3-frameworks-update-4103.md b/.changeset/c3-frameworks-update-4103.md deleted file mode 100644 index dec213dcbb9c..000000000000 --- a/.changeset/c3-frameworks-update-4103.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-astro` from `4.2.0` to `4.2.1` diff --git a/.changeset/clever-turkeys-leave.md b/.changeset/clever-turkeys-leave.md deleted file mode 100644 index ed5274219f0f..000000000000 --- a/.changeset/clever-turkeys-leave.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"wrangler": minor ---- - -feat: support partial bundling with configurable external modules - -Setting `find_additional_modules` to `true` in your configuration file will now instruct Wrangler to look for files in -your `base_dir` that match your configured `rules`, and deploy them as unbundled, external modules with your Worker. -`base_dir` defaults to the directory containing your `main` entrypoint. - -Wrangler can operate in two modes: the default bundling mode and `--no-bundle` mode. In bundling mode, dynamic imports -(e.g. `await import("./large-dep.mjs")`) would be bundled into your entrypoint, making lazy loading less effective. -Additionally, variable dynamic imports (e.g. `` await import(`./lang/${language}.mjs`) ``) would always fail at runtime, -as Wrangler would have no way of knowing which modules to upload. The `--no-bundle` mode sought to address these issues -by disabling Wrangler's bundling entirely, and just deploying code as is. Unfortunately, this also disabled Wrangler's -code transformations (e.g. TypeScript compilation, `--assets`, `--test-scheduled`, etc). - -With this change, we now additionally support _partial bundling_. Files are bundled into a single Worker entry-point file -unless `find_additional_modules` is `true`, and the file matches one of the configured `rules`. See -https://developers.cloudflare.com/workers/wrangler/bundling/ for more details and examples. diff --git a/.changeset/curvy-dryers-bake.md b/.changeset/curvy-dryers-bake.md deleted file mode 100644 index 0cd8ea116934..000000000000 --- a/.changeset/curvy-dryers-bake.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch ---- - -fix: generate valid source maps with `wrangler pages dev` on macOS - -On macOS, `wrangler pages dev` previously generated source maps with an -incorrect number of `../`s in relative paths. This change ensures paths are -always correct, improving support for breakpoint debugging. diff --git a/.changeset/curvy-onions-breathe.md b/.changeset/curvy-onions-breathe.md deleted file mode 100644 index 7824d637564a..000000000000 --- a/.changeset/curvy-onions-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: respect the options.local value in unstable_dev (it was being ignored) diff --git a/.changeset/eighty-plums-ring.md b/.changeset/eighty-plums-ring.md deleted file mode 100644 index c8b82535026b..000000000000 --- a/.changeset/eighty-plums-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Fixes an issue where users were prompted for TypeScript twice during worker creation diff --git a/.changeset/eleven-berries-itch.md b/.changeset/eleven-berries-itch.md deleted file mode 100644 index d40fa20e929e..000000000000 --- a/.changeset/eleven-berries-itch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/pages-shared": patch -"wrangler": patch ---- - -chore: bump `miniflare` to [`3.20231002.1`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.1) diff --git a/.changeset/empty-sloths-complain.md b/.changeset/empty-sloths-complain.md deleted file mode 100644 index 300dde6ae167..000000000000 --- a/.changeset/empty-sloths-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Fixes an issue where exiting early from c3 would cause the terminal cursor to be hidden diff --git a/.changeset/fair-seahorses-arrive.md b/.changeset/fair-seahorses-arrive.md deleted file mode 100644 index 9485245d32b5..000000000000 --- a/.changeset/fair-seahorses-arrive.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Bump supported node version to 18.14.1 - -We've recently switched out testing infrastructure to test C3 on node version 18.14.1. -As of earlier this month, Node v16 is no longer supported, and many of the underlying -framework scaffolding tools that C3 uses (ex. `create-astro`, `gatsby`) have dropped -support for node v16, which in turn causes C3 to fail for those frameworks. diff --git a/.changeset/hip-monkeys-glow.md b/.changeset/hip-monkeys-glow.md deleted file mode 100644 index ad849050f12b..000000000000 --- a/.changeset/hip-monkeys-glow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -.gitignore files were not included in our templates due to npm/npm#3763 - -we now workaround this issue and ensure C3 templates include a .gitignore file diff --git a/.changeset/hot-deers-return.md b/.changeset/hot-deers-return.md deleted file mode 100644 index 356a68640efb..000000000000 --- a/.changeset/hot-deers-return.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"wrangler": patch ---- - -fix: allow `__STATIC_CONTENT_MANIFEST` module to be imported anywhere - -`__STATIC_CONTENT_MANIFEST` can now be imported in subdirectories when -`--no-bundle` or `find_additional_modules` are enabled. diff --git a/.changeset/khaki-experts-reflect.md b/.changeset/khaki-experts-reflect.md deleted file mode 100644 index cf9b7c76094a..000000000000 --- a/.changeset/khaki-experts-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Defaults the project type to `Web Framework`. The previous default was `"Hello World" worker` diff --git a/.changeset/orange-berries-relax.md b/.changeset/orange-berries-relax.md deleted file mode 100644 index 676cdce48ed1..000000000000 --- a/.changeset/orange-berries-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Log more detail about tokens after authentication errors diff --git a/.changeset/seven-zebras-cross.md b/.changeset/seven-zebras-cross.md deleted file mode 100644 index c543d30f563c..000000000000 --- a/.changeset/seven-zebras-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Fixes Workers templates to have a `dev` command in package.json to match comments in `index` files. diff --git a/.changeset/smart-hats-hug.md b/.changeset/smart-hats-hug.md deleted file mode 100644 index 7f82b529d714..000000000000 --- a/.changeset/smart-hats-hug.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/pages-shared": minor -"wrangler": minor ---- - -chore: bump `miniflare` to [`3.20231002.0`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.0) diff --git a/.changeset/smooth-elephants-divide.md b/.changeset/smooth-elephants-divide.md deleted file mode 100644 index c9488e1ffb8f..000000000000 --- a/.changeset/smooth-elephants-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Fixed `pages dev` crashing and leaving port open when building a worker script fails diff --git a/.changeset/tiny-shrimps-train.md b/.changeset/tiny-shrimps-train.md deleted file mode 100644 index 8c47731c325c..000000000000 --- a/.changeset/tiny-shrimps-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: update the main file in the c3 scheduled js template to index.js. diff --git a/.changeset/twenty-deers-crash.md b/.changeset/twenty-deers-crash.md deleted file mode 100644 index 598aef730c61..000000000000 --- a/.changeset/twenty-deers-crash.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch ---- - -fix: we no longer infer pathnames from route patterns as the host - -During local development, inside your worker, the host of `request.url` is inferred from the `routes` in your config. - -Previously, route patterns like "\*/some/path/name" would infer the host as "some". We now handle this case and determine we cannot infer a host from such patterns. diff --git a/.changeset/yellow-rules-lay.md b/.changeset/yellow-rules-lay.md deleted file mode 100644 index 8fc707c6773a..000000000000 --- a/.changeset/yellow-rules-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Add support for bun diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 2f740eae4a27..5506cc748b1e 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,46 @@ # create-cloudflare +## 2.4.0 + +### Minor Changes + +- [#4063](https://github.com/cloudflare/workers-sdk/pull/4063) [`cb4309f9`](https://github.com/cloudflare/workers-sdk/commit/cb4309f90b433fb7b6f81279878bca11fe2a6937) Thanks [@jculvey](https://github.com/jculvey)! - Bump supported node version to 18.14.1 + + We've recently switched out testing infrastructure to test C3 on node version 18.14.1. + As of earlier this month, Node v16 is no longer supported, and many of the underlying + framework scaffolding tools that C3 uses (ex. `create-astro`, `gatsby`) have dropped + support for node v16, which in turn causes C3 to fail for those frameworks. + +* [#4065](https://github.com/cloudflare/workers-sdk/pull/4065) [`55298d9f`](https://github.com/cloudflare/workers-sdk/commit/55298d9f3ffc177cc390cd5e9ccc713261933585) Thanks [@jculvey](https://github.com/jculvey)! - Add support for bun + +### Patch Changes + +- [#3991](https://github.com/cloudflare/workers-sdk/pull/3991) [`80f78dad`](https://github.com/cloudflare/workers-sdk/commit/80f78dad4652cb9c6807c5144c4c32324f0c15e6) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-astro` from `4.1.0` to `4.2.0` + +* [#4002](https://github.com/cloudflare/workers-sdk/pull/4002) [`8ee46b06`](https://github.com/cloudflare/workers-sdk/commit/8ee46b063cab7a585074413b2c38a58a4e2f4eff) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-docusaurus` from `2.4.1` to `2.4.3` + +- [#4012](https://github.com/cloudflare/workers-sdk/pull/4012) [`a21acf82`](https://github.com/cloudflare/workers-sdk/commit/a21acf8217fa2eff57cffb6753865a37386b5f13) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-solid` from `0.2.26` to `0.3.6` + +* [#4091](https://github.com/cloudflare/workers-sdk/pull/4091) [`a9cb8c60`](https://github.com/cloudflare/workers-sdk/commit/a9cb8c608f2594170e92a0f49c3f85def4edf03c) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-svelte` from `5.0.6` to `5.1.0` + +- [#4100](https://github.com/cloudflare/workers-sdk/pull/4100) [`866c7833`](https://github.com/cloudflare/workers-sdk/commit/866c7833ec091825a4916bd6dfbcbc04d8c0bafe) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-remix` from `2.0.0` to `2.0.1` + +* [#4103](https://github.com/cloudflare/workers-sdk/pull/4103) [`f79cf89a`](https://github.com/cloudflare/workers-sdk/commit/f79cf89aeefb072dde5fc1ada24001af74fa363b) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-astro` from `4.2.0` to `4.2.1` + +- [#4088](https://github.com/cloudflare/workers-sdk/pull/4088) [`35165a26`](https://github.com/cloudflare/workers-sdk/commit/35165a26d9e1eda1f049d5a5b5a1cb2cd1e09c9f) Thanks [@jculvey](https://github.com/jculvey)! - Fixes an issue where users were prompted for TypeScript twice during worker creation + +* [#4087](https://github.com/cloudflare/workers-sdk/pull/4087) [`57e9f218`](https://github.com/cloudflare/workers-sdk/commit/57e9f218ae3ce11736d4ff6a09e05a6662ce13c5) Thanks [@jculvey](https://github.com/jculvey)! - Fixes an issue where exiting early from c3 would cause the terminal cursor to be hidden + +- [#3754](https://github.com/cloudflare/workers-sdk/pull/3754) [`811730d8`](https://github.com/cloudflare/workers-sdk/commit/811730d85066904e5ca9161900577342d59ec851) Thanks [@RamIdeas](https://github.com/RamIdeas)! - .gitignore files were not included in our templates due to npm/npm#3763 + + we now workaround this issue and ensure C3 templates include a .gitignore file + +* [#4062](https://github.com/cloudflare/workers-sdk/pull/4062) [`02359bc5`](https://github.com/cloudflare/workers-sdk/commit/02359bc50353cbf698de193d56360b6dfc151ad0) Thanks [@jculvey](https://github.com/jculvey)! - Defaults the project type to `Web Framework`. The previous default was `"Hello World" worker` + +- [#4030](https://github.com/cloudflare/workers-sdk/pull/4030) [`dba26262`](https://github.com/cloudflare/workers-sdk/commit/dba26262c72b4654c3c0799f975bcd8ff9210082) Thanks [@admah](https://github.com/admah)! - Fixes Workers templates to have a `dev` command in package.json to match comments in `index` files. + +* [#3916](https://github.com/cloudflare/workers-sdk/pull/3916) [`15d75e50`](https://github.com/cloudflare/workers-sdk/commit/15d75e50bd9b8ce5837b390f8c2ce39eea446a7e) Thanks [@admah](https://github.com/admah)! - fix: update the main file in the c3 scheduled js template to index.js. + ## 2.3.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 5f39c01a002b..c5f1ff872c66 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.3.1", + "version": "2.4.0", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 6f489fc3616f..610269965a00 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/pages-shared +## 0.10.0 + +### Minor Changes + +- [#4093](https://github.com/cloudflare/workers-sdk/pull/4093) [`c71d8a0f`](https://github.com/cloudflare/workers-sdk/commit/c71d8a0f73c0abbf76434d7aa7634af53ce7b29b) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `miniflare` to [`3.20231002.0`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.0) + +### Patch Changes + +- [#4107](https://github.com/cloudflare/workers-sdk/pull/4107) [`807ab931`](https://github.com/cloudflare/workers-sdk/commit/807ab9316f1ce984f76302c9d9d5627c81617262) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `miniflare` to [`3.20231002.1`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.1) + ## 0.9.0 ### Minor Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 788fb93791f4..0a796c07312d 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.9.0", + "version": "0.10.0", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index f94cf404a3fe..caf886dd1840 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,63 @@ # wrangler +## 3.11.0 + +### Minor Changes + +- [#3726](https://github.com/cloudflare/workers-sdk/pull/3726) [`7d20bdbd`](https://github.com/cloudflare/workers-sdk/commit/7d20bdbd4ed7c5003b327a58af8d5c402df9fe2b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - feat: support partial bundling with configurable external modules + + Setting `find_additional_modules` to `true` in your configuration file will now instruct Wrangler to look for files in + your `base_dir` that match your configured `rules`, and deploy them as unbundled, external modules with your Worker. + `base_dir` defaults to the directory containing your `main` entrypoint. + + Wrangler can operate in two modes: the default bundling mode and `--no-bundle` mode. In bundling mode, dynamic imports + (e.g. `await import("./large-dep.mjs")`) would be bundled into your entrypoint, making lazy loading less effective. + Additionally, variable dynamic imports (e.g. `` await import(`./lang/${language}.mjs`) ``) would always fail at runtime, + as Wrangler would have no way of knowing which modules to upload. The `--no-bundle` mode sought to address these issues + by disabling Wrangler's bundling entirely, and just deploying code as is. Unfortunately, this also disabled Wrangler's + code transformations (e.g. TypeScript compilation, `--assets`, `--test-scheduled`, etc). + + With this change, we now additionally support _partial bundling_. Files are bundled into a single Worker entry-point file + unless `find_additional_modules` is `true`, and the file matches one of the configured `rules`. See + https://developers.cloudflare.com/workers/wrangler/bundling/ for more details and examples. + +* [#4093](https://github.com/cloudflare/workers-sdk/pull/4093) [`c71d8a0f`](https://github.com/cloudflare/workers-sdk/commit/c71d8a0f73c0abbf76434d7aa7634af53ce7b29b) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `miniflare` to [`3.20231002.0`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.0) + +### Patch Changes + +- [#3726](https://github.com/cloudflare/workers-sdk/pull/3726) [`7d20bdbd`](https://github.com/cloudflare/workers-sdk/commit/7d20bdbd4ed7c5003b327a58af8d5c402df9fe2b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: ensure that additional modules appear in the out-dir + + When using `find_additional_modules` (or `no_bundle`) we find files that + will be uploaded to be deployed alongside the Worker. + + Previously, if an `outDir` was specified, only the Worker code was output + to this directory. Now all additional modules are also output there too. + +* [#4067](https://github.com/cloudflare/workers-sdk/pull/4067) [`31270711`](https://github.com/cloudflare/workers-sdk/commit/31270711fe3f48ff94138cf1626f44b8b052d698) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: generate valid source maps with `wrangler pages dev` on macOS + + On macOS, `wrangler pages dev` previously generated source maps with an + incorrect number of `../`s in relative paths. This change ensures paths are + always correct, improving support for breakpoint debugging. + +- [#4084](https://github.com/cloudflare/workers-sdk/pull/4084) [`9a7559b6`](https://github.com/cloudflare/workers-sdk/commit/9a7559b67c1afe9c583b1255d5404385b4d7b9fc) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix: respect the options.local value in unstable_dev (it was being ignored) + +* [#4107](https://github.com/cloudflare/workers-sdk/pull/4107) [`807ab931`](https://github.com/cloudflare/workers-sdk/commit/807ab9316f1ce984f76302c9d9d5627c81617262) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `miniflare` to [`3.20231002.1`](https://github.com/cloudflare/miniflare/releases/tag/v3.20231002.1) + +- [#3726](https://github.com/cloudflare/workers-sdk/pull/3726) [`7d20bdbd`](https://github.com/cloudflare/workers-sdk/commit/7d20bdbd4ed7c5003b327a58af8d5c402df9fe2b) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: allow `__STATIC_CONTENT_MANIFEST` module to be imported anywhere + + `__STATIC_CONTENT_MANIFEST` can now be imported in subdirectories when + `--no-bundle` or `find_additional_modules` are enabled. + +* [#3926](https://github.com/cloudflare/workers-sdk/pull/3926) [`f585f695`](https://github.com/cloudflare/workers-sdk/commit/f585f6954eb2ebb1d1e3ee4bee11f7757b25a925) Thanks [@penalosa](https://github.com/penalosa)! - Log more detail about tokens after authentication errors + +- [#3695](https://github.com/cloudflare/workers-sdk/pull/3695) [`1d0b7ad5`](https://github.com/cloudflare/workers-sdk/commit/1d0b7ad5512d0cd43c6e137f5bf5caa93c6319d5) Thanks [@JacksonKearl](https://github.com/JacksonKearl)! - Fixed `pages dev` crashing and leaving port open when building a worker script fails + +* [#4066](https://github.com/cloudflare/workers-sdk/pull/4066) [`c8b4a07f`](https://github.com/cloudflare/workers-sdk/commit/c8b4a07f2e799df44da70cb1eaeb2a7480e0af7a) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix: we no longer infer pathnames from route patterns as the host + + During local development, inside your worker, the host of `request.url` is inferred from the `routes` in your config. + + Previously, route patterns like "\*/some/path/name" would infer the host as "some". We now handle this case and determine we cannot infer a host from such patterns. + ## 3.10.1 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 11609863435a..d984440442cf 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.10.1", + "version": "3.11.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",