From 62a95e5b9153002eb412cd35e337719b7888e97f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 3 Nov 2023 16:24:17 +0000 Subject: [PATCH] Version Packages --- .changeset/c3-frameworks-update-4242.md | 5 --- .changeset/c3-frameworks-update-4275.md | 5 --- .changeset/c3-frameworks-update-4288.md | 5 --- .changeset/c3-frameworks-update-4313.md | 5 --- .changeset/c3-frameworks-update-4316.md | 5 --- .changeset/c3-frameworks-update-4317.md | 5 --- .changeset/c3-frameworks-update-4335.md | 5 --- .changeset/funny-rice-prove.md | 11 ------- .changeset/gentle-news-laugh.md | 5 --- .changeset/hot-kiwis-raise.md | 5 --- .changeset/olive-queens-retire.md | 6 ---- .changeset/rude-chicken-raise.md | 13 -------- .changeset/spotty-bees-arrive.md | 5 --- .changeset/swift-files-care.md | 5 --- .changeset/thin-pears-repeat.md | 5 --- .changeset/three-carpets-smile.md | 5 --- .changeset/tricky-otters-rescue.md | 30 ----------------- .changeset/wise-pears-fry.md | 5 --- packages/create-cloudflare/CHANGELOG.md | 31 ++++++++++++++++++ packages/create-cloudflare/package.json | 2 +- packages/miniflare/CHANGELOG.md | 43 +++++++++++++++++++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 ++++ packages/pages-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 35 ++++++++++++++++---- packages/wrangler/package.json | 2 +- 26 files changed, 114 insertions(+), 140 deletions(-) delete mode 100644 .changeset/c3-frameworks-update-4242.md delete mode 100644 .changeset/c3-frameworks-update-4275.md delete mode 100644 .changeset/c3-frameworks-update-4288.md delete mode 100644 .changeset/c3-frameworks-update-4313.md delete mode 100644 .changeset/c3-frameworks-update-4316.md delete mode 100644 .changeset/c3-frameworks-update-4317.md delete mode 100644 .changeset/c3-frameworks-update-4335.md delete mode 100644 .changeset/funny-rice-prove.md delete mode 100644 .changeset/gentle-news-laugh.md delete mode 100644 .changeset/hot-kiwis-raise.md delete mode 100644 .changeset/olive-queens-retire.md delete mode 100644 .changeset/rude-chicken-raise.md delete mode 100644 .changeset/spotty-bees-arrive.md delete mode 100644 .changeset/swift-files-care.md delete mode 100644 .changeset/thin-pears-repeat.md delete mode 100644 .changeset/three-carpets-smile.md delete mode 100644 .changeset/tricky-otters-rescue.md delete mode 100644 .changeset/wise-pears-fry.md diff --git a/.changeset/c3-frameworks-update-4242.md b/.changeset/c3-frameworks-update-4242.md deleted file mode 100644 index 1b1048c56952..000000000000 --- a/.changeset/c3-frameworks-update-4242.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `nuxi` from `3.9.0` to `3.9.1` diff --git a/.changeset/c3-frameworks-update-4275.md b/.changeset/c3-frameworks-update-4275.md deleted file mode 100644 index 1711cc335dfb..000000000000 --- a/.changeset/c3-frameworks-update-4275.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-astro` from `4.3.0` to `4.4.1` diff --git a/.changeset/c3-frameworks-update-4288.md b/.changeset/c3-frameworks-update-4288.md deleted file mode 100644 index 8d00a207f672..000000000000 --- a/.changeset/c3-frameworks-update-4288.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-qwik` from `1.2.14` to `1.2.15` diff --git a/.changeset/c3-frameworks-update-4313.md b/.changeset/c3-frameworks-update-4313.md deleted file mode 100644 index cadc3e211084..000000000000 --- a/.changeset/c3-frameworks-update-4313.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `gatsby` from `5.12.8` to `5.12.9` diff --git a/.changeset/c3-frameworks-update-4316.md b/.changeset/c3-frameworks-update-4316.md deleted file mode 100644 index 4b7448a140ea..000000000000 --- a/.changeset/c3-frameworks-update-4316.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-remix` from `2.1.0` to `2.2.0` diff --git a/.changeset/c3-frameworks-update-4317.md b/.changeset/c3-frameworks-update-4317.md deleted file mode 100644 index 70ca5a8b38c3..000000000000 --- a/.changeset/c3-frameworks-update-4317.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-docusaurus` from `2.4.3` to `3.0.0` diff --git a/.changeset/c3-frameworks-update-4335.md b/.changeset/c3-frameworks-update-4335.md deleted file mode 100644 index 6083e89554fd..000000000000 --- a/.changeset/c3-frameworks-update-4335.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `create-solid` from `0.3.8` to `0.3.9` diff --git a/.changeset/funny-rice-prove.md b/.changeset/funny-rice-prove.md deleted file mode 100644 index df4d955989d4..000000000000 --- a/.changeset/funny-rice-prove.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler": minor ---- - -Simplify secret:bulk api via script settings - -Firing PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially. - -Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don't need any parallelization. However this api doesn't work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don't use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won't update anything else. Instead, we use script settings api again to fetch the current state of your bindings. - -This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around "${x} secrets were updated" or "${x} secrets failed" is kept, even if it doesn't make much sense anymore. diff --git a/.changeset/gentle-news-laugh.md b/.changeset/gentle-news-laugh.md deleted file mode 100644 index d26cea94336a..000000000000 --- a/.changeset/gentle-news-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Relax empty directory check. Directories containing certain common config files and/or files created by an ide will be exempt from the pre-flight check diff --git a/.changeset/hot-kiwis-raise.md b/.changeset/hot-kiwis-raise.md deleted file mode 100644 index 744c50e484c2..000000000000 --- a/.changeset/hot-kiwis-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -correct error message for unrecognized application type diff --git a/.changeset/olive-queens-retire.md b/.changeset/olive-queens-retire.md deleted file mode 100644 index 7ef6563a5449..000000000000 --- a/.changeset/olive-queens-retire.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"create-cloudflare": patch ---- - -improve help message by adding more detailed descriptions about the various CLI options -also let the user know that more information is available in the Cloudflare docs diff --git a/.changeset/rude-chicken-raise.md b/.changeset/rude-chicken-raise.md deleted file mode 100644 index d1aa09c10387..000000000000 --- a/.changeset/rude-chicken-raise.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"miniflare": patch ---- - -fix: ensure `Mutex` doesn't report itself as drained if locked - -Previously, Miniflare's `Mutex` implementation would report itself as drained -if there were no waiters, regardless of the locked state. This bug meant that -if you called but didn't `await` `Miniflare#setOptions()`, future calls to -`Miniflare#dispatchFetch()` (or any other asynchronous `Miniflare` method) -wouldn't wait for the options update to apply and the runtime to restart before -sending requests. This change ensures we wait until the mutex is unlocked before -reporting it as drained. diff --git a/.changeset/spotty-bees-arrive.md b/.changeset/spotty-bees-arrive.md deleted file mode 100644 index 67fbdf80067f..000000000000 --- a/.changeset/spotty-bees-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": minor ---- - -Update Angular template to use version 17 diff --git a/.changeset/swift-files-care.md b/.changeset/swift-files-care.md deleted file mode 100644 index f7c3175db742..000000000000 --- a/.changeset/swift-files-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Fixed issue with `tail` not using proxy diff --git a/.changeset/thin-pears-repeat.md b/.changeset/thin-pears-repeat.md deleted file mode 100644 index 85c407674af3..000000000000 --- a/.changeset/thin-pears-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -[Workers] Allow namespace to be specified for a tail script diff --git a/.changeset/three-carpets-smile.md b/.changeset/three-carpets-smile.md deleted file mode 100644 index 63e4c7c51759..000000000000 --- a/.changeset/three-carpets-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Allows uploads with both cron triggers and smart placement enabled diff --git a/.changeset/tricky-otters-rescue.md b/.changeset/tricky-otters-rescue.md deleted file mode 100644 index ad128018b30f..000000000000 --- a/.changeset/tricky-otters-rescue.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"miniflare": minor ---- - -add `unsafeEvalBinding` option - -Add option to leverage the newly introduced [`UnsafeEval`](https://github.com/cloudflare/workerd/pull/1338) workerd binding API, -such API is used to evaluate javascript code at runtime via the provided `eval` and `newFunction` methods. - -The API, for security reasons (as per the [workers docs](https://developers.cloudflare.com/workers/runtime-apis/web-standards/#javascript-standards)), is not to be use in production but it is intended for local purposes only such as local testing. - -To use the binding you need to specify a string value for the `unsafeEvalBinding`, such will be the name of the `UnsafeEval` bindings that will be made available in the workerd runtime. - -For example the following code shows how to set the binding with the `UNSAFE_EVAL` name and evaluate the `1+1` string: - -```ts -const mf = new Miniflare({ - log, - modules: true, - script: ` - export default { - fetch(req, env, ctx) { - const two = env.UNSAFE_EVAL.eval('1+1'); - return new Response('two = ' + two); // returns 'two = 2' - } - } - `, - unsafeEvalBinding: "UNSAFE_EVAL", -}); -``` diff --git a/.changeset/wise-pears-fry.md b/.changeset/wise-pears-fry.md deleted file mode 100644 index 87dc188f6ece..000000000000 --- a/.changeset/wise-pears-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -fix: use a valid compatibility date for the scheduled worker ts template diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 6da531265eb9..6e9c64d2217e 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,36 @@ # create-cloudflare +## 2.7.0 + +### Minor Changes + +- [#4280](https://github.com/cloudflare/workers-sdk/pull/4280) [`a6cd9aff`](https://github.com/cloudflare/workers-sdk/commit/a6cd9aff92c636bdaa57f912868f328735e5686a) Thanks [@alan-agius4](https://github.com/alan-agius4)! - Update Angular template to use version 17 + +### Patch Changes + +- [#4242](https://github.com/cloudflare/workers-sdk/pull/4242) [`a1c9f43f`](https://github.com/cloudflare/workers-sdk/commit/a1c9f43f3e1f8ff1b781b9f524ebac82afce7563) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `nuxi` from `3.9.0` to `3.9.1` + +* [#4275](https://github.com/cloudflare/workers-sdk/pull/4275) [`e4aff81a`](https://github.com/cloudflare/workers-sdk/commit/e4aff81a1289ba52ee4fc40f5ee2ee34a9da690a) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-astro` from `4.3.0` to `4.4.1` + +- [#4288](https://github.com/cloudflare/workers-sdk/pull/4288) [`b7d91bb5`](https://github.com/cloudflare/workers-sdk/commit/b7d91bb58cb977b7e4f7667c086bed4c20afca94) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-qwik` from `1.2.14` to `1.2.15` + +* [#4313](https://github.com/cloudflare/workers-sdk/pull/4313) [`18612851`](https://github.com/cloudflare/workers-sdk/commit/18612851d6275f25be9faeed06bc2053d7b0d837) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `gatsby` from `5.12.8` to `5.12.9` + +- [#4316](https://github.com/cloudflare/workers-sdk/pull/4316) [`3caa7860`](https://github.com/cloudflare/workers-sdk/commit/3caa7860b790d1e2f8c5af392a16cde3bb31ee09) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-remix` from `2.1.0` to `2.2.0` + +* [#4317](https://github.com/cloudflare/workers-sdk/pull/4317) [`db8b5fe5`](https://github.com/cloudflare/workers-sdk/commit/db8b5fe51f0f75bdeb773cd161f190d653dff481) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-docusaurus` from `2.4.3` to `3.0.0` + +- [#4335](https://github.com/cloudflare/workers-sdk/pull/4335) [`c1223c53`](https://github.com/cloudflare/workers-sdk/commit/c1223c53cd4824ab0346347746d43e3a27dfaed1) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `create-solid` from `0.3.8` to `0.3.9` + +* [#4226](https://github.com/cloudflare/workers-sdk/pull/4226) [`5810f815`](https://github.com/cloudflare/workers-sdk/commit/5810f8150eb775663177a43266233abac19e9781) Thanks [@jculvey](https://github.com/jculvey)! - Relax empty directory check. Directories containing certain common config files and/or files created by an ide will be exempt from the pre-flight check + +- [#4249](https://github.com/cloudflare/workers-sdk/pull/4249) [`b18a2c0f`](https://github.com/cloudflare/workers-sdk/commit/b18a2c0f3b88b5ce986f8c134cfe6df4603b343d) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - correct error message for unrecognized application type + +* [#4249](https://github.com/cloudflare/workers-sdk/pull/4249) [`b18a2c0f`](https://github.com/cloudflare/workers-sdk/commit/b18a2c0f3b88b5ce986f8c134cfe6df4603b343d) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - improve help message by adding more detailed descriptions about the various CLI options + also let the user know that more information is available in the Cloudflare docs + +- [#4279](https://github.com/cloudflare/workers-sdk/pull/4279) [`2526794f`](https://github.com/cloudflare/workers-sdk/commit/2526794f214e730f7f88a8146ef24f50c2caf8f6) Thanks [@dnasdw](https://github.com/dnasdw)! - fix: use a valid compatibility date for the scheduled worker ts template + ## 2.6.2 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 300a5420ee3f..1f29e1d7b331 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.6.2", + "version": "2.7.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 c7377dafa577..ac4a53e01bcb 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,48 @@ # miniflare +## 3.20231025.2 + +### Minor Changes + +- [#4322](https://github.com/cloudflare/workers-sdk/pull/4322) [`8a25b7fb`](https://github.com/cloudflare/workers-sdk/commit/8a25b7fba94c8e9989412bc266ada307975f182d) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add `unsafeEvalBinding` option + + Add option to leverage the newly introduced [`UnsafeEval`](https://github.com/cloudflare/workerd/pull/1338) workerd binding API, + such API is used to evaluate javascript code at runtime via the provided `eval` and `newFunction` methods. + + The API, for security reasons (as per the [workers docs](https://developers.cloudflare.com/workers/runtime-apis/web-standards/#javascript-standards)), is not to be use in production but it is intended for local purposes only such as local testing. + + To use the binding you need to specify a string value for the `unsafeEvalBinding`, such will be the name of the `UnsafeEval` bindings that will be made available in the workerd runtime. + + For example the following code shows how to set the binding with the `UNSAFE_EVAL` name and evaluate the `1+1` string: + + ```ts + const mf = new Miniflare({ + log, + modules: true, + script: ` + export default { + fetch(req, env, ctx) { + const two = env.UNSAFE_EVAL.eval('1+1'); + return new Response('two = ' + two); // returns 'two = 2' + } + } + `, + unsafeEvalBinding: "UNSAFE_EVAL", + }); + ``` + +### Patch Changes + +- [#4321](https://github.com/cloudflare/workers-sdk/pull/4321) [`29a59d4e`](https://github.com/cloudflare/workers-sdk/commit/29a59d4e72e3ae849474325c5c93252a3f84af0d) Thanks [@mrbbot](https://github.com/mrbbot)! - fix: ensure `Mutex` doesn't report itself as drained if locked + + Previously, Miniflare's `Mutex` implementation would report itself as drained + if there were no waiters, regardless of the locked state. This bug meant that + if you called but didn't `await` `Miniflare#setOptions()`, future calls to + `Miniflare#dispatchFetch()` (or any other asynchronous `Miniflare` method) + wouldn't wait for the options update to apply and the runtime to restart before + sending requests. This change ensures we wait until the mutex is unlocked before + reporting it as drained. + ## Previous Releases For previous Miniflare 3 releases, refer to this GitHub releases page: https://github.com/cloudflare/miniflare/releases. diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index ff2d2e7f3d8a..92c3ccf19b73 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "3.20231025.1", + "version": "3.20231025.2", "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 5db26a39d3ab..aa948614a153 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.10.2 + +### Patch Changes + +- Updated dependencies [[`29a59d4e`](https://github.com/cloudflare/workers-sdk/commit/29a59d4e72e3ae849474325c5c93252a3f84af0d), [`8a25b7fb`](https://github.com/cloudflare/workers-sdk/commit/8a25b7fba94c8e9989412bc266ada307975f182d)]: + - miniflare@3.20231025.2 + ## 0.10.1 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index a2db360d4bab..a9015aca8f9b 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.10.1", + "version": "0.10.2", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index db8257235a4c..6ed5d5150e0f 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,28 @@ # wrangler +## 3.16.0 + +### Minor Changes + +- [#4179](https://github.com/cloudflare/workers-sdk/pull/4179) [`dd270d00`](https://github.com/cloudflare/workers-sdk/commit/dd270d0065159150ff318f2f06607ddecba6ee9b) Thanks [@matthewdavidrodgers](https://github.com/matthewdavidrodgers)! - Simplify secret:bulk api via script settings + + Firing PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially. + + Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don't need any parallelization. However this api doesn't work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don't use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won't update anything else. Instead, we use script settings api again to fetch the current state of your bindings. + + This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around "${x} secrets were updated" or "${x} secrets failed" is kept, even if it doesn't make much sense anymore. + +### Patch Changes + +- [#4149](https://github.com/cloudflare/workers-sdk/pull/4149) [`7e05f38e`](https://github.com/cloudflare/workers-sdk/commit/7e05f38e04e40125c9c5352b7ff1c95616c1baf0) Thanks [@jspspike](https://github.com/jspspike)! - Fixed issue with `tail` not using proxy + +* [#3845](https://github.com/cloudflare/workers-sdk/pull/3845) [`4b073850`](https://github.com/cloudflare/workers-sdk/commit/4b073850a052c1354bfe14293394c2d190645ee5) Thanks [@ndisidore](https://github.com/ndisidore)! - [Workers] Allow namespace to be specified for a tail script + +- [#4219](https://github.com/cloudflare/workers-sdk/pull/4219) [`0453b447`](https://github.com/cloudflare/workers-sdk/commit/0453b447251cc670310be6a2067c84074f6a515b) Thanks [@maxwellpeterson](https://github.com/maxwellpeterson)! - Allows uploads with both cron triggers and smart placement enabled + +- Updated dependencies [[`29a59d4e`](https://github.com/cloudflare/workers-sdk/commit/29a59d4e72e3ae849474325c5c93252a3f84af0d), [`8a25b7fb`](https://github.com/cloudflare/workers-sdk/commit/8a25b7fba94c8e9989412bc266ada307975f182d)]: + - miniflare@3.20231025.2 + ## 3.15.0 ### Minor Changes @@ -958,7 +981,7 @@ const url = new URL(req.url); const name = url.searchParams.get("name"); return new Response("Hello, " + name); - } + }, }; ``` @@ -1636,7 +1659,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c ```js worker = await unstable_dev("src/index.js", { - experimental: { disableExperimentalWarning: true } + experimental: { disableExperimentalWarning: true }, }); ``` @@ -2144,7 +2167,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c ```js await unstable_dev("src/index.ts", { - local: false + local: false, }); ``` @@ -2787,7 +2810,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c export default { fetch(req, env) { return env.Bee.fetch(req); - } + }, }; ``` @@ -2803,7 +2826,7 @@ rozenmd@cflaptop test1 % npx wrangler d1 execute test --command="select * from c export default { fetch(req, env) { return new Response("Hello World"); - } + }, }; ``` @@ -3784,7 +3807,7 @@ And in your worker, you can call it like so: export default { fetch(req, env, ctx) { return env.MYWORKER.fetch(new Request("http://domain/some-path")); - } + }, }; ``` diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 44763415dece..2eeaa79b666b 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.15.0", + "version": "3.16.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",