News for hackers. Stuff that matters.
Re:Pragmatic Versioning – An Alternative to Semver by travisjungroth on Monday December 04, 2023 @05:44PM (#38524226)
Dates are one dimensional, monotonic, totally non-strictly ordered. There’s no room for branching. Branching is necessary anytime you want to have multiple “latest”s. This is usually major releases with ongoing bugfixes and security updates but minimal breaking changes.

What I’ve never seen, but seems useful, is to throw the date on the version number as the third or last number. The nice thing is you get the ordering back. Something like 4.3.20231204

Re:Pragmatic Versioning – An Alternative to Semver by erik_seaberg on Monday December 04, 2023 @06:31PM (#38524746)
As I recall, Maven tooling lets you say 4.3-SNAPSHOT and creates 4.3-2023.12.04-23.27. When you release 4.3 it will be considered newer than all the snapshot versions (and other qualified versions like 4.3-beta).
Re:Pragmatic Versioning – An Alternative to Semver by travisjungroth on Monday December 04, 2023 @09:21PM (#38526223)
Nice. That makes me realize I’ve seen it as part of nightly builds. Seems like it should just be standard though.
Re:Pragmatic Versioning – An Alternative to Semver by t_tsonev on Tuesday December 05, 2023 @04:35AM (#38528663)
That's a pre-release and is covered by Semver.