r/AskComputerScience • u/gistya • Jul 18 '26
Question about Semantic Versioning
Under Semantic Versioning standard 2.0, if your package requires a dependency at "exact" version 1.0.0+X, is there any situation under which running a version update on all your packages should change the version that you specified as "exact" here?
Noting, SemVer 2.0 says:
Build metadata MUST be ignored when determining version precedence. Thus two versions that differ only in the build metadata, have the same precedence. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700, 1.0.0-beta+exp.sha.5114f85, 1.0.0+21AF26D3----117B344092BD
Precedence refers to how versions are compared to each other when ordered
View all comments
Show parent comment
6
u/SummitYourSister Jul 18 '26
What a strange, extended, ranty, weirdly irrelevant comment.
Semantic versions form an ordinal system. You’re imposing a bunch of nerdy pseudo intellectual bumbo jumbo, for reasons unclear.