Learn the importance of maintaining the Square Node.js SDK version and how to do it.
Each SDK version is tied to a specific Square API version. For more information, see Versioning in Square APIs. Some highlights are:
- As features are added, Square releases a new Square API version and a new SDK version. To use new features, you must update the SDK version in your application.
- An increase in the SDK major version number indicates a breaking change. You should test your application before deploying the change to production.
You should stay current with the SDK updates and maintain your code. This helps you avoid using deprecated features and retired features, which can break your application in production.