I believe that adding values to an enum is NOT binary compatible, therefore it 
would be a major change. Any switch statements written against the old version 
will no longer be exhaustive after the addition of the new value. This could 
substantially alter the logic of any client code.

Neil

On 24 September 2014 at 23:34:10, Raymond Auge ([email protected]) wrote:

How do changes to enums affect versioning?

I believe, theoretically, adding values to be binary compatible, and should 
therefore constitute a MINOR api change.

Just making sure since this is not mentioned in the semver white paper.
--
Raymond Augé (@rotty3000)
Senior Software Architect
Liferay, Inc. (@Liferay)

_______________________________________________  
OSGi Developer Mail List  
[email protected]  
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to