We've implemented semver for maintaining our CSS libraries, ensuring we adhere to the official guidelines for versioning.
However, when we render a class obsolete (or for JavaScript - a property or argument), what is the recommended action? The client has the option to remove it from their markup / function calls, but it's not mandatory.
What would be the appropriate version update in this case?
- Is it a patch, since consumers are not required to take action?
- Could it be a minor update, as consumers have the opportunity to clean up their code?
- Or should it be a major update, considering that the API has changed, even if it's optional, but consumers are encouraged to clean up their code?