HubSpot Developer Changelog

Deprecation of Node v14 in all serverless functions

Written by David Adams | Aug 28, 2023 6:15:52 PM

Node.js v14 reached end of life on April 30th 2023. To make sure HubSpot systems stay up to date on security and reliability, we will be ending support for Node.js v14 on November 27 2023. After this date, any existing functions using v14 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, you should update your code before this time to ensure they are on the latest supported version. These systems include:

 

Custom Coded Workflow Actions

All Node.js based custom coded actions were updated to Node.js v16 when we deprecated v12 last year. The supported version of Node for workflow actions is not changing at this time and there's no action required.

 

CMS Serverless Functions

CMS serverless functions will continue to support Node.js v16 and v18. We recommend updating to v18 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 v14, you should update them before November 27 2023. 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

Serverless functions used in a HubSpot project will continue to support Node.js v16 and v18. We recommend updating to v18 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 v14, you should update them before November 27 2023. Existing functions will continue to operate but you will be required to upgrade to a newer version to deploy any changes to those functions.

 

When is this happening?

Support for Node.js v14 will end on November 27, 2023 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.