Skip to content

Commit 2a539e8

Browse files
committed
Update runtime section
1 parent 459d124 commit 2a539e8

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/_includes/content/functions/runtime.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
As of April 30, 2023, Functions migrated from Node.js 14.x to Node.js 16.x. This change automatically takes effect as you update and deploy an existing function. All new functions use Node.js 16.x. Segment recommends you to check your function post-deployment to ensure everything's working.
1+
On March 26, 2024, Segment is upgrading the Functions runtime environment to Node.js v18, which is the current long-term support (LTS) release.
22

3-
<div class="premonition success"><div class="fa fa-check-square"></div><div class="content"><p class="header">Node.js 18.x: </p><p markdown=1>Starting June 30, 2023, you can [contact Segment](https://segment.com/help/contact/){:target="_blank"} to migrate to Node.js 18.x.</p></div></div>
3+
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*.
4+
5+
All new functions will use Node.js v18 starting March 26, 2024.
6+
7+
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 sytax between different Node.js versions and dependency compatibility.
8+
9+
<div class="premonition warning"><div class="fa fa-check-square"></div><div class="content"><p class="header">Limited time opt-out option </p><p markdown=1>
10+
If you need more time to prepare, you can opt out of the update before March 19, 2024. <br><br> Note that if you opt out: <br>
11+
- The existing functions will continue working on Node.js v16. <br>
12+
- You won't be able to create new functions after July 15, 2024. <br>
13+
- You won't be able to update existing functions after August 15, 2024. <br>
14+
- You won't receive future bug fixes, enhancements, and dependency updates to the functions runtime. <br><br>
15+
[Contact Segment](https://segment.com/help/contact/){:target="_blank"} to opt-out or with any questions. </p></div></div>
16+
17+
18+
<div class="premonition success"><div class="fa fa-check-square"></div><div class="content"><p class="header">Node.js 18 </p><p markdown=1>Segment strongly recommends updating to Node.js v18 to benefit from future runtime updates, the latest security, and performance improvements.</p></div></div>
419

520
Functions do not currently support importing dependencies, but you can [contact Segment Support](https://segment.com/help/contact/){:target="_blank"} to request that one be added.
621

0 commit comments

Comments
 (0)