this post was submitted on 05 Nov 2024
53 points (96.5% liked)
Firefox
18045 readers
176 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I really prefer the Bitwarden approach to versioning, by including the date like
YYYY.MM.DD.whatever
. Makes it easy to know how old a version is at a glance, and easier to remember.I prefer the SemVer
Major.Minor.Patch
approach so I can tell at a glance if the update breaks compatibility or is just bug fixes. Technically thePatch
part can be any number as long as it increases each update of that sameMinor
version, so one could write the versions asAA.BB.YYMMXX
whereAA
is theMajor
version,BB
is theMinor
,YY
is the two digit year,MM
is the month, andXX
is just an incrementing number.I think this approach has the best of both systems.
I would never trust a dev defined SemVer as more than a relatively useless indicator of compatibility. I make sure there's proper unit and integration testing to prevent external dependencies breaking production. If it's a major dependency I check the release notes every version.
My suggestion is in compliance with standard SemVer as far as I can tell, but yes it is frustrating when apps use versioning that looks like SemVer, but make interface changes in Minor versions and don't really adhere to SemVer.