News for hackers. Stuff that matters.
Re:Bye Bye Semantic Versioning, Say Hello to GitDate by k__ on Saturday June 11, 2022 @03:09PM (#31707268)
The moment you allow bugs, you can't ensure backwards compatible changes.

That makes semver as good as any other scheme, including GitDate.

Re:Bye Bye Semantic Versioning, Say Hello to GitDate by jjav on Saturday June 11, 2022 @03:18PM (#31707354)
> The moment you allow bugs, you can't ensure backwards compatible changes.

I'm not sure what this even means, unless you're talking of the joke of "someone depended on the bug"?

A bug, by its very definition, means code that doesn't behave as the documented interface description states. Fixing bugs means correcting mistakes in the code so that now it does behave as documented. That's what patch releases do.

Re:Bye Bye Semantic Versioning, Say Hello to GitDate by k__ on Saturday June 11, 2022 @04:36PM (#31708113)
No, but if you say you don't break API in minor, but you have a bug that breaks API, then minor broke API.
Re:Bye Bye Semantic Versioning, Say Hello to GitDate by jjav on Saturday June 11, 2022 @05:28PM (#31708598)
Are you referring to the possibility of a minor release introducing a bug?

Yes, of course that's possible, nobody is pretending humans are infallible. When it happens, just issue a patch release to that minor release to fix the bug. Versioning is about communicating intent, it's not a guarantee that nobody can ever make a mistake.

But if you're constantly introducing bugs in minor releases, that's a sign of sloppy test infrastructure and it will motivate me to migrate away from such a library. But the occasional bug is normal, fix it quick and move on.