diff --git a/src/shared/redirect-map.mjs b/src/shared/redirect-map.mjs index b803eeb4..5da6cee3 100644 --- a/src/shared/redirect-map.mjs +++ b/src/shared/redirect-map.mjs @@ -42,7 +42,6 @@ export const tempRedirects = { '/node': '/docs/en/reference/runtime-helpers/node.js', '/ruby': '/docs/en/reference/runtime-helpers/ruby', '/python': '/docs/en/reference/runtime-helpers/python', - '/deno': '/docs/en/reference/runtime-helpers/deno', // Other aliases '/typescript': '/docs/en/guides/developer-experience/using-typescript', @@ -182,7 +181,6 @@ export const permanentRedirects = { // round 2: Q4 2021 '/docs/en/reference/runtime/node': '/docs/en/reference/runtime-helpers/node.js', '/docs/en/reference/runtime/node.js': '/docs/en/reference/runtime-helpers/node.js', - '/docs/en/reference/runtime/deno': '/docs/en/reference/runtime-helpers/deno', '/docs/en/reference/runtime/ruby': '/docs/en/reference/runtime-helpers/ruby', '/docs/en/reference/runtime/python': '/docs/en/reference/runtime-helpers/python', diff --git a/src/views/docs/en/:tutorials/configuring-aws.md b/src/views/docs/en/:tutorials/configuring-aws.md index f98fff9d..e8afe163 100644 --- a/src/views/docs/en/:tutorials/configuring-aws.md +++ b/src/views/docs/en/:tutorials/configuring-aws.md @@ -99,7 +99,6 @@ Architect supports the following runtime versions: - Unless otherwise specified in your project manifest, Node.js is the default runtime for new functions - **Python**: `3.13`, `3.12`, `3.11`, `3.10`, or `3.9` using `pip3` - **Ruby**: `3.3`, or `3.2` using `bundle` -- **Deno**: `1.6.x` ([under development](../reference/runtime-helpers/deno)) > ⚠️ Working locally with the Sandbox requires target runtimes to be available in your `$PATH`. diff --git a/src/views/docs/en/get-started/detailed-aws-setup.md b/src/views/docs/en/get-started/detailed-aws-setup.md index 8238de74..89f4c91f 100644 --- a/src/views/docs/en/get-started/detailed-aws-setup.md +++ b/src/views/docs/en/get-started/detailed-aws-setup.md @@ -24,7 +24,6 @@ Architect supports the following runtimes for composing your application's busin - **Python**: >= 3.9 using `pip3` - Unless otherwise specified in your project manifest, Python 3.13 is the default Python runtime - **Ruby**: >= 3.2 using `bundle` -- **Deno**: `1.6.x` ([under development](../reference/runtime-helpers/deno)) > ⚠️ Working locally with the Sandbox requires target runtimes to be available in your `$PATH`. diff --git a/src/views/docs/en/get-started/runtime-support.md b/src/views/docs/en/get-started/runtime-support.md index c2b94942..9c8b2fc8 100644 --- a/src/views/docs/en/get-started/runtime-support.md +++ b/src/views/docs/en/get-started/runtime-support.md @@ -6,7 +6,7 @@ description: Architect runtime support documentation ## Overview -This document outlines the current runtime support commitments Architect makes, both for official AWS Lambda runtimes (such as Node.js), and Architect-specific runtimes (such as TypeScript and Deno). +This document outlines the current runtime support commitments Architect makes, both for official AWS Lambda runtimes (such as Node.js), and Architect-specific runtimes (such as TypeScript). ## Runtime support definitions @@ -40,7 +40,6 @@ Runtime | [Deployment][1] | [Sandbox][2] | [Runtime utils][3] | [Automated Node.js | **✓** | **✓** | [**✓**][5] | **✓** TypeScript¹ | **✓** | **✓** | [**✓**][5] | **✓** Python | **✓** | **✓** | [**✓**][6] | **✓** -Deno² | **✓** | **✓** | [~²][7] | Ruby | **✓** | **✓** | | Rust³ | **✓** | **✓** | | Go⁴ | **✓** | **✓** | | @@ -56,8 +55,6 @@ Legend: ¹ TypeScript supported via [official plugin](https://github.com/architect/plugin-typescript) -² Deno support may not be current or stable due to ongoing issues related to [Deno compiling to AWS Linux](https://github.com/denoland/deno/issues/17925); an [in-development Deno utility library can be found here](https://github.com/architect/functions-deno) - ³ Rust supported via [official plugin](https://github.com/architect/plugin-rust) ⁴ Go supported via [official plugin](https://github.com/architect/plugin-go) @@ -68,4 +65,3 @@ Legend: [4]: #automated-dependency-management [5]: /docs/en/reference/runtime-helpers/node.js [6]: /docs/en/reference/runtime-helpers/python -[7]: /docs/en/reference/runtime-helpers/deno diff --git a/src/views/docs/en/guides/developer-experience/using-deno.md b/src/views/docs/en/guides/developer-experience/using-deno.md deleted file mode 100644 index 60da8f4e..00000000 --- a/src/views/docs/en/guides/developer-experience/using-deno.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Using Deno -category: Developer Experience -description: Deno runtime support ---- - -The Architect team has a strong interest in [Deno](https://deno.land/) as a runtime. Architect provides experimental support for Deno via a [Lambda _layer_](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-concepts.html#gettingstarted-concepts-layer). - -## Current support - -Deno is not currently an officially supported AWS Lambda runtime, but Architect adds a Lambda _layer_ to provide the Deno executable on AWS infrastructure. -Additionally, [Sandbox](../../reference/cli/sandbox) will use `deno` to invoke functions while developing locally. - -> ⚠️ Lambda layers can increase response times when the function is cold. This approach to enabling Deno is not ideal for user interaction. - -### Project configuration - -Set the Deno runtime in your [project (`app.arc`)](../../reference/project-manifest/aws) or [function (`config.arc`)](../../reference/configuration/function-config) configuration: - -```arc -@aws -runtime deno -``` - -This setting will enable Deno in your project (or a single function), allowing handlers to be written in TypeScript or JavaScript and run with Deno: - -```typescript -// src/http/get-index/index.ts -export async function handler() { - const myUUID = crypto.randomUUID(); - const resp = await fetch('https://api.github.com/users/architect'); - const arcGitHub = await resp.json(); - - return { - statusCode: 200, - headers: { 'content-type': 'text/html; charset=utf8' }, - body: ` -

🎲 ${myUUID}

-

🦖 ${Deno.version.deno}

-

${JSON.stringify(arcGitHub, null, 2)}

- `, - }; -} -``` - -> 🦕 To enable Sandbox support for Deno, make sure you [install Deno locally](https://deno.land/#installation). - -Architect and Sandbox will still run with Node.js, but will orchestrate `deno` processes when running your functions. - - - -### Deno runtime version - -The current provided layer is Deno v1.19.1. - -> 🧑‍🔬 The Arc team is actively working on providing up-to-date and configurable Deno layers. diff --git a/src/views/docs/en/reference/runtime-helpers/deno.md b/src/views/docs/en/reference/runtime-helpers/deno.md deleted file mode 100644 index 79b4603a..00000000 --- a/src/views/docs/en/reference/runtime-helpers/deno.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Deno runtime helpers -category: Runtime helpers -description: Deno runtime support ---- - -The Architect team has a strong interest in [Deno](https://deno.land/) as a runtime. Ideally, Deno would be supported both locally with Sandbox and in live infrastructure on AWS. - -* Track [runtime helper](https://github.com/architect/functions-deno) progress. -* Join the discussion on [GitHub](https://github.com/architect/architect/discussions) and [Discord](https://discord.gg/y5A2eTsCRX). - -Contributions are always welcome! diff --git a/src/views/docs/table-of-contents.mjs b/src/views/docs/table-of-contents.mjs index 28d77cf9..cae3f525 100644 --- a/src/views/docs/table-of-contents.mjs +++ b/src/views/docs/table-of-contents.mjs @@ -17,7 +17,6 @@ const Guides = [ 'Logging & monitoring', 'Using ESM', 'Using TypeScript', - 'Using Deno', 'Custom CloudFormation', 'Create AWS credentials', { @@ -93,7 +92,6 @@ const Reference = [ { 'Runtime helpers': [ 'Node.js', 'Python', - 'Deno', ], } ]