This is related to Apex API version, where Salesforce releases New versions.

Is there any benefit of changing the current old API version of Apex class to the new API version? Does changing the version affect the functionality of Apex class?

Is there any documentation or best practices for the Apex API version. Please comment thank you 🙂


1 Answer 1


API versions are used to introduce new features as well as deprecate old ones. If you want to be able to safely leverage SFDC's latest features you should be periodically updating the API version ideally with each release.

Also check Why do Apex classes have an API version.


Not the answer you're looking for? Browse other questions tagged .