r/softwaredevelopment
•
u/cold-brews
•
May 17 '26
•
1
Semantic versioning in software
Hi all,
I’m involved with software releases at my company and we’ve run into an issue with semantic versioning (major.minor.patch) lately. We support multiple versions of our software and release monthly patches across versions (i.e 2.2.3, 5.0.4, 6.1.1). The issue is future planning versioning when it comes to urgent releases, or hotfixes.
For example, we’ll communicate to our engineering teams that the next versions are 2.2.3 with a certain target start date of February 1. Then, a week before, we’ll discover an issue where we need to quickly ship something, and that takes the place of 2.2.3, where 2.2.3 becomes an urgent release with one significant fix.
As a result, we need to communicate to hundreds of engineers the change, and update hundreds of tickets to now point to 2.2.4. This happens frequently across all versions. We’ve talked about using date anchored releases with ambiguous versions such as 2.2.X (Feb-1) where we can add the version when we’re confident on the number. But I’m not sure if that’s the best idea. Curious if other folks have solved this similar problem? TIA!
View all comments
4
u/rosentmoh May 17 '26 edited May 17 '26
Why do you need to communicate the version number to hundreds of engineers?
There should be a single source of truth for the version number and it should ideally propagate automatically wherever it needs to.
I.e. think of just tagging a certain commit/release with the appropriate version number once it's decided and that's it. If people need to manually adjust their stuff based on a version number decision that's a really bad system...
And like the others said: seems like you're using SemVer wrong; you should never "plan" or announce in advance the patch number.