diff --git a/.changeset/c3-frameworks-update-5074.md b/.changeset/c3-frameworks-update-5074.md deleted file mode 100644 index 44f2795e6fdd..000000000000 --- a/.changeset/c3-frameworks-update-5074.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-svelte` from `6.0.8` to `6.0.9` diff --git a/.changeset/c3-frameworks-update-5075.md b/.changeset/c3-frameworks-update-5075.md deleted file mode 100644 index e5a8f5d694b0..000000000000 --- a/.changeset/c3-frameworks-update-5075.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-remix` from `2.7.1` to `2.7.2` diff --git a/.changeset/c3-frameworks-update-5078.md b/.changeset/c3-frameworks-update-5078.md deleted file mode 100644 index efdc668deacf..000000000000 --- a/.changeset/c3-frameworks-update-5078.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `@angular/create` from `17.2.0` to `17.2.1` diff --git a/.changeset/dry-berries-mate.md b/.changeset/dry-berries-mate.md deleted file mode 100644 index fd0ac1ba6aff..000000000000 --- a/.changeset/dry-berries-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": minor ---- - -chore: bump `workerd` to [`1.20240223.1`](https://github.com/cloudflare/workerd/releases/tag/v1.20240223.0) diff --git a/.changeset/happy-tools-approve.md b/.changeset/happy-tools-approve.md deleted file mode 100644 index 5937ae9d7107..000000000000 --- a/.changeset/happy-tools-approve.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"wrangler": minor ---- - -feat: allow preserving file names when defining rules for non-js modules - -The developer is now able to specify the `preserve_file_names property in wrangler.toml -which specifies whether Wrangler will preserve the file names additional modules that are -added to the deployment bundle of a Worker. - -If not set to true, files will be named using the pattern ${fileHash}-${basename}. -For example, `34de60b44167af5c5a709e62a4e20c4f18c9e3b6-favicon.ico`. - -Resolves [#4741](https://github.com/cloudflare/workers-sdk/issues/4741) diff --git a/.changeset/six-pans-marry.md b/.changeset/six-pans-marry.md deleted file mode 100644 index 68c8939d0db2..000000000000 --- a/.changeset/six-pans-marry.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": minor ---- - -feature: Use new `vite-cloudflare` template in Remix projects. - -Remix has released a [new official Cloudflare template](https://remix.run/docs/en/main/future/vite#cloudflare-proxy) that uses `getPlatformProxy` under the hood to provide better support for bindings in dev. Remix projects created with C3 will now use this new template. - -Along with this change, projects will use the default vite-based dev command from `create-remix` instead of using `wrangler pages dev` on build output. - -A new `build-cf-types` script has also been added to re-generate the `Env` type defined in `load-context.ts` based on the contents of `wrangler.toml`. A default `wrangler.toml` will be added to new Remix projects to accomodate this workflow. diff --git a/.changeset/tricky-beers-push.md b/.changeset/tricky-beers-push.md deleted file mode 100644 index 5d8fc762c7a4..000000000000 --- a/.changeset/tricky-beers-push.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": minor ---- - -feature: Improve bindings support in Astro template. - -C3 will now create Astro projects configured to use miniflare in dev automatically. This is done by adding a configuration for the adapter of `{ runtime: 'local'}` (see [Astro docs](https://docs.astro.build/en/guides/integrations-guide/cloudflare/#runtime) for more details). A `wrangler.toml` file will also be added where bindings can be added to be used in dev. - -Along with this change, projects will now use the default vite-based `astro dev` command instead of using `wrangler pages dev` on build output. - -When Typescript is used, the `src/env.d.ts` file will be updated to add type definitions `runtime.env` which can be re-generated with a newly added `build-cf-types` script. diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 16a9d800ac2d..85d6d37fb150 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,33 @@ # create-cloudflare +## 2.13.0 + +### Minor Changes + +- [#5080](https://github.com/cloudflare/workers-sdk/pull/5080) [`2aa7913`](https://github.com/cloudflare/workers-sdk/commit/2aa79132f2db770c85e99c62336aebbe9af96a8e) Thanks [@jculvey](https://github.com/jculvey)! - feature: Use new `vite-cloudflare` template in Remix projects. + + Remix has released a [new official Cloudflare template](https://remix.run/docs/en/main/future/vite#cloudflare-proxy) that uses `getPlatformProxy` under the hood to provide better support for bindings in dev. Remix projects created with C3 will now use this new template. + + Along with this change, projects will use the default vite-based dev command from `create-remix` instead of using `wrangler pages dev` on build output. + + A new `build-cf-types` script has also been added to re-generate the `Env` type defined in `load-context.ts` based on the contents of `wrangler.toml`. A default `wrangler.toml` will be added to new Remix projects to accomodate this workflow. + +- [#5072](https://github.com/cloudflare/workers-sdk/pull/5072) [`cab7e1c`](https://github.com/cloudflare/workers-sdk/commit/cab7e1c7f24ff0097e15d90030c805fe2785d173) Thanks [@jculvey](https://github.com/jculvey)! - feature: Improve bindings support in Astro template. + + C3 will now create Astro projects configured to use miniflare in dev automatically. This is done by adding a configuration for the adapter of `{ runtime: 'local'}` (see [Astro docs](https://docs.astro.build/en/guides/integrations-guide/cloudflare/#runtime) for more details). A `wrangler.toml` file will also be added where bindings can be added to be used in dev. + + Along with this change, projects will now use the default vite-based `astro dev` command instead of using `wrangler pages dev` on build output. + + When Typescript is used, the `src/env.d.ts` file will be updated to add type definitions `runtime.env` which can be re-generated with a newly added `build-cf-types` script. + +### Patch Changes + +- [#5074](https://github.com/cloudflare/workers-sdk/pull/5074) [`e37c1b8`](https://github.com/cloudflare/workers-sdk/commit/e37c1b8665a3c99873da21c0be7a2fed1d165149) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-svelte` from `6.0.8` to `6.0.9` + +- [#5075](https://github.com/cloudflare/workers-sdk/pull/5075) [`c1ed773`](https://github.com/cloudflare/workers-sdk/commit/c1ed7737626bce9930a1fb0fcb28373fd45c4401) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-remix` from `2.7.1` to `2.7.2` + +- [#5078](https://github.com/cloudflare/workers-sdk/pull/5078) [`64236b0`](https://github.com/cloudflare/workers-sdk/commit/64236b0bf837e8cc31c5886c31d10a8d387f57bd) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `@angular/create` from `17.2.0` to `17.2.1` + ## 2.12.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 4cd6ae272d35..d1582d348f1a 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.12.1", + "version": "2.13.0", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 747eec0491e5..631f8060dca2 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,11 @@ # miniflare +## 3.20240223.0 + +### Minor Changes + +- [#5081](https://github.com/cloudflare/workers-sdk/pull/5081) [`0c0949d`](https://github.com/cloudflare/workers-sdk/commit/0c0949da60e3287c05a5884bb9f869ce5609a9a1) Thanks [@garrettgu10](https://github.com/garrettgu10)! - chore: bump `workerd` to [`1.20240223.1`](https://github.com/cloudflare/workerd/releases/tag/v1.20240223.0) + ## 3.20240208.0 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 1cda84aeb4b6..192e66c0d08d 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20240208.0", + "version": "3.20240223.0", "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 de533fa61b5d..b284dd55b7dc 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.11.15 + +### Patch Changes + +- Updated dependencies [[`0c0949d`](https://github.com/cloudflare/workers-sdk/commit/0c0949da60e3287c05a5884bb9f869ce5609a9a1)]: + - miniflare@3.20240223.0 + ## 0.11.14 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 94ff048e0901..1863eb958c83 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.14", + "version": "0.11.15", "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 c518ace2904e..f14c743a6a43 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 0.0.4 + +### Patch Changes + +- Updated dependencies [[`0c0949d`](https://github.com/cloudflare/workers-sdk/commit/0c0949da60e3287c05a5884bb9f869ce5609a9a1), [`c2f3f1e`](https://github.com/cloudflare/workers-sdk/commit/c2f3f1e37c1a8f0958676306f3128cd87265ea5b)]: + - miniflare@3.20240223.0 + - wrangler@3.30.0 + ## 0.0.3 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 733c114d6962..1bc766bbc439 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.0.3", + "version": "0.0.4", "private": true, "main": "dist/pool/index.mjs", "types": "test/cloudflare-test.d.ts", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index c000d0aa2a00..1ab31a142544 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,25 @@ # wrangler +## 3.30.0 + +### Minor Changes + +- [#4742](https://github.com/cloudflare/workers-sdk/pull/4742) [`c2f3f1e`](https://github.com/cloudflare/workers-sdk/commit/c2f3f1e37c1a8f0958676306f3128cd87265ea5b) Thanks [@benycodes](https://github.com/benycodes)! - feat: allow preserving file names when defining rules for non-js modules + + The developer is now able to specify the `preserve_file_names property in wrangler.toml + which specifies whether Wrangler will preserve the file names additional modules that are + added to the deployment bundle of a Worker. + + If not set to true, files will be named using the pattern ${fileHash}-${basename}. + For example, `34de60b44167af5c5a709e62a4e20c4f18c9e3b6-favicon.ico`. + + Resolves [#4741](https://github.com/cloudflare/workers-sdk/issues/4741) + +### Patch Changes + +- Updated dependencies [[`0c0949d`](https://github.com/cloudflare/workers-sdk/commit/0c0949da60e3287c05a5884bb9f869ce5609a9a1)]: + - miniflare@3.20240223.0 + ## 3.29.0 ### Minor Changes @@ -5531,7 +5551,7 @@ Fixes https://github.com/cloudflare/workers-sdk/issues/1026 ```jsx import SomeDependency from "some-dependency.js"; - addEventListener("fetch", event => {}); + addEventListener("fetch", (event) => {}); ``` `wrangler` 1.x would resolve `import SomeDependency from "some-dependency.js";` to the file `some-dependency.js`. This will work in `wrangler` v2, but it will log a deprecation warning. Instead, you should rewrite the import to specify that it's a relative path, like so: diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index f162eaa7781f..7a193c21e486 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.29.0", + "version": "3.30.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",