APIMatic generated Node.js SDK will no longer support Node.js 12.x and Node.js 10.x.
Node.js 12.x reached EOL on April 30, 2022, and Node.js 10.x reached EOL on April 30, 2021. We encourage you to upgrade to Node.js 14.x or later. We recommend Node.js 18.x, which was released on April 19, 2022, and became LTS in October 2022.
Why are we doing it?
Node.js 12.x and Node 10.x versions have reached end-of-life. The Node.js community is no longer maintaining these versions, and most projects have migrated to newer versions. We are following this change to provide up-to-date and secure Node.js SDKs.
What was before?
Previously, our Node.js SDK package.json
engines field was pointing to
>=10.4.0 Node version as shown below:
What has changed?
Now, our Node.js SDK package.json
engines field will be pointing to
>=14.17.0, officially terminating the support of Node 10.x and Node 12.x.
The installation of newer versions of the Node.js SDK will fail for Node.js <14.x when the engine-strict flag is enabled in the package.json file. If the flag is unset, it will produce a warning when your package is installed as a dependency.