|
|
|
|
|
by ivanbakel
2364 days ago
|
|
How is SemVer next to useless? The major version bump informs you that you should go look up what breaking changes have occurred before you upgrade. It is inherently useful for under-approximating the "safe" range of versions of a piece of software that can be used, which is seen in practice in many package managers. That it can't differentiate between those two cases is because it's not meant to. It's like complaining that the blurb of a novel is "next to useless" because it doesn't tell you the complete story in a detailed way over several hundred pages. |
|
Theoretically every version change can introduce a bug, which leads to an implicit API change and as such require being a major version bump.
Also, fixing a bug can also introduce an API change, because the API can behave differently with and without the bug.
SemVer just covers the intent, not what's actually happening, which makes it kinda useless in most scenarios. I guess Elm gets it right, tho'.