diff --git a/.changeset/beige-pants-promise.md b/.changeset/beige-pants-promise.md deleted file mode 100644 index 042e5657947e..000000000000 --- a/.changeset/beige-pants-promise.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"wrangler": patch ---- - -feat: include command run in the `wrangler types` comment - -In the comment added to the `.d.ts` file generated by `wrangler types` -include the command run to generated the file diff --git a/.changeset/big-actors-cheat.md b/.changeset/big-actors-cheat.md deleted file mode 100644 index a2e5d934ab8d..000000000000 --- a/.changeset/big-actors-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": minor ---- - -chore: bump `workerd` to [`1.20240208.0`](https://github.com/cloudflare/workerd/releases/tag/v1.20240208.0) diff --git a/.changeset/brave-years-wave.md b/.changeset/brave-years-wave.md deleted file mode 100644 index 2363e59adaa4..000000000000 --- a/.changeset/brave-years-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: allow Pages Functions to import built-in node:\* modules, even when not bundling with wrangler diff --git a/.changeset/bright-apricots-dance.md b/.changeset/bright-apricots-dance.md deleted file mode 100644 index 443f5af78d72..000000000000 --- a/.changeset/bright-apricots-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/pages-shared": patch ---- - -feat: Add feature metrics to asset-server diff --git a/.changeset/c3-frameworks-update-5066.md b/.changeset/c3-frameworks-update-5066.md deleted file mode 100644 index 5594e28a03b1..000000000000 --- a/.changeset/c3-frameworks-update-5066.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-remix` from `2.6.0` to `2.7.1` diff --git a/.changeset/chilled-mayflies-beam.md b/.changeset/chilled-mayflies-beam.md deleted file mode 100644 index 41466442e1af..000000000000 --- a/.changeset/chilled-mayflies-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: don't strip `.py` extensions from Python modules diff --git a/.changeset/clever-needles-love.md b/.changeset/clever-needles-love.md deleted file mode 100644 index f4a792eaeada..000000000000 --- a/.changeset/clever-needles-love.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"wrangler": minor ---- - -feat: add new `--env-interface` to `wrangler types` - -Allow users to specify the name of the interface that they want `wrangler types` to generate for the `env` parameter, via the new CLI flag `--env-interface` - -Example: - -```sh -wrangler types --env-interface CloudflareEnv -``` - -generates - -```ts -interface CloudflareEnv {} -``` - -instead of - -```ts -interface Env {} -``` diff --git a/.changeset/curly-masks-raise.md b/.changeset/curly-masks-raise.md deleted file mode 100644 index 2fb11f15f56f..000000000000 --- a/.changeset/curly-masks-raise.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"wrangler": minor ---- - -feat: add new `path` positional argument to `wrangler types` - -Allow users to specify the path to the typings (.d.ts) file they want -`wrangler types` to generate - -Example: - -```sh -wrangler types ./my-env.d.ts -``` - -generates a `my-env.d.ts` file in the current directory -instead of creating a `worker-configuration.d.ts` file diff --git a/.changeset/itchy-dragons-burn.md b/.changeset/itchy-dragons-burn.md deleted file mode 100644 index bdea6a186e72..000000000000 --- a/.changeset/itchy-dragons-burn.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler": patch ---- - -fix: make `wrangler types` honor top level config argument - -The `wrangler types` command currently ignores the `-c|--config` argument -(although it is still getting shown in the command's help message). Make -sure that the command honors the flag. -Also, if no config file is detected -present a warning to the user diff --git a/.changeset/serious-socks-tan.md b/.changeset/serious-socks-tan.md deleted file mode 100644 index 6d24502f3954..000000000000 --- a/.changeset/serious-socks-tan.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch ---- - -fix: make the `wrangler types` command pick up local secret keys from `.dev.vars` - -Make sure that the `wrangler types` command correctly picks up -secret keys defined in `.dev.vars` and includes them in the generated -file (marking them as generic `string` types of course) diff --git a/.changeset/two-ants-work.md b/.changeset/two-ants-work.md deleted file mode 100644 index 55103d966ef5..000000000000 --- a/.changeset/two-ants-work.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -feature: Add script to Qwik template for building Env type definitions. - -When creating a project with the Qwik template, the `QwikCityPlatform` type will be updated to contain a definition for the `env` property. These types 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 7df418e0c415..16a9d800ac2d 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,15 @@ # create-cloudflare +## 2.12.1 + +### Patch Changes + +- [#5066](https://github.com/cloudflare/workers-sdk/pull/5066) [`ef064279`](https://github.com/cloudflare/workers-sdk/commit/ef0642796dbe17b30fd7b83ccfd3efc651ce0a1a) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-remix` from `2.6.0` to `2.7.1` + +* [#5052](https://github.com/cloudflare/workers-sdk/pull/5052) [`f68e83e2`](https://github.com/cloudflare/workers-sdk/commit/f68e83e270fde93a8c6b0553f062b6e4ab80aa75) Thanks [@jculvey](https://github.com/jculvey)! - feature: Add script to Qwik template for building Env type definitions. + + When creating a project with the Qwik template, the `QwikCityPlatform` type will be updated to contain a definition for the `env` property. These types can be re-generated with a newly added `build-cf-types` script. + ## 2.12.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index ad5f08e88530..bbebff5a3280 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.12.0", + "version": "2.12.1", "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 4bb46b51631c..747eec0491e5 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,11 @@ # miniflare +## 3.20240208.0 + +### Minor Changes + +- [#5068](https://github.com/cloudflare/workers-sdk/pull/5068) [`b03db864`](https://github.com/cloudflare/workers-sdk/commit/b03db864a36924c31b8ddd82a027c83df4f68c43) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `workerd` to [`1.20240208.0`](https://github.com/cloudflare/workerd/releases/tag/v1.20240208.0) + ## 3.20240129.3 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 664d5e5c2d70..0f935d1f42be 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20240129.3", + "version": "3.20240208.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 0bbfec284b9d..de533fa61b5d 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,14 @@ # @cloudflare/pages-shared +## 0.11.14 + +### Patch Changes + +- [#4945](https://github.com/cloudflare/workers-sdk/pull/4945) [`73b20fa9`](https://github.com/cloudflare/workers-sdk/commit/73b20fa98ad09541c0bb8e7076e1b60151b793a5) Thanks [@jahands](https://github.com/jahands)! - feat: Add feature metrics to asset-server + +- Updated dependencies [[`b03db864`](https://github.com/cloudflare/workers-sdk/commit/b03db864a36924c31b8ddd82a027c83df4f68c43)]: + - miniflare@3.20240208.0 + ## 0.11.13 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index af8f95ef273d..94ff048e0901 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.13", + "version": "0.11.14", "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 7f2fdeaa3998..c518ace2904e 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.3 + +### Patch Changes + +- Updated dependencies [[`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23), [`b03db864`](https://github.com/cloudflare/workers-sdk/commit/b03db864a36924c31b8ddd82a027c83df4f68c43), [`1c460287`](https://github.com/cloudflare/workers-sdk/commit/1c460287f8836102b372ce0c7dddec093259692e), [`50f93bd2`](https://github.com/cloudflare/workers-sdk/commit/50f93bd2ce8f14294bee73b844897c5bfa083955), [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23), [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23), [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23), [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23)]: + - wrangler@3.29.0 + - miniflare@3.20240208.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 6bdb75114cd9..733c114d6962 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.2", + "version": "0.0.3", "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 0840d500c039..c000d0aa2a00 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,73 @@ # wrangler +## 3.29.0 + +### Minor Changes + +- [#5042](https://github.com/cloudflare/workers-sdk/pull/5042) [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - feat: add new `--env-interface` to `wrangler types` + + Allow users to specify the name of the interface that they want `wrangler types` to generate for the `env` parameter, via the new CLI flag `--env-interface` + + Example: + + ```sh + wrangler types --env-interface CloudflareEnv + ``` + + generates + + ```ts + interface CloudflareEnv {} + ``` + + instead of + + ```ts + interface Env {} + ``` + +* [#5042](https://github.com/cloudflare/workers-sdk/pull/5042) [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - feat: add new `path` positional argument to `wrangler types` + + Allow users to specify the path to the typings (.d.ts) file they want + `wrangler types` to generate + + Example: + + ```sh + wrangler types ./my-env.d.ts + ``` + + generates a `my-env.d.ts` file in the current directory + instead of creating a `worker-configuration.d.ts` file + +### Patch Changes + +- [#5042](https://github.com/cloudflare/workers-sdk/pull/5042) [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - feat: include command run in the `wrangler types` comment + + In the comment added to the `.d.ts` file generated by `wrangler types` + include the command run to generated the file + +* [#4303](https://github.com/cloudflare/workers-sdk/pull/4303) [`1c460287`](https://github.com/cloudflare/workers-sdk/commit/1c460287f8836102b372ce0c7dddec093259692e) Thanks [@richardscarrott](https://github.com/richardscarrott)! - fix: allow Pages Functions to import built-in node:\* modules, even when not bundling with wrangler + +- [#4957](https://github.com/cloudflare/workers-sdk/pull/4957) [`50f93bd2`](https://github.com/cloudflare/workers-sdk/commit/50f93bd2ce8f14294bee73b844897c5bfa083955) Thanks [@garrettgu10](https://github.com/garrettgu10)! - fix: don't strip `.py` extensions from Python modules + +* [#5042](https://github.com/cloudflare/workers-sdk/pull/5042) [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make `wrangler types` honor top level config argument + + The `wrangler types` command currently ignores the `-c|--config` argument + (although it is still getting shown in the command's help message). Make + sure that the command honors the flag. + Also, if no config file is detected + present a warning to the user + +- [#5042](https://github.com/cloudflare/workers-sdk/pull/5042) [`5693d076`](https://github.com/cloudflare/workers-sdk/commit/5693d076e2aab99d4736649d5b467689ce25cb23) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: make the `wrangler types` command pick up local secret keys from `.dev.vars` + + Make sure that the `wrangler types` command correctly picks up + secret keys defined in `.dev.vars` and includes them in the generated + file (marking them as generic `string` types of course) + +- Updated dependencies [[`b03db864`](https://github.com/cloudflare/workers-sdk/commit/b03db864a36924c31b8ddd82a027c83df4f68c43)]: + - miniflare@3.20240208.0 + ## 3.28.4 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 83c5783a0d38..f162eaa7781f 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.28.4", + "version": "3.29.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",