On the Freshworks developer platform, our FDK has always supported Node.js 6.10, as have the serverless apps built and tested using the FDK. While this has been a long time coming, today we officially move ahead to Node.js 8.10. Read on to learn how this might affect the apps you are currently building, or ones you have already deployed.
The latest major version of the FDK (5.0.0) is now the recommended version to build your apps with. Earlier versions of FDK cannot be updated to this version as FDK 5.0 expects to work with Node.js 8.10.0. Our quick start guide is now updated to reflect the steps you can follow to get this latest version installed.
Starting today, all serverless apps will be deployed in a Node 8 environment — specifically, Node.js 8.10.0.
Apps in development
As Node 8 is more or less backward compatible with Node 6, there should be minimal to zero effort in repurposing your app to work with the newer Node version. You may however want to consider using updated dependencies or dependency versions for your serverless app which work better with Node 8.10. You may also want to consider exploiting the powerful, new features of Node 8.10 and simplify your promise-riddled code using async/await, leverage http/2 or just bask in the performance of the new V8 engine that comes with Node 8.
As usual, you can simulation-test your apps using the latest FDK version before deploying them.
Live app versions
Serverless app versions that are already live will continue to run on Node 6. New versions of existing apps are expected to be built and packed using FDK 5.0.0 or later so as to run in a Node 8 environment on deployment. Any future plans to migrate app versions currently running on Node 6 will be announced here on our developer blog.
As usual, please reach out to us at email@example.com for any queries regarding this update.