Menu

Expand
Rate this page:

Twilio Functions NodeJS v10 upgrade

What do you need to know?

Before January 30th, 2020 Twilio Functions deployed via the Twilio Console UI executed using the NodeJS 8 runtime. Node 8 reached EOL at the end of 2019. From January 30th, 2020 all Functions deployed via Console UI automatically use the NodeJS 10 runtime.

While there are no syntax changes required for the upgrade from NodeJS 8 to NodeJS 10, a possible area of impact is in NPM dependencies. It is important to check the dependencies you have configured for support for NodeJS 10 before deploying.

Existing functions will continue to execute on the existing NodeJS 8 runtime with no change unless deployed. You must redeploy your functions to upgrade to the NodeJS 10 runtime.

What do you need to do?

No action is required if you are not planning on changing your Functions. After January 30th, 2020, if you make changes to your Functions, they will deploy to NodeJS 10. We recommend that you upgrade to NodeJS 10 even if you’re not planning on making other changes.

If you already deploy Functions via the new API, these Functions already deploy to NodeJS 10.

Please note: A deployment will be required to make Functions run against the new Node version. The Node version will not change for any currently deployed Function without a redeploy.

To test your Console UI Functions via the API, please follow our quickstart guide to prepare your local environment.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

        
        
        

        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more