Currently, Twilio Functions deployed via the Twilio Console UI execute using the Node 8 runtime. Node 8 is reaching EOL at the end of 2019. Starting on January 30th, 2020 all Functions deployed via Console UI will automatically use the Node 10 runtime.
While there are no syntax changes required for the upgrade from Node8 to Node10, a possible area of impact is in NPM dependencies. It is important to check the dependencies you have configured for support for Node10 before deploying.
Existing functions will continue to execute on the existing Node 8 runtime with no change. You must redeploy your functions to upgrade to the Node 10 runtime.
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 Node 10. We recommend that you upgrade to Node 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 Node10.
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.
If you wish to test deployment of your Functions via the Console UI before the upgrade date, you can reach out to our Support team to have your test account manually switched to Node10 at any time before January 30th.
To test your Console UI Functions via the API, please follow our quickstart guide to prepare your local environment.