From 300d427c4a57fc6d22ed77550e9465e8789faf11 Mon Sep 17 00:00:00 2001 From: "workers-devprod@cloudflare.com" <116369605+workers-devprod@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:38:25 +0000 Subject: [PATCH] Version Packages (#4854) Co-authored-by: github-actions[bot] --- .changeset/c3-frameworks-update-4855.md | 5 ---- .changeset/c3-frameworks-update-4856.md | 5 ---- .changeset/c3-frameworks-update-4857.md | 5 ---- .changeset/c3-frameworks-update-4858.md | 5 ---- .changeset/c3-frameworks-update-4870.md | 5 ---- .changeset/eleven-carrots-happen.md | 7 ----- .changeset/forty-boxes-lay.md | 8 ------ .changeset/forty-needles-turn.md | 7 ----- .changeset/four-teachers-push.md | 8 ------ .changeset/fuzzy-news-clean.md | 21 --------------- .changeset/happy-pandas-sparkle.md | 12 --------- .changeset/heavy-dolls-agree.md | 5 ---- .changeset/odd-kids-notice.md | 7 ----- .changeset/slow-trains-confess.md | 5 ---- .changeset/twelve-coins-hear.md | 10 ------- .changeset/wet-lemons-wash.md | 6 ----- fixtures/dev-env/package.json | 2 +- packages/create-cloudflare/CHANGELOG.md | 32 ++++++++++++++++++++++ packages/create-cloudflare/package.json | 2 +- packages/miniflare/CHANGELOG.md | 26 ++++++++++++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 9 +++++++ packages/pages-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 35 +++++++++++++++++++++++++ packages/wrangler/package.json | 2 +- pnpm-lock.yaml | 2 +- 26 files changed, 108 insertions(+), 127 deletions(-) delete mode 100644 .changeset/c3-frameworks-update-4855.md delete mode 100644 .changeset/c3-frameworks-update-4856.md delete mode 100644 .changeset/c3-frameworks-update-4857.md delete mode 100644 .changeset/c3-frameworks-update-4858.md delete mode 100644 .changeset/c3-frameworks-update-4870.md delete mode 100644 .changeset/eleven-carrots-happen.md delete mode 100644 .changeset/forty-boxes-lay.md delete mode 100644 .changeset/forty-needles-turn.md delete mode 100644 .changeset/four-teachers-push.md delete mode 100644 .changeset/fuzzy-news-clean.md delete mode 100644 .changeset/happy-pandas-sparkle.md delete mode 100644 .changeset/heavy-dolls-agree.md delete mode 100644 .changeset/odd-kids-notice.md delete mode 100644 .changeset/slow-trains-confess.md delete mode 100644 .changeset/twelve-coins-hear.md delete mode 100644 .changeset/wet-lemons-wash.md diff --git a/.changeset/c3-frameworks-update-4855.md b/.changeset/c3-frameworks-update-4855.md deleted file mode 100644 index 1e916512f15e..000000000000 --- a/.changeset/c3-frameworks-update-4855.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-docusaurus` from `3.1.0` to `3.1.1` diff --git a/.changeset/c3-frameworks-update-4856.md b/.changeset/c3-frameworks-update-4856.md deleted file mode 100644 index e92c61285ea3..000000000000 --- a/.changeset/c3-frameworks-update-4856.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-astro` from `4.7.1` to `4.7.2` diff --git a/.changeset/c3-frameworks-update-4857.md b/.changeset/c3-frameworks-update-4857.md deleted file mode 100644 index a36883b88ea6..000000000000 --- a/.changeset/c3-frameworks-update-4857.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-qwik` from `1.4.1` to `1.4.2` diff --git a/.changeset/c3-frameworks-update-4858.md b/.changeset/c3-frameworks-update-4858.md deleted file mode 100644 index 32918e5d569f..000000000000 --- a/.changeset/c3-frameworks-update-4858.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-solid` from `0.3.10` to `0.4.10` diff --git a/.changeset/c3-frameworks-update-4870.md b/.changeset/c3-frameworks-update-4870.md deleted file mode 100644 index 86ffa5ad1ae9..000000000000 --- a/.changeset/c3-frameworks-update-4870.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-vue` from `3.9.1` to `3.9.2` diff --git a/.changeset/eleven-carrots-happen.md b/.changeset/eleven-carrots-happen.md deleted file mode 100644 index b593dce6f13f..000000000000 --- a/.changeset/eleven-carrots-happen.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: allow empty strings in secret:bulk upload - -Previously, the `secret:bulk` command would fail if any of the secrets in the secret.json file were empty strings and they already existed remotely. diff --git a/.changeset/forty-boxes-lay.md b/.changeset/forty-boxes-lay.md deleted file mode 100644 index f89c95a9e36b..000000000000 --- a/.changeset/forty-boxes-lay.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: handle new Next.js `next.config.mjs` default files - -Since `create-next-app` `v14.1.0` the default generated config file is `next.config.mjs` -(instead of `next.config.js`), so such new default files need to be handled accordingly diff --git a/.changeset/forty-needles-turn.md b/.changeset/forty-needles-turn.md deleted file mode 100644 index 8f1678b042dc..000000000000 --- a/.changeset/forty-needles-turn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": minor ---- - -feature: introduce a new optional `previewScript` to the C3 summary - -such script is to be used to locally preview the application (using wrangler) diff --git a/.changeset/four-teachers-push.md b/.changeset/four-teachers-push.md deleted file mode 100644 index aa78177d3fa9..000000000000 --- a/.changeset/four-teachers-push.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: update the svelteKit c3 scripts - -replace the incorrect `pages:dev` with a new `pages:preview` script -(and use the standard `dev` script as the `devScript`) diff --git a/.changeset/fuzzy-news-clean.md b/.changeset/fuzzy-news-clean.md deleted file mode 100644 index 4d3bc24e6538..000000000000 --- a/.changeset/fuzzy-news-clean.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"miniflare": minor ---- - -feature: implemented basic Python support - -Here is an example showing how to construct a MiniFlare instance with a Python module: - -```js -const mf = new Miniflare({ - modules: [ - { - type: "PythonModule", - path: "index", - contents: - "from js import Response;\ndef fetch(request):\n return Response.new('hello')", - }, - ], - compatibilityFlags: ["experimental"], -}); -``` diff --git a/.changeset/happy-pandas-sparkle.md b/.changeset/happy-pandas-sparkle.md deleted file mode 100644 index 84225a160915..000000000000 --- a/.changeset/happy-pandas-sparkle.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"wrangler": minor ---- - -feature: expose new (no-op) `caches` field in `getBindingsProxy` result - -Add a new `caches` field to the `getBindingsProxy` result, such field implements a -no operation (no-op) implementation of the runtime `caches` - -Note: Miniflare exposes a proper `caches` mock, we will want to use that one in -the future but issues regarding it must be ironed out first, so for the -time being a no-op will have to do diff --git a/.changeset/heavy-dolls-agree.md b/.changeset/heavy-dolls-agree.md deleted file mode 100644 index 0748ce4fadea..000000000000 --- a/.changeset/heavy-dolls-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -chore: bump `workerd` to [`1.20240129.0`](https://github.com/cloudflare/workerd/releases/tag/v1.20240129.0) diff --git a/.changeset/odd-kids-notice.md b/.changeset/odd-kids-notice.md deleted file mode 100644 index 8fe4d9f01ed5..000000000000 --- a/.changeset/odd-kids-notice.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -feature: Expose AI bindings to `getBindingsProxy`. - -The `getBindingsProxy` utility function will now contain entries for any AI bindings specified in `wrangler.toml`. diff --git a/.changeset/slow-trains-confess.md b/.changeset/slow-trains-confess.md deleted file mode 100644 index 6dcd5d193428..000000000000 --- a/.changeset/slow-trains-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -chore: Bumped `create-next-app` from `14.0.4` to `14.1.0` diff --git a/.changeset/twelve-coins-hear.md b/.changeset/twelve-coins-hear.md deleted file mode 100644 index 787d844f811f..000000000000 --- a/.changeset/twelve-coins-hear.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"wrangler": patch ---- - -fix: do not attempt login during dry-run - -The "standard pricing" warning was attempting to make an API call that was causing a login attempt even when on a dry-run. -Now this warning is disabled during dry-runs. - -Fixes #4723 diff --git a/.changeset/wet-lemons-wash.md b/.changeset/wet-lemons-wash.md deleted file mode 100644 index 784359da9f7b..000000000000 --- a/.changeset/wet-lemons-wash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/pages-shared": patch -"wrangler": patch ---- - -fix: Use appropriate logging levels when parsing headers and redirects in `wrangler pages dev`. diff --git a/fixtures/dev-env/package.json b/fixtures/dev-env/package.json index 2cf95197a8fe..8464d833cf74 100644 --- a/fixtures/dev-env/package.json +++ b/fixtures/dev-env/package.json @@ -16,7 +16,7 @@ "@types/ws": "^8.5.7", "@cloudflare/workers-tsconfig": "workspace:^", "get-port": "^7.0.0", - "miniflare": "3.20231218.4", + "miniflare": "3.20240129.0", "undici": "^5.28.2", "wrangler": "workspace:*", "ws": "^8.14.2" diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index f609bd6836fc..9645430b1e27 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,37 @@ # create-cloudflare +## 2.11.0 + +### Minor Changes + +- [#4850](https://github.com/cloudflare/workers-sdk/pull/4850) [`eb76082b`](https://github.com/cloudflare/workers-sdk/commit/eb76082bfc96c588cc26a2eed7c49407bb797dd5) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - feature: introduce a new optional `previewScript` to the C3 summary + + such script is to be used to locally preview the application (using wrangler) + +### Patch Changes + +- [#4855](https://github.com/cloudflare/workers-sdk/pull/4855) [`c58c253b`](https://github.com/cloudflare/workers-sdk/commit/c58c253bf5abf347c8c5a05e12561cc9d8544b95) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-docusaurus` from `3.1.0` to `3.1.1` + +* [#4856](https://github.com/cloudflare/workers-sdk/pull/4856) [`f6a707d3`](https://github.com/cloudflare/workers-sdk/commit/f6a707d37522794dc828ddd7895c038c05ab094f) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-astro` from `4.7.1` to `4.7.2` + +- [#4857](https://github.com/cloudflare/workers-sdk/pull/4857) [`9adfeae5`](https://github.com/cloudflare/workers-sdk/commit/9adfeae5763e00075cea80cb34585598fdc28c19) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-qwik` from `1.4.1` to `1.4.2` + +* [#4858](https://github.com/cloudflare/workers-sdk/pull/4858) [`f2ca5e2e`](https://github.com/cloudflare/workers-sdk/commit/f2ca5e2e6df50f7e3977ef3a9e408bd7e11f60be) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-solid` from `0.3.10` to `0.4.10` + +- [#4870](https://github.com/cloudflare/workers-sdk/pull/4870) [`7a341949`](https://github.com/cloudflare/workers-sdk/commit/7a341949216fa6bfdb892f0c4d1f797415741856) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: Bumped `create-vue` from `3.9.1` to `3.9.2` + +* [#4863](https://github.com/cloudflare/workers-sdk/pull/4863) [`ed40cf84`](https://github.com/cloudflare/workers-sdk/commit/ed40cf849ae8f164574137ea34bb86ed88a6e168) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - chore: handle new Next.js `next.config.mjs` default files + + Since `create-next-app` `v14.1.0` the default generated config file is `next.config.mjs` + (instead of `next.config.js`), so such new default files need to be handled accordingly + +- [#4850](https://github.com/cloudflare/workers-sdk/pull/4850) [`eb76082b`](https://github.com/cloudflare/workers-sdk/commit/eb76082bfc96c588cc26a2eed7c49407bb797dd5) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: update the svelteKit c3 scripts + + replace the incorrect `pages:dev` with a new `pages:preview` script + (and use the standard `dev` script as the `devScript`) + +* [#4863](https://github.com/cloudflare/workers-sdk/pull/4863) [`ed40cf84`](https://github.com/cloudflare/workers-sdk/commit/ed40cf849ae8f164574137ea34bb86ed88a6e168) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - chore: Bumped `create-next-app` from `14.0.4` to `14.1.0` + ## 2.10.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index dae99bcb974f..96ecc9b5cd30 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.10.0", + "version": "2.11.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 a43f6d47bac2..f30fe751db8e 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,31 @@ # miniflare +## 3.20240129.0 + +### Minor Changes + +- [#4873](https://github.com/cloudflare/workers-sdk/pull/4873) [`1e424ff2`](https://github.com/cloudflare/workers-sdk/commit/1e424ff280610657e997df8290d0b39b0393c845) Thanks [@dom96](https://github.com/dom96)! - feature: implemented basic Python support + + Here is an example showing how to construct a MiniFlare instance with a Python module: + + ```js + const mf = new Miniflare({ + modules: [ + { + type: "PythonModule", + path: "index", + contents: + "from js import Response;\ndef fetch(request):\n return Response.new('hello')", + }, + ], + compatibilityFlags: ["experimental"], + }); + ``` + +### Patch Changes + +- [#4874](https://github.com/cloudflare/workers-sdk/pull/4874) [`749fa3c0`](https://github.com/cloudflare/workers-sdk/commit/749fa3c05e6b9fcaa59a72f60f7936b7beaed5ad) Thanks [@mrbbot](https://github.com/mrbbot)! - chore: bump `workerd` to [`1.20240129.0`](https://github.com/cloudflare/workerd/releases/tag/v1.20240129.0) + ## 3.20231218.4 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 971f45cbc068..b740aed1f272 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20231218.4", + "version": "3.20240129.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 a7b549f4d7fa..b904728f011f 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,14 @@ # @cloudflare/pages-shared +## 0.11.10 + +### Patch Changes + +- [#4819](https://github.com/cloudflare/workers-sdk/pull/4819) [`6a4cb8c6`](https://github.com/cloudflare/workers-sdk/commit/6a4cb8c6456f1dba95cae2b8bbe658f7227349f8) Thanks [@magnusdahlstrand](https://github.com/magnusdahlstrand)! - fix: Use appropriate logging levels when parsing headers and redirects in `wrangler pages dev`. + +- Updated dependencies [[`1e424ff2`](https://github.com/cloudflare/workers-sdk/commit/1e424ff280610657e997df8290d0b39b0393c845), [`749fa3c0`](https://github.com/cloudflare/workers-sdk/commit/749fa3c05e6b9fcaa59a72f60f7936b7beaed5ad)]: + - miniflare@3.20240129.0 + ## 0.11.9 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 7fa8d8556a85..c676fc0a2ced 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.11.9", + "version": "0.11.10", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 748434d1fd39..7d241dbec84e 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,40 @@ # wrangler +## 3.26.0 + +### Minor Changes + +- [#4847](https://github.com/cloudflare/workers-sdk/pull/4847) [`6968e11f`](https://github.com/cloudflare/workers-sdk/commit/6968e11f3c1f4911c666501ca9654eabfe87244b) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - feature: expose new (no-op) `caches` field in `getBindingsProxy` result + + Add a new `caches` field to the `getBindingsProxy` result, such field implements a + no operation (no-op) implementation of the runtime `caches` + + Note: Miniflare exposes a proper `caches` mock, we will want to use that one in + the future but issues regarding it must be ironed out first, so for the + time being a no-op will have to do + +### Patch Changes + +- [#4860](https://github.com/cloudflare/workers-sdk/pull/4860) [`b92e5ac0`](https://github.com/cloudflare/workers-sdk/commit/b92e5ac006195d490bcf9be3b547ba0bfa33f151) Thanks [@Sibirius](https://github.com/Sibirius)! - fix: allow empty strings in secret:bulk upload + + Previously, the `secret:bulk` command would fail if any of the secrets in the secret.json file were empty strings and they already existed remotely. + +* [#4869](https://github.com/cloudflare/workers-sdk/pull/4869) [`fd084bc0`](https://github.com/cloudflare/workers-sdk/commit/fd084bc0c890458f479e756b616ed023b7142bba) Thanks [@jculvey](https://github.com/jculvey)! - feature: Expose AI bindings to `getBindingsProxy`. + + The `getBindingsProxy` utility function will now contain entries for any AI bindings specified in `wrangler.toml`. + +- [#4880](https://github.com/cloudflare/workers-sdk/pull/4880) [`65da40a1`](https://github.com/cloudflare/workers-sdk/commit/65da40a1229c4e5358553f2636282eb909ebc662) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: do not attempt login during dry-run + + The "standard pricing" warning was attempting to make an API call that was causing a login attempt even when on a dry-run. + Now this warning is disabled during dry-runs. + + Fixes #4723 + +* [#4819](https://github.com/cloudflare/workers-sdk/pull/4819) [`6a4cb8c6`](https://github.com/cloudflare/workers-sdk/commit/6a4cb8c6456f1dba95cae2b8bbe658f7227349f8) Thanks [@magnusdahlstrand](https://github.com/magnusdahlstrand)! - fix: Use appropriate logging levels when parsing headers and redirects in `wrangler pages dev`. + +* Updated dependencies [[`1e424ff2`](https://github.com/cloudflare/workers-sdk/commit/1e424ff280610657e997df8290d0b39b0393c845), [`749fa3c0`](https://github.com/cloudflare/workers-sdk/commit/749fa3c05e6b9fcaa59a72f60f7936b7beaed5ad)]: + - miniflare@3.20240129.0 + ## 3.25.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index ca1bf3972010..61da11023647 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.25.0", + "version": "3.26.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8717ae3c0fae..6bd9610d0b07 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -144,7 +144,7 @@ importers: specifier: ^7.0.0 version: 7.0.0 miniflare: - specifier: 3.20231218.4 + specifier: 3.20240129.0 version: link:../../packages/miniflare undici: specifier: ^5.28.2