From 63e937acb3e9f1b176b951d867b9b43a536a342e Mon Sep 17 00:00:00 2001 From: "workers-devprod@cloudflare.com" <116369605+workers-devprod@users.noreply.github.com> Date: Mon, 25 Sep 2023 18:00:13 +0100 Subject: [PATCH] Version Packages (#3996) Co-authored-by: github-actions[bot] --- .changeset/brave-stingrays-shout.md | 36 --------------------- .changeset/c3-frameworks-update-4001.md | 5 --- .changeset/lazy-clocks-exist.md | 5 --- .changeset/nine-stingrays-hammer.md | 5 --- .changeset/orange-lizards-joke.md | 5 --- packages/create-cloudflare/CHANGELOG.md | 6 ++++ packages/create-cloudflare/package.json | 2 +- packages/wrangler/CHANGELOG.md | 43 +++++++++++++++++++++++++ packages/wrangler/package.json | 2 +- 9 files changed, 51 insertions(+), 58 deletions(-) delete mode 100644 .changeset/brave-stingrays-shout.md delete mode 100644 .changeset/c3-frameworks-update-4001.md delete mode 100644 .changeset/lazy-clocks-exist.md delete mode 100644 .changeset/nine-stingrays-hammer.md delete mode 100644 .changeset/orange-lizards-joke.md diff --git a/.changeset/brave-stingrays-shout.md b/.changeset/brave-stingrays-shout.md deleted file mode 100644 index 56864f118e44..000000000000 --- a/.changeset/brave-stingrays-shout.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -"wrangler": patch ---- - -Add AI binding that will be used to interact with the AI project. - -Example `wrangler.toml` - - name = "ai-worker" - main = "src/index.ts" - - [ai] - binding = "AI" - -Example script: - - import Ai from "@cloudflare/ai" - - export default { - async fetch(request: Request, env: Env): Promise { - const ai = new Ai(env.AI); - - const story = await ai.run({ - model: 'llama-2', - input: { - prompt: 'Tell me a story about the future of the Cloudflare dev platform' - } - }); - - return new Response(JSON.stringify(story)); - }, - }; - - export interface Env { - AI: any; - } diff --git a/.changeset/c3-frameworks-update-4001.md b/.changeset/c3-frameworks-update-4001.md deleted file mode 100644 index e23e67c4f0ba..000000000000 --- a/.changeset/c3-frameworks-update-4001.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-cloudflare": patch ---- - -C3: Bumped `nuxi` from `3.8.4` to `3.9.0` diff --git a/.changeset/lazy-clocks-exist.md b/.changeset/lazy-clocks-exist.md deleted file mode 100644 index 83ac04e2be0b..000000000000 --- a/.changeset/lazy-clocks-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix: remove warning around using D1's binding, and clean up the epilogue when running D1 commands diff --git a/.changeset/nine-stingrays-hammer.md b/.changeset/nine-stingrays-hammer.md deleted file mode 100644 index fe2e5a1834f8..000000000000 --- a/.changeset/nine-stingrays-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Add WebGPU support through miniflare update diff --git a/.changeset/orange-lizards-joke.md b/.changeset/orange-lizards-joke.md deleted file mode 100644 index 6c1513d15a71..000000000000 --- a/.changeset/orange-lizards-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Added AI related CLI commands diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 930e087658bc..2f740eae4a27 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,11 @@ # create-cloudflare +## 2.3.1 + +### Patch Changes + +- [#4001](https://github.com/cloudflare/workers-sdk/pull/4001) [`fd39ae64`](https://github.com/cloudflare/workers-sdk/commit/fd39ae649dc0658de4cfd3eac6dcfc6b4ab6205a) Thanks [@dependabot](https://github.com/apps/dependabot)! - C3: Bumped `nuxi` from `3.8.4` to `3.9.0` + ## 2.3.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 9c0ee01bd0bf..e6890053e30c 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.3.0", + "version": "2.3.1", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 0e33497e8a0a..ee80e8f8a5c0 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,48 @@ # wrangler +## 3.9.1 + +### Patch Changes + +- [#3992](https://github.com/cloudflare/workers-sdk/pull/3992) [`35564741`](https://github.com/cloudflare/workers-sdk/commit/3556474116db2fc7dbfbb34bfc351490360f4d85) Thanks [@edevil](https://github.com/edevil)! - Add AI binding that will be used to interact with the AI project. + + Example `wrangler.toml` + + name = "ai-worker" + main = "src/index.ts" + + [ai] + binding = "AI" + + Example script: + + import Ai from "@cloudflare/ai" + + export default { + async fetch(request: Request, env: Env): Promise { + const ai = new Ai(env.AI); + + const story = await ai.run({ + model: 'llama-2', + input: { + prompt: 'Tell me a story about the future of the Cloudflare dev platform' + } + }); + + return new Response(JSON.stringify(story)); + }, + }; + + export interface Env { + AI: any; + } + +* [#4006](https://github.com/cloudflare/workers-sdk/pull/4006) [`bc8c147a`](https://github.com/cloudflare/workers-sdk/commit/bc8c147a9118748bb3b5eb220af5699f8b2f7899) Thanks [@rozenmd](https://github.com/rozenmd)! - fix: remove warning around using D1's binding, and clean up the epilogue when running D1 commands + +- [#4027](https://github.com/cloudflare/workers-sdk/pull/4027) [`9e466599`](https://github.com/cloudflare/workers-sdk/commit/9e466599210902515ece6f5ea07fbabcd8fdac6a) Thanks [@jspspike](https://github.com/jspspike)! - Add WebGPU support through miniflare update + +* [#3986](https://github.com/cloudflare/workers-sdk/pull/3986) [`00247a8d`](https://github.com/cloudflare/workers-sdk/commit/00247a8d69613a4cfeb621b5cca075828e5ae1e1) Thanks [@edevil](https://github.com/edevil)! - Added AI related CLI commands + ## 3.9.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index aaafaf57d19f..ee4f3e1efb79 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "3.9.0", + "version": "3.9.1", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",