From ebc1c7ec1c401def87010d3dcb8b2c9626dcb1fd Mon Sep 17 00:00:00 2001 From: pwseg Date: Mon, 6 Oct 2025 22:02:45 -0500 Subject: [PATCH 1/3] make sentence evergreen --- src/_includes/content/functions/runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_includes/content/functions/runtime.md b/src/_includes/content/functions/runtime.md index 4073eaa30c..10f7176a8b 100644 --- a/src/_includes/content/functions/runtime.md +++ b/src/_includes/content/functions/runtime.md @@ -1,4 +1,4 @@ -On March 26, 2024, Segment upgraded the Functions runtime environment to Node.js v18, which is the current long-term support (LTS) release. +Segment Functions run on the Node.js LTS runtime (currently v20). This upgrade keeps your runtime current with industry standards. Based on the [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html){:target="_blank"} and [Node.js](https://nodejs.org/en/about/previous-releases){:target="_blank"} support schedule, Node.js v16 is no longer in *Maintenance LTS*. Production applications should only use releases of Node.js that are in *Active LTS* or *Maintenance LTS*. From b69cf4929ff8d02f42b7220b0fec9de7c8445c1b Mon Sep 17 00:00:00 2001 From: pwseg Date: Mon, 6 Oct 2025 22:04:12 -0500 Subject: [PATCH 2/3] reword dependencies section --- src/_includes/content/functions/runtime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_includes/content/functions/runtime.md b/src/_includes/content/functions/runtime.md index 10f7176a8b..f0abd6d4ed 100644 --- a/src/_includes/content/functions/runtime.md +++ b/src/_includes/content/functions/runtime.md @@ -1,6 +1,6 @@ -Segment Functions run on the Node.js LTS runtime (currently v20). +Segment Functions run on the Node.js LTS runtime (currently v20). This keeps the runtime current with industry standards and security updates. -This upgrade keeps your runtime current with industry standards. Based on the [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html){:target="_blank"} and [Node.js](https://nodejs.org/en/about/previous-releases){:target="_blank"} support schedule, Node.js v16 is no longer in *Maintenance LTS*. Production applications should only use releases of Node.js that are in *Active LTS* or *Maintenance LTS*. +Based on the [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html){:target="_blank"} and [Node.js](https://nodejs.org/en/about/previous-releases){:target="_blank"} support schedule, production applications should only use Node.js releases that are in Active LTS or Maintenance LTS. For existing functions, this change automatically occurs as you update and deploy an existing function. Segment recommends that you check your function post-deployment to ensure everything's working. Your function may face issues due to the change in syntax between different Node.js versions and dependency compatibility. From e24521d9d66437d2c4a6d6e5e30793e746d085e4 Mon Sep 17 00:00:00 2001 From: pwseg Date: Mon, 6 Oct 2025 22:04:38 -0500 Subject: [PATCH 3/3] colon --- src/_includes/content/functions/runtime.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_includes/content/functions/runtime.md b/src/_includes/content/functions/runtime.md index f0abd6d4ed..5a641d980d 100644 --- a/src/_includes/content/functions/runtime.md +++ b/src/_includes/content/functions/runtime.md @@ -2,11 +2,11 @@ Segment Functions run on the Node.js LTS runtime (currently v20). This keeps the Based on the [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html){:target="_blank"} and [Node.js](https://nodejs.org/en/about/previous-releases){:target="_blank"} support schedule, production applications should only use Node.js releases that are in Active LTS or Maintenance LTS. -For existing functions, this change automatically occurs as you update and deploy an existing function. Segment recommends that you check your function post-deployment to ensure everything's working. Your function may face issues due to the change in syntax between different Node.js versions and dependency compatibility. +When Segment upgrades the Functions runtime to a new LTS version, existing functions automatically use the new runtime after their next deployment. Segment recommends checking your function after deployment to ensure everything works as expected, since dependency or syntax changes between Node.js versions might affect your function’s behavior. -Functions don't currently support importing dependencies, but you can [contact Segment Support](https://segment.com/help/contact/){:target="_blank"} to request that one be added. +Functions don't support importing dependencies, but you can [contact Segment Support](https://segment.com/help/contact/){:target="_blank"} to request that one be added. -The following dependencies are installed in the function environment by default. +The following dependencies are installed in the function environment by default: - [`atob v2.1.2`](https://www.npmjs.com/package/atob){:target="_blank"} exposed as `atob` - [`aws-sdk v2.488.0`](https://www.npmjs.com/package/aws-sdk){:target="_blank"} exposed as `AWS`