diff --git a/.changeset/big-waves-hammer.md b/.changeset/big-waves-hammer.md deleted file mode 100644 index 4682e09aa640..000000000000 --- a/.changeset/big-waves-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: debounce restarting worker on assets dir file changes when `--x-dev-env` is enabled. diff --git a/.changeset/brave-needles-refuse.md b/.changeset/brave-needles-refuse.md deleted file mode 100644 index be6ca9e1cf75..000000000000 --- a/.changeset/brave-needles-refuse.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -fix: rename asset plugin options slightly to match wrangler.toml better - -Renamed `path` -> `directory`, `bindingName` -> `binding`. diff --git a/.changeset/breezy-tips-sparkle.md b/.changeset/breezy-tips-sparkle.md deleted file mode 100644 index f1eb64bbca2c..000000000000 --- a/.changeset/breezy-tips-sparkle.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -feature: enable asset routing in the vitest integration for Workers + static assets - -Integration tests (using the SELF binding) in Workers + assets projects will now return static assets if present on that path. Previously all requests went to the user worker regardless of whether static assets would have been served in production. - -Unit style tests intentionally do not return static assets. diff --git a/.changeset/fluffy-colts-give.md b/.changeset/fluffy-colts-give.md deleted file mode 100644 index cf6bf042753d..000000000000 --- a/.changeset/fluffy-colts-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: enable esbuild's keepNames: true to set .name on functions/classes diff --git a/.changeset/gentle-apricots-kiss.md b/.changeset/gentle-apricots-kiss.md deleted file mode 100644 index f5292004ad13..000000000000 --- a/.changeset/gentle-apricots-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: Various fixes for logging in `--x-dev-env`, primarily to ensure the hotkeys don't wipe useful output and are cleaned up correctly diff --git a/.changeset/grumpy-apples-juggle.md b/.changeset/grumpy-apples-juggle.md deleted file mode 100644 index 7d374b96ddd8..000000000000 --- a/.changeset/grumpy-apples-juggle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: ensure that `alias` config gets passed through to the bundler when using new `--x-dev-env` - -Fixes #6898 diff --git a/.changeset/pretty-cherries-relate.md b/.changeset/pretty-cherries-relate.md deleted file mode 100644 index abcee5441352..000000000000 --- a/.changeset/pretty-cherries-relate.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: infer experimentalJsonConfig from file extension - -Fixes [#5768](https://github.com/cloudflare/workers-sdk/issues/5768) - issue with vitest and Pages projects with wrangler.toml diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 87945e56e2ac..ca79a29a95fe 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,13 @@ # miniflare +## 3.20240925.1 + +### Patch Changes + +- [#6835](https://github.com/cloudflare/workers-sdk/pull/6835) [`5c50949`](https://github.com/cloudflare/workers-sdk/commit/5c509494807a1c0418be83c47a459ec80126848e) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: rename asset plugin options slightly to match wrangler.toml better + + Renamed `path` -> `directory`, `bindingName` -> `binding`. + ## 3.20240925.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index e9015dd1fd0f..73d852c0666b 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20240925.0", + "version": "3.20240925.1", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 94c6cd77c548..38ba776fbc79 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.63 + +### Patch Changes + +- Updated dependencies [[`5c50949`](https://github.com/cloudflare/workers-sdk/commit/5c509494807a1c0418be83c47a459ec80126848e)]: + - miniflare@3.20240925.1 + ## 0.11.62 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 0ce01b8a0e03..fa6c536e9397 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.62", + "version": "0.11.63", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index 175d14e2e6d6..b146b4b1814e 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,19 @@ # @cloudflare/vitest-pool-workers +## 0.5.15 + +### Patch Changes + +- [#6835](https://github.com/cloudflare/workers-sdk/pull/6835) [`5c50949`](https://github.com/cloudflare/workers-sdk/commit/5c509494807a1c0418be83c47a459ec80126848e) Thanks [@emily-shen](https://github.com/emily-shen)! - feature: enable asset routing in the vitest integration for Workers + static assets + + Integration tests (using the SELF binding) in Workers + assets projects will now return static assets if present on that path. Previously all requests went to the user worker regardless of whether static assets would have been served in production. + + Unit style tests intentionally do not return static assets. + +- Updated dependencies [[`d696850`](https://github.com/cloudflare/workers-sdk/commit/d6968507b7eab36abdc4d6c2ffe183788857d08c), [`5c50949`](https://github.com/cloudflare/workers-sdk/commit/5c509494807a1c0418be83c47a459ec80126848e), [`dc92af2`](https://github.com/cloudflare/workers-sdk/commit/dc92af28c572e3f7a03b84afd53f10a40ee2a5f8), [`82180a7`](https://github.com/cloudflare/workers-sdk/commit/82180a7a7680028f2ea24ae8b1c8479d39627826), [`54924a4`](https://github.com/cloudflare/workers-sdk/commit/54924a430354c0e427770ee4289217660141c72e), [`30b7328`](https://github.com/cloudflare/workers-sdk/commit/30b7328073c86ff9adebd594015bca6844da7163)]: + - wrangler@3.80.1 + - miniflare@3.20240925.1 + ## 0.5.14 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index b665d876ffdc..4cdab7ad7f0d 100644 --- a/packages/vitest-pool-workers/package.json +++ b/packages/vitest-pool-workers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-pool-workers", - "version": "0.5.14", + "version": "0.5.15", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 0533abc1e225..15857bae7b0d 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,26 @@ # wrangler +## 3.80.1 + +### Patch Changes + +- [#6908](https://github.com/cloudflare/workers-sdk/pull/6908) [`d696850`](https://github.com/cloudflare/workers-sdk/commit/d6968507b7eab36abdc4d6c2ffe183788857d08c) Thanks [@penalosa](https://github.com/penalosa)! - fix: debounce restarting worker on assets dir file changes when `--x-dev-env` is enabled. + +- [#6902](https://github.com/cloudflare/workers-sdk/pull/6902) [`dc92af2`](https://github.com/cloudflare/workers-sdk/commit/dc92af28c572e3f7a03b84afd53f10a40ee2a5f8) Thanks [@threepointone](https://github.com/threepointone)! - fix: enable esbuild's keepNames: true to set .name on functions/classes + +- [#6909](https://github.com/cloudflare/workers-sdk/pull/6909) [`82180a7`](https://github.com/cloudflare/workers-sdk/commit/82180a7a7680028f2ea24ae8b1c8479d39627826) Thanks [@penalosa](https://github.com/penalosa)! - fix: Various fixes for logging in `--x-dev-env`, primarily to ensure the hotkeys don't wipe useful output and are cleaned up correctly + +- [#6903](https://github.com/cloudflare/workers-sdk/pull/6903) [`54924a4`](https://github.com/cloudflare/workers-sdk/commit/54924a430354c0e427770ee4289217660141c72e) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: ensure that `alias` config gets passed through to the bundler when using new `--x-dev-env` + + Fixes #6898 + +- [#6911](https://github.com/cloudflare/workers-sdk/pull/6911) [`30b7328`](https://github.com/cloudflare/workers-sdk/commit/30b7328073c86ff9adebd594015bca6844da7163) Thanks [@emily-shen](https://github.com/emily-shen)! - fix: infer experimentalJsonConfig from file extension + + Fixes [#5768](https://github.com/cloudflare/workers-sdk/issues/5768) - issue with vitest and Pages projects with wrangler.toml + +- Updated dependencies [[`5c50949`](https://github.com/cloudflare/workers-sdk/commit/5c509494807a1c0418be83c47a459ec80126848e)]: + - miniflare@3.20240925.1 + ## 3.80.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 22e41d85b180..cd51a6ecdde2 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.80.0", + "version": "3.80.1", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 316347e3476e..a52f5664d085 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,12 +6,6 @@ settings: catalogs: default: - '@vitest/runner': - specifier: ~2.1.1 - version: 2.1.1 - '@vitest/snapshot': - specifier: ~2.1.1 - version: 2.1.1 vitest: specifier: ~2.1.1 version: 2.1.1 @@ -2577,12 +2571,15 @@ packages: '@esbuild-kit/cjs-loader@2.4.4': resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild-kit/core-utils@3.3.2': resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild-kit/esm-loader@2.6.5': resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild-plugins/node-globals-polyfill@0.2.3': resolution: {integrity: sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==} @@ -5314,11 +5311,13 @@ packages: eslint@8.49.0: resolution: {integrity: sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: