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.
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.
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。