Hacker News new | past | comments | ask | show | jobs | submit login

> minor and patch versions are defined to be backwards compatible and therefore not breaking. So why would it distinguish.

Indeed, why? And yet semver itself does, which is senseless.




Because as a user of semver, I am not checking for breaking changes. I'm checking if I need to update because of a bug.

As a user updating my software it's nice to know the gist of an update at a glance.

As a piece of software looking for breaking changes, it is unnecessary to consider.


> Because as a user of semver, I am not checking for breaking changes. I'm checking if I need to update because of a bug.

Semver doesn't help you do that. If you're on version 1.0.1 of my software, and I update to version 1.1.0 and then 1.1.1, have I fixed a bug that exists in 1.0.1? There's no way for you to know based on the version number.

Knowing whether you need to update because of a bug is something you can only find out from change logs, not from version numbers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: