TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Calendar Versioning

108 pointsby dmorenoalmost 7 years ago

13 comments

indentitalmost 7 years ago
I was interested to see a more formal definition of calendar versioning than I've come across before, until I saw that it refers to `DD` for short day while `0D` is zero padded - which goes against all date formatting specifications ever... `DD` should be zero-padded and a single `D` unpadded...
评论 #17280480 未加载
ameliusalmost 7 years ago
Are they trying to make this as obscure as possible? After reading the top of the scrollable page, I still couldn&#x27;t understand what a CalVer version string looks like.<p>Also, I think version strings should contain information about compatibility, not just about time.
评论 #17279772 未加载
评论 #17279685 未加载
评论 #17280203 未加载
noir_lordalmost 7 years ago
I decided to use calendar versioning for our companies internal ERP system since it makes it explicit to end users when a new release has been rolled out (2018-06-06.1 is more human than #9b867341 or 27.1.321.1).<p>No reason other than that.<p>I also change the background image of the login page on &#x27;major&#x27; releases where significant new features are added as a subtle visual cue that users should go check out the change log.<p>It&#x27;s often the little touches that have a disproportionate impact on user engagement.
评论 #17280128 未加载
paulddraperalmost 7 years ago
I&#x27;m surprised to see some of the most popular software of all time not be mentioned: Windows and Microsoft Office.<p>Also, for a more technical audience, the C, C++, and EcmaScript specifications.
评论 #17279536 未加载
评论 #17282185 未加载
评论 #17279602 未加载
评论 #17279535 未加载
评论 #17280105 未加载
评论 #17280167 未加载
sytsealmost 7 years ago
At GitLab we just bump the minor version every month. And when there is a breaking change we bump the major version. The advantage is that semver is well understood and we can communicate breaking changes. The disadvantage is that you need to look up what version was released when.
评论 #17282345 未加载
pavel_lishinalmost 7 years ago
&gt; <i>0Y - Zero-padded year - 06, 16, 106</i><p>It seems very odd, to me, to make this a variable-length field. If you&#x27;re planning out to 2106, why would you not use a full length year? This particular bike shed should clearly be blue.
评论 #17280159 未加载
progvalalmost 7 years ago
CalVer is also nice for mature projects that don&#x27;t get new groundbreaking features because they don&#x27;t need them.<p>I wrote a small piece of code in my project&#x27;s setup.py [1] that computes the version number from the timestamp of the last git commit. It&#x27;s very useful because it removes the need to make a commit for the sole purpose of updating the version number. (I also had issues at the time there were multiple forks of this software, merging each other, causing conflicts on the version number.)<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;ProgVal&#x2F;Limnoria&#x2F;blob&#x2F;testing&#x2F;setup.py#L54-L64" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ProgVal&#x2F;Limnoria&#x2F;blob&#x2F;testing&#x2F;setup.py#L5...</a>
ams6110almost 7 years ago
I like versioning schemes that imply something about the amount of change in that specific version, not just its position on a timeline.
评论 #17280253 未加载
twicalmost 7 years ago
Where i work, most of our libraries have a version number with a single component, which we increment with each release. So i recently released a new version of AdminTools, taking it from 37 to 38. Should i go and register SerVer.org so i can tell the world about this incredibly trivial scheme?
评论 #17279452 未加载
评论 #17279401 未加载
评论 #17279358 未加载
mkjalmost 7 years ago
For a mature program (not a library) I like using a combination year.counter. No semantic meaning at all apart from monotonous improvement, and you can tell how old a version is.<p>2017.75, 2018.76, 2018.77, 2019.78 etc
missionsixalmost 7 years ago
Has anyone successfully transitioned from SemVer to CalVer? Especially with a large customer base who is familiar with the the major product versions but gets confused with the minor&#x2F;patch variants and what’s included ?<p>I’m interested in your war stories, pm me.
评论 #17280181 未加载
teddyhalmost 7 years ago
A version number which includes the date it is released is more common for development or “snapshot” releases, so you should only use this versioning scheme if you are fine with people assuming it is in fact that kind of interim or unofficial release.
评论 #17279436 未加载
评论 #17279460 未加载
评论 #17279431 未加载
tzaholaalmost 7 years ago
The bikeshedding is strong in this one.