diff --git a/.optimize-cache.json b/.optimize-cache.json index f8b0dcae5d..ecaeb30e0c 100644 --- a/.optimize-cache.json +++ b/.optimize-cache.json @@ -208,6 +208,8 @@ "static/images/blog/announcing-bigint-columns/cover.png": "de0ec57085646427a552f35f0b1ab9a77f9e38b9b20801329ac19bc4bdb069f7", "static/images/blog/announcing-bulk-api/cover.png": "78a0fdf3b54ce8412bf6be1880eb4a42bcac2cb04420045a60bce888c8999c6f", "static/images/blog/announcing-bun-and-dart/bun-and-dart.png": "ea94af00a5c035cefb6474a9061441803db0160b7cc194fb5a71fbe05abf0d12", + "static/images/blog/announcing-bun-deno-runtimes/cover.png": "5c739aa57624b990174943108de2433dd9292798d9e488d01351d5f01eba7800", + "static/images/blog/announcing-bun-deno-runtimes/runtime-bun.png": "3ca689b349526e34386ac8dac25eb3ced20952c4493a85800da848a4e81fe319", "static/images/blog/announcing-cname-flattening/cover.png": "3d79ccb4a7f1bac9e32e0456e31fe09f4475e87368e582591799445a7d4a6f3a", "static/images/blog/announcing-csv-export/cover.png": "a330a6cc463d94635f905f5b48e6ee8b7c1b3f48b1c7ca0fada2e2b6f62b4ccf", "static/images/blog/announcing-csv-imports/cover.png": "47b77b504bdb691afcdf7769b70a5edc610ad525364bff8747d813cc674d549c", diff --git a/src/routes/blog/post/announcing-bun-deno-runtimes/+page.markdoc b/src/routes/blog/post/announcing-bun-deno-runtimes/+page.markdoc new file mode 100644 index 0000000000..3ac8dc5927 --- /dev/null +++ b/src/routes/blog/post/announcing-bun-deno-runtimes/+page.markdoc @@ -0,0 +1,49 @@ +--- +layout: post +title: "Announcing Bun and Deno build runtimes for Appwrite Sites" +description: Appwrite Sites now supports Bun and Deno as build runtimes for every Node-based framework, with Bun 1.0 through 1.3 and Deno 1.40 through 2.6 available in the build runtime dropdown. +date: 2026-05-19 +cover: /images/blog/announcing-bun-deno-runtimes/cover.avif +timeToRead: 4 +author: atharva +category: announcement +featured: false +callToAction: true +--- + +Today, we are happy to announce that **Bun and Deno are now available as build runtimes for Appwrite Sites**. You can pick any supported version, from **Bun 1.0** up to the latest **Bun 1.3**, and from **Deno 1.40** up to the latest **Deno 2.6**, in the Console build runtime dropdown for any Node-based framework, and your existing site will build without any changes to your project, your `package.json`, or your build command. + +# Why Bun and Deno on Sites + +Sites already supports Node as a build runtime, and Node is going to keep being a great default. Adding Bun and Deno is about giving you a choice that matches how your team actually develops: + +- **Bun is fast where it counts for sites.** Dependency installs, lockfile resolution, and script execution are noticeably quicker than equivalent Node tooling, which makes it well suited to the install and build phase of a deploy. The Bun 1.x release line continues to improve npm compatibility and ships fixes that matter for modern framework toolchains. +- **Deno brings a modern, secure JavaScript runtime.** Recent Deno releases are fully npm compatible, support monorepos, and ship a strong built-in toolchain including a formatter, linter, and test runner. If you already use Deno locally, you can now build your Appwrite Site with the same runtime instead of switching to Node for deploys. +- **You can stay in your stack.** This is not a new framework or a new way to structure your project. The build runtime selector simply tells Appwrite which JavaScript runtime to use when installing dependencies and running your build command. + +# Available versions + +The build runtime dropdown for Node-based Sites frameworks now includes: + +- **Bun**: 1.0, 1.1, 1.2, 1.3 +- **Deno**: 1.40, 1.46, 2.0, 2.5, 2.6 +- **Node**: 14.5, 16.0, 18.0, 19.0, 20.0, 21.0, 22, 23, 24, 25 + +Older Bun and Deno versions are included so that existing projects pinned to a specific runtime can keep deploying without an upgrade step. New sites should pick the latest version on each line, Bun 1.3 or Deno 2.6, unless a project has a reason to stay back. + +# Picking a build runtime in the Console + +The build runtime is configured per site under **Site settings**, in the **Runtime settings** section. Selecting a Bun or Deno version changes which runtime Appwrite uses to install dependencies and run your build command on the next deployment. Your active deployment is not affected until you redeploy. + +![Build runtime selector showing Bun 1.3 selected on an Appwrite Site](/images/blog/announcing-bun-deno-runtimes/runtime-bun.avif) + +# Getting started + +Bun and Deno build runtimes for Sites are **available on Appwrite Cloud today**. + +# More resources + +- [Appwrite Sites documentation](/docs/products/sites) +- [Sites framework support](/docs/products/sites/frameworks) +- [Appwrite Cloud](https://cloud.appwrite.io) +- [Join the Appwrite Community on Discord](https://appwrite.io/discord) diff --git a/src/routes/changelog/(entries)/2026-05-19.markdoc b/src/routes/changelog/(entries)/2026-05-19.markdoc new file mode 100644 index 0000000000..a19590d413 --- /dev/null +++ b/src/routes/changelog/(entries)/2026-05-19.markdoc @@ -0,0 +1,14 @@ +--- +layout: changelog +title: "Bun and Deno are now build runtimes for Sites" +date: 2026-05-19 +cover: /images/blog/announcing-bun-deno-runtimes/cover.avif +--- + +Appwrite Sites now supports **Bun** (1.0, 1.1, 1.2, 1.3) and **Deno** (1.40, 1.46, 2.0, 2.5, 2.6) as build runtimes for every Node-based framework. + +Switch the build runtime per site under **Site settings**, in the **Runtime settings** section. The change applies on the next deployment, your active deployment is not affected until you redeploy. + +{% arrow_link href="/blog/post/announcing-bun-deno-runtimes" %} +Read the announcement +{% /arrow_link %} diff --git a/static/images/blog/announcing-bun-deno-runtimes/cover.avif b/static/images/blog/announcing-bun-deno-runtimes/cover.avif new file mode 100644 index 0000000000..2c22bf41be Binary files /dev/null and b/static/images/blog/announcing-bun-deno-runtimes/cover.avif differ diff --git a/static/images/blog/announcing-bun-deno-runtimes/runtime-bun.avif b/static/images/blog/announcing-bun-deno-runtimes/runtime-bun.avif new file mode 100644 index 0000000000..29922f5406 Binary files /dev/null and b/static/images/blog/announcing-bun-deno-runtimes/runtime-bun.avif differ