0
0
mirror of https://github.com/semver/semver.git synced 2025-08-25 07:15:30 +00:00

FAQ on bufixes returning functionality to documented public API.

This commit is contained in:
Tom Preston-Werner 2011-06-20 11:29:04 -07:00
parent 05a00df02d
commit 92b17d297f

View File

@ -186,6 +186,15 @@ modification depends on whether you updated your dependencies in order to fix
a bug or introduce new functionality. I would usually expect additional code a bug or introduce new functionality. I would usually expect additional code
for the latter instance, in which case it's obviously a minor level increment. for the latter instance, in which case it's obviously a minor level increment.
### What should I do if the bug that is being fixed returns the code to being compliant with the public API (i.e. the code was incorrectly out of sync with the public API documentation)?
Use your best judgment. If you have a huge audience that will be drastically
impacted by changing the behavior back to what the public API intended, then
it may be best to perform a major version release, even though the fix could
strictly be considered a patch release. Remember, Semantic Versioning is all
about conveying meaning by how the version number changes. If these changes
are important to your users, use the version number to inform them.
About About
----- -----