10 ms·
Why we’re switching to calendar versioning
- ses1984 8y agoIf semver says the next version is 2.2, then it's 2.2, what discussion is there to side step?
- tyingq 8y agoMarketing maybe? If you are good about being backward compatible, you never release n+1, which might be mistaken for being stale vs your competitors.
- egypturnash 8y ago“This was version 2.something when I started, I’ve been working on this for n years and it’s still version 2.something” sure sounds like a demotivating feeling to me, too.
- ThePadawan 8y agoInteresting! If I worked on a product that was version 2.1 when I started, and 5 years later was on version 6.5 without any actual rewrites or improvements in it, I would find that just as demotivating.
- Vendan 8y agoIf I worked on something for 5 years with no rewrites/improvements, I'd be demotivated as crap, no matter the version number...
- ThePadawan 8y agoRealistically, I think there are a lot of people working in these sorts of situations. Such a stable environment would leave a lot of room for side projects on a stable paycheck, or getting some extracurricular qualifications.
- Vendan 8y agoYeah, and I've been in a similar situaton. A year in, and my wife told me I needed to get a new job cause that one was making me "depressed"
- paulryanrogers 8y agoCan't marketing just focus on the minor part as Java does?
- tyingq 8y agoMarketing will, of course, do whatever they want. 3.x, 95, 98, ME, XP, NT, Vista, 7, 8, 10. Or just change the name when they want, ala macOS. Edit: added Vista... thanks!
- AnIdiotOnTheNet 8y agoXBox -> XBox 360 -> XBox One... If the next console from Microsoft is controller that live streams games from the cloud I expect it to be called the XBox ExBox.
- progval 8y agoyou forgot Vista
- gryfft 8y agoThis is the real answer. Semver is a tool to keep code from breaking while communicating useful information to developers and engineers. Branding is an entirely different game, and the branding doesn't have to be machine-readable or adhere to any spec.
- AnIdiotOnTheNet 8y agoGod forbid we have any maturity and reliability in our industry. Just tell people "We don't fix what ain't broke".
- insulanian 8y agoI never found stric following of semantic versioning to be a good fit for product versions. It makes sense only for libraries and packages.
- paulryanrogers 8y agoWhy not?
- insulanian 8y agoBecause a backward incompatible change can be required to implement a small feature or even fix a bug, which does not justify major version bump from the production life cycle perspective.
- insulanian 8y agoAlso, major new feature, even though it is backward compatible, is a better reason for major version number increase.
- paulryanrogers 8y agoIn Semver the second part communicates features, not 'major'. So magnitude of the features should not matter. Unless version is more for marketing than communicating the precise nature of the changes.
- insulanian 8y agoThat's why I'm saying semver is not a good fit for product versions. It's too technical and doesn't fit well with PR, marketing and product management.
- paulryanrogers 8y agoPoint taken. I'm curious if using the second/feature part of SemVer for the advertised product version would be a workable compromise? Or must marketing always get "top billing" in that precious left-most spot?
- devmop 8y agoWhy not just move to 3.0? Semver only says that a breaking change MUST be an increase to the major version. It doesn't proscribe an increase of the major version without a breaking change.
- misterdoubt 8y agoYes! Semver is very precisely specified and the specification ain't very long. How on Earth could they mess it up?
- knz42 8y agoA point not highlighted in OP article is that Enterprise customers are shy to upgrade to a "next major version" because they will _assume_ there are breaking changes in there (even though semver allows bumping the major number without breaking changes). Calver side-steps this user bias.
- AnIdiotOnTheNet 8y agoWhy are developers always insistent on trying to trick the user into doing what they want them to do, or what they think is best, instead of letting users do what users want to do? Users shy away from major version numbers because they are allowed to change things in incompatible ways. When you jump a major version you're signaling that stuff might intentionally break, and they make their decisions accordingly. The solution is not to make your communication with user even worse!
- soccerdave 8y agoThis could easily be solved by something along the lines of “Version 3.0 maintains full compatibility with Version 2.2” at the top of their release notes. I dislike the idea of going away from SemVer just for marketing purposes. At least as a user when I’m going to upgrade versions then I could see that “oh, this version doesn’t break compatibility”
- Dayshine 8y ago
- rco8786 8y agoIt should really be called Pedantic Versioning. Pedver for short.
- mcdee 8y ago> Among other things, it includes a cost-based optimizer that can complete the TPC-H benchmark, CDC, and two major enterprise security features. But was this enough of a value jump to merit the leap to 3.0? Or was this a 2.2? Strictly following the semantic versioning rules would specify 2.2, as there are no backwards incompatible API changes. But with that logic guiding the major version bump, we could potentially remain on 2.x forever. The whole point of semver is that it allows people to know if they can upgrade version without hitting incompatibilities. So yes, this would be a 2.2 and those on 2.1 would know that they could upgrade to it without worrying about fixing their own integrations. The calender version 19.1 tells me nothing other than when it was released, which is of no interest whatsoever when evaluating what it does. Sounds like a triumph of marketing over useful information.
- djsumdog 8y agoThey also mention in the article how they don't support skipping releases, so it sounds like you have to upgrade to each point release anyway? Really if you're not constantly updating dependencies as part of your pipelines, you're going to quickly get into dependency rot issues.
- web007 8y agoI'm always surprised at how often developers freeze a set of versions and leave them for a lifetime. In my past three companies I have been the only one interested in pushing dependencies on a regular basis. I always start with a massive backlog, and end up having to incrementally update from the Stone Age to $today. Once that's set and tests pass it's easy to keep things up-to-date, you end up with single-digit changes every month instead of ~100 every year. Do it this way and save yourself the pain of zillions of updates when you HAVE to bump a package for a CVE.
- BurningFrog 8y agoYet another case of "if it hurts, do it more often" https://martinfowler.com/bliki/FrequencyReducesDifficulty.html https://martinfowler.com/bliki/FrequencyReducesDifficulty.ht...
- jazoom 8y ago> Since we release on a 6 month cadence, we’re starting to name releases by season and year, which means our next release is now CockroachDB Spring ‘19. Ugh. You'd think the creators of a multiregion database would realise half the planet has Autumn the same time as the other half has Spring. > It also eliminates the mental gymnastics needed to figure out how old a release is I guess not.
- jbverschoor 8y agoProbably looking a bit too much at salesforce
- kakarot 8y agoI think IntelliJ's 20XX.X model works great. Sequester big changes for annual upgrades and introduce minor features throughout the year.
- kolinko 8y agoHalf the planet, but 90% of population, and probably 95% of users.
- lugg 8y agoThat logic only works when something like month doesn't.
- lukecameron 8y agoI think the problem isn't the % of population that lives in a particular hemisphere, it's that the seasonal versioning scheme forces you to think about which hemisphere the software was created in. I'd say most users of an open source database would be aware that there is software being written in South Africa, Australia, New Zealand etc.
- mrspeaker 8y agoBest thing about moving to the US was that all those phrases "coming summer 2019" actually make sense! In Australia we don't really use seasons as references (the seasons aren't as distinct as they are here) - and because they were then flipped as well I never really thought they had a real meaning. I guess I must have known they did have a real meaning, but my "consumer" grasp of them was more like vague marketing fluff that meant "will probably be out eventually"!
- jniedrauer 8y agoThe main reason I don't like timestamp based version schemes is that it makes builds inherently difficult to reproduce. I wrote some code for a specialized piece of equipment earlier this year. One of the requirements on this equipment is that all package installs contain a unique version string (ie. you can't install the same version twice). So I based build versions on git hash and timestamp. This turned out to be a problem because it made it impossible to reproduce builds without hacking the build system clock. So I switched back to semver for releases.
- lugg 8y agoWhat is the point of a reproducible build if you need to rebuild it to test its the same?
- jniedrauer 8y agoThe entire point of a reproducible build is that you can rebuild it to test that it's the same.
- lugg 8y agoNo.. the entire point of a reproducible build is so that you can rebuild the same thing given the same inputs across the world different servers. Testing that md5sum(software A) works just like md5sum(software A) is just pointless?
- knz42 8y agocalver != timestamp version calver has a number picked up when the release is produced, not when the build is run.
- progval 8y agoBuild systems can (and should) read $SOURCE_DATE_EPOCH if it's set, and fallback to the system/CVS time otherwise. $SOURCE_DATE_EPOCH was created exactly for your use case. https://reproducible-builds.org/docs/source-date-epoch/ https://reproducible-builds.org/docs/source-date-epoch/
- dietr1ch 8y ago"But with that logic guiding the major version bump, we could potentially remain on 2.x forever." That's WAI if you don't break compatibility. I think the only reason behind moving is to have a better sense of progress or freshness. It seems like semantic versioning should support having some date on the minor numbers.
- FiddlyPack 8y agoSemver _allows_ non-breaking changes on major release. It also supports tagging which could be a date tag. The entire spec is like a 10 minute read. Anyone using semver should have at least read the semver spec. Anyway, the bullet on tagging: “Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version. Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]. Identifiers MUST NOT be empty. Build metadata SHOULD be ignored when determining version precedence. Thus two versions that differ only in the build metadata, have the same precedence. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700, 1.0.0-beta+exp.sha.5114f85.”
- jrochkind1 8y ago> helps us (and our users) avoid the confusion around the significance of a release. I think you mean "makes it impossible to know if a release includes backwards incompatible changes without looking at the release notes, while still having a release number say nothing about other aspects of the significance of a release."
- knz42 8y ago> I think you mean "makes it impossible to know if a release includes backwards incompatible changes without looking at the release notes, while still having a release number say nothing about other aspects of the significance of a release." The compatibility guarantees of CockroachDB do not change with this. It's always been the same: version X+1 will remain backward compatible with X but may break compatibility with X-1. Deprecation notices for definitive changes in version X+2 are introduced in version X.
- a1369209993 8y ago> version X+1 will remain backward compatible with X but may break compatibility with X-1 That is literally impossible; a breaking change from X-1 to X+1 must have been introduced in one of the intervals X-1 to X or X to X+1. It the latter, X+1 breaks compatibility, if the former, let X' = X-1 and X'+1 breaks compatibility. Presumably you mean that X always includes warnings about breaking changes in X+1, which is a vast improvement on some projects, but knowing that a problem exists doesn't mean it doesn't exist.
- jrochkind1 8y agoYes, it means X+1 is backwards compatible with X so long as no deprecation notices were produced by your use in X. I get it, and find it reasonable.
- knz42 8y ago> That is literally impossible; a breaking change from X-1 to X+1 must have been introduced in one of the intervals X-1 to X or X to X+1. It the latter, X+1 breaks compatibility, if the former, let X' = X-1 and X'+1 breaks compatibility. No, that's not how it works. The deprecation is introduced in version X-1; the new behavior is introduced but is opt-in; in version X, the new behavior becomes opt-out; in version X+1 the old behavior is removed.
- deforciant 8y agoIn one of the startups that I worked marketing people really wanted us to quickly go through version 1, 2 and reach version 3 because "many corporations aren't even looking at tools if they are not version 3 yet" :D They didn't really care what features should be included in those versions :) Fortunately sanity prevailed and we stayed with semver.
- amenod 8y agoTrick question: was the startup successful? Not that I agree with ditching semver, but the way you stated it actually sounds like a good argument for doing it, not against. Sometimes marketing people have a point.
- tamentis 8y agoThese decisions are often driven by marketing or product folks and rarely engineers. The marketing team would probably even push further toward 1, 2, 3, or anything that could make a big splash once or twice a year. The product team would probably prefer dates because it makes their planning easier.
- ShorsHammer 8y agoSeems to be a few critics in here but I think a good usecase for calendar versioning is crypto and security critical libraries. You hear about about WPA3 being broken in April 2019. It's obvious your WPA3 18.10 lib is vulnerable, WPA3 19.04 is not. It's a lot simpler to parse and can lead to less mistakes.
- anticensor 8y agoIs it just me or are you implying WPA3 revisions should be coupled to Ubuntu release schedule?
- docode 8y agoWhy not simply separate versioning into product and technical like Microsoft Visual Studio as an example: Product version: Visual Studio 2019 Technical version: 16.0.1 It fits good for marketing and for developer people.
- AnIdiotOnTheNet 8y agoBecause it causes even more confusion. Given a Windows 10 version number like 10.0.16299.522, you need a lookup table to determine that it is called 1709 by all the documentation.
- scarejunba 8y agoFunny. Not everyone knows what "Spring" is. It's not the universal season you think it is. Definitely year.month is superior.
- nakovet 8y ago> how much time has elapsed between two releases If they really wanted to communicate that clear without having to read extra docs they should have used 2019 version instead of 19. > Our Spring ‘19 The world is big, bellow the line of the equator the seasons are opposite so that could lead to more confusion to the lower half of the planet. In summary, whatever works for them, SemVer is not the clearly the winner in market share, so we as devs always have to check and double check when upgrading things but IMHO the arguments provided in the article are not strong enough to justify the move.
- 7e 8y agoIt turns out semantic versioning hurts sales.
- gcb0 8y agothey had the worst reason possible. "not remain on 2.x forever". nobody cares about stability anymore. staying on 2.x by not breaking backward compatibility forever is a great feat to celebrate, sad to see marketing getting the best of it. I personally like traditional versioning + security patches by date. but I'm on the minority.
- mr_tristan 8y agoThis feels like the "product version" has taken over again. I promote semver internally primarily for wiring together build automation. But I also try to make it clear that there can be a _completely different_ "product version" that can mean whatever the hell we want it to be. Calendar versions are great product versions. Many people, frequently product managers, are very uncomfortable with this distinction. So many places use the product version as "the version", which then becomes the main justification for monolithic version control, even for distributed applications or multiple product lines. So now, you re-build and/or re-deploy everything, even things that had no changes, purely to stay in sync with "the version". There are usually good _technical_ reasons for monolithic version control, but doing it just to slap a product version on everything usually ends up with an alarming amount of waste.
- nmca 8y agoI wish this was built into semver as the first field.
- CivBase 8y agoThis! Semver uses the version number to convey useful information. Getting rid of semver just eliminates that information. If you want to bump versions for marketting, that's perfectly valid. Just use a separate product version. My SVN commit numbers and git hashes also fail to convey useful marketting information, but that's no reason to get rid of them!
- njharman 8y agoThis. The tension in the OA sounds like people a conflating sales marketing based product number and the engineering based version. Keep those separate or have constant missunderstandings, arguments, and frustration. Sadly, I talk from experience.
- tbarbugli 8y agoBad choice. If I ever build and maintain a database I am going to managethe vefsioning and releasing the way postgresql does, no need to get fancy with this, keep your user happy and not busy with distractions like this.
- foobarbazetc 8y agoJust so you know, season based names make no sense since the Southern Hemisphere exists. Also there’s no such thing as Fall in a lot of places.
- ClassyJacket 8y agoAs an Australian, "Coming Summer 2019" may as well just say "Coming 2019". I don't care to research the country of the developer and then the dates that are considered summer in that country just because they were so ignorant they used a season as a timeframe.
- ajmurmann 8y agoSeems like most folks here are missing the really interesting part about the article: > But was this enough of a value jump to merit the leap to 3.0? Semver said nothing about "value". Semver only talks about breaking changes and added functionality vs. purely fixing bugs. For many users and libraries this is more than sufficient, because it allows you to manage risk when upgrading. However, lets enter some false preconceptions and more importantly Enterprise: False preconceptions: Historically major versions of software, pre-semver, had major new features. Many people still have the expectation that this will be the case. This still gets reinforced by many software products (as opposed to libraries). We'd all be surprised if Apple released a new iOS major version and it has no new significant features, but just breaks some APIs that had been deprecated. This is what server would dictate, but would break human expectations. Enterprise: I am sure CockroachDB has support contracts with some larger companies. What are the terms? Are there some support durations that are based on major version numbers? Now majors aren't free anymore. Even if their support contracts don't care about major vs minors, you want your customers to upgrade ASAP, because the older the version you have to support, the more different is that code base from what you are actively working on and the fewer other customers will benefit. A fix on your latest version will likely be with the product forever, whereas a fix on a version that's three years old might not even be relevant to your latest. A major release in server has per definition breaking changes. So this won't be a zero-cost upgrade. Many enterprises in addition have much heavier procedures to upgrade a major dependency, especially for something like a database. This makes for a lot of reason not to upgrade. So now you need some very good carrots to get users to upgrade. Even if you don't have paying customers, breaking changes without a big carrot can be a problem. Nobody wants a mess like Python 2.7 vs. 3. It seems like CockroachLabs just has passage of time make the decision for them now. I'd be very curious to see how this will impact how far behind latest their customers will be.
- vmatouch 8y agoThe versionings are not mutually exclusive. In our company we use calver, it is used mainly for planning and business purposes and works well. During the quarter or whatever period there can be multiple semantically versioned releases made. The only problematic is the YY format choice. Lots of people confuse 19.3 with March 19th in our country.
- sergiotapia 8y agoAll this means is that users will need to read changelogs to know if this update has breaking changes. A really bad move a database provider, you're the backbone of near all applications you should be rocksolid.
- j05huaNathaniel 8y agoYou could argue for days either way. Just read the release notes and stop being lazy developers.
- infogulch 8y agoDecoupling feature releases from API changes is the best option. Your API follows strict semver, but your new features can use whatever versioning scheme you want, this date-based scheme is fine. So the new version is 19.1 [API 2.2]. Most of this thread is debating the relative value of using a single number to communicate feature additions vs breaking changes, but these two things are (mostly) orthogonal. So use two numbers. This even allows releases where there are awesome new features but no API changes at all!
- marknadal 8y agoThis is a hilarious coincidence, we (a database with opposite tradeoffs of Cockroach) just did the same thing a month ago: `npm install gun@0.2019.413` This means no breaking change. How old/new of a version you are on. Month+day the bug got fixed. It was the compromise between intense debates within the community. It is the one thing everyone could agree too. Looks like it is already catching on! I hope more projects adopt it.
- nmca 8y agoThis is terrible imo, but does is further evidence that semver should have a fourth, non-semantic marketing prefix. Because otherwise people will do ... "things" like this.
- blaisio 8y agoThis made me respect cockroachdb less.
- meej 8y agoAn item about versioning is always a good time to revisit Rich Hickey's thoughts on growing software and his criticisms of semantic versioning. https://www.youtube.com/watch?v=oyLBGkS5ICk https://www.youtube.com/watch?v=oyLBGkS5ICk
- chiefalchemist 8y agoSeems to me, there's version and there's compatibility. They are not one in the same. Trying to make a single field do double duty is so often never a good idea. Why is this any different? Perhaps it's time to rethink this?
- sauceop 8y agoI feel like a lot of semver purists have never maintained software with a lot of downstream dependencies. The gray area about what is a breaking change is huge and it's hard to usefully improve software without making changes that are breaking under some definitions. The broadest is that, if a downstream program was working against version x.y, then it should always work unmodified against x.z. One obvious case is bug compatibility and undocumented behaviour - it isn't that uncommon for software to depend on bugs or undocumented/unintentional behaviour. But if you're exposing a language like SQL, it's even messier. E.g. if cockroach added a new feature to the SQL dialect, then it could break downstream software that was assuming a particular SQL string would return an error. Or if you extend existing functionality, say supporting a wider range of arguments in some function. There's also unspecified behaviour and implementation details - e.g. if a query without an "order by" happened to reliably return rows in a particular order before an upgrade, but it changes after an upgrade because of an algorithmic change, is it a breaking change? Common sense would say no, because it's not documented behaviour, but pedants could disagree. And of course there's performance changes - if a query runs 100x slower after an upgrade, but returns the same result, is that a breaking change? If you take the most pedantic interpretation of semver, you either have to bump the major version number all the time or you are very limited in how you can improve the software.
- camgunz 8y agoSemver really isn't good for anything. Do you trust it so much you'd deploy patch increments to prod without tests? Minor increments? I've said it before: software is too complex to be described by three numbers. Write tests and read the changelog. The version doesn't matter at all.
- xg15 8y agoSo, because of a hypothetical concern that semver could unnecessarily declare a non-breaking change as breaking, they got rid of non-breaking changes altogether? This seems a pretty roundabout way to tell users they don't want to be backwards compatible anymore.
- makecheck 8y agoI don’t see why these things need to be mutually exclusive. For years I’ve released things with semantic numbering but a YYYYMMDD build number.
- urvader 8y agoIt’s called romantic versioning
- JabavuAdams 8y agoWow, people really, really seem to care about this. Does it matter, or is this just dev wanking?
- zapzupnz 8y ago'Spring' is a useless indicator for versioning. Most developers publish from the northern hemisphere so their Spring is March through May; mine is September through November down here in New Zealand. Cockroach Labs should rather copy Apple's model, free of hemisphere bias: Early 20XX, Mid 20XX, Late 20XX.