Skip to content
HubSpot Developer Changelog

Deprecation of Node v16 in all serverless functions

Node.js v16 reached end of life on September 11th, 2023. To make sure HubSpot systems stay up to date on security and reliability, we will be ending support for Node.js v16 on July 12, 2024. After this date, any existing functions using v16 will continue to operate, but you will need to upgrade to a supported version to deploy changes. If you're using Node for any of the serverless function systems, we encourage you to update your code before this time to ensure they are on the latest supported version. These systems include:

Custom Coded Workflow Actions

Previously created custom code workflow actions relying on node v16 will continue to work. Newly created custom code workflow actions use Node v20. If you need to update a previously created custom code workflow action you will be required to update to Node v20.

CMS Serverless Functions

CMS serverless functions will continue to support Node.js v18 and v20. We recommend updating to v20 if you haven't already done so to ensure you get the longest support period. The Node version is declared in the serverless.json file.

If your functions are running Node.js v16, you should update them before July 12, 2024. Existing functions will continue to operate, but you will be required to upgrade to a newer version to deploy any changes to those functions.

Serverless Functions in Developer Projects

The Node version in serverless functions in developer projects is dictated by the projects version in your project config. Version 2023.2 is the latest developer projects version and all projects using that version are already using Node v18. No further action is necessary.

When is this happening?

Support for Node.js v16 will end on July 12, 2024 for all systems. After this, existing functions will continue to operate, but you will not be able to deploy any changes without updating to a newer version of Node.

Please let us know if you have any questions by joining the discussion in our community.