My business partner and I are developing several plugins and we want to know if there is a standard for the version number of a plugin when there are updates, i.e., version 1.0, version 1.2, version 1.2.3, etc?
Thanks for any advise.
My business partner and I are developing several plugins and we want to know if there is a standard for the version number of a plugin when there are updates, i.e., version 1.0, version 1.2, version 1.2.3, etc?
Thanks for any advise.
No, there is no standard. You can even use names, roman numerals or whatever, but I would not recommend it.
Most authors use Semantic Versioning: Major.Minor.Patch
.
This has several drawbacks:
Major
) are often delayed, or users are waiting for the first “service pack” (2.0.1).1.2.3
vs. 2.12.123
. Not a big deal, but not ideal.In practice, Semantic Versioning isn’t that semantic.
I prefer the date as version number: 2012.11.19
0
at the end. Never. 🙂version_compare()
– this could be seen as a standard.Recommended reading:
Both schemes work. The difference is mostly in the user experience.