Skip to main content

IFX Node 22 upgrade

AWS is deprecating Node.js v18, so all IFX integration Lambdas must be upgraded to Node.js v22.

Read more in the AWS documentation and explore what's new in Node.js 22.

What this means for you

All IFX integrations must run on Node 22.x by October 22, 2025.

We have performed extensive testing on our internal integrations and have found no breaking changes. While dependency compatibility is the most likely area for potential issues, all checks have passed in our environment. Because each integration is unique, we recommend validating your code to ensure compatibility.

Each integration's package.json specifies engine versions for Node and npm. Existing integrations specify Node v18.13.0 and npm v8.x. However, the Lambda's runtime setting determines the actual versions used, so this value is not required to be changed.

To avoid confusion, we recommend updating your integration's engines in package.json:

{
  ...
  "engines": {
    "node": ">=22.x",
    "npm": ">=10.x"
  }
  ...
}

Be sure to also run these versions locally when developing. Follow this guide to install Node 22 and npm 10.

Note

If you have bundles deployed with v18 that you want to preserve, download them before redeploying. Any redeploy after the cutover will automatically use Node 22.

Timeline and details

The infrastructure that manages the integration bundle deployments is updated to use Node 22.x and npm 10.x. All bundles deployed after the update will use the new version. This means that, until the October deadline (se, you control when the update is made to your integrations.

You can test your integration prior to September 2 by running your integration locally with Node 22.x and npm 10.x. While the likelihood is low, there is still a possibility that integrations could encounter errors when running on Node 22, so it's best to address this proactively rather than waiting for issues to arise. Follow this guide to install and use Node.js 22 and this guide for npm.

Starting September 2, 2025, you can upgrade to Node.js 22 with the following steps:

  1. Run your integration locally using Node.js 22 and test for errors.

  2. On Sandbox, download the live or desired bundle.

  3. Rename the downloaded zip file to include node22 in the name (to easily identify the bundle's runtime version).

  4. Follow the normal process to upload, deploy, and promote the renamed bundle in your Sandbox environment. This bundle now uses Node.js 22.

  5. Test your integration using the events you're subscribed to.

  6. If everything works as expected, promote the same bundle to Production.

Note

If you encounter issues, roll back by re-promoting the bundle that previously worked on Node.js 18.

Rolling back is an option only until October 21, 2025

On October 22, all remaining integration Lambdas with deployed bundles running on Node 18.x are automatically updated to Node 22.x in both Sandbox and Production.

There is no downtime for integrations during this upgrade.