function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pp11222pp11222 

For Managed Release should you always update the API versions to the latest API?

Hi

 

We have a Managed release package which was created a 3-4 years ago. We have already created several version of it and we have lot of customers usign different versions.

 

I want to know, is it a good idea to set the API versions for all of its Apex code, VF pages.. to latest (e.g. 26.0 or 27.0 after spring release) When we create our next package.

 

Thanks

Ankit AroraAnkit Arora

If the functionality is in stable state then you should not update the versions unless you want to use the latest features in old classes.

 

Sometimes code is written in a way that it is only supported in old versions and not in latest versions, for e.g JASON serialization.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page