News for hackers. Stuff that matters.
Re:ZeroVer: 0-Based Versioning by vjeux on Thursday August 12, 2021 @07:39AM (#28154980)
For React Native we do ~monthly releases and just increase by 1 each time. It’s a train model this way people know when their changes will get released. I guess we should consider bumping to 1.x at some point and keep going :)
Re:ZeroVer: 0-Based Versioning by nicoburns on Thursday August 12, 2021 @07:46AM (#28155031)
Monthly? There were 3 releases in 2019, 2 in 2020, 2 so far in 2021 if you count the imminent 0.65 release.

I guess maybe it's monthly if you count the patch releases? But you can't really claim to "just increase the number by 1 each time" when you have two separate numbers which get incremented for different reasons.

Re:ZeroVer: 0-Based Versioning by vjeux on Thursday August 12, 2021 @09:12AM (#28155854)
I haven’t worked on React Native for many years now… looks like it has slowed down! It was monthly in the first few years.
Re:ZeroVer: 0-Based Versioning by dathinab on Thursday August 12, 2021 @10:02AM (#28156486)
Skip 1.0 and 2.0 to brake people's expecting.

Like at some point just e.g. move from 0.69.0 to some arbitrary number like 7.0.0 or even 70.0.0.

Re:ZeroVer: 0-Based Versioning by simiones on Thursday August 12, 2021 @10:26AM (#28156761)
Java did that, right? From Java 1.4 to Java 5.

Also, at $WORK we have three separate but related products, each with separate version numbers that we jumped at some point to reach the same value across all 3. One of the products jumped from 3.x to 9.0 I believe.

Re:ZeroVer: 0-Based Versioning by _tom_ on Thursday August 12, 2021 @11:20AM (#28157440)
Java 5 was still v1.5, except for marketing, iirc. The 1.x versions persisted internally for a few releases.
Re:ZeroVer: 0-Based Versioning by dathinab on Thursday August 12, 2021 @12:57PM (#28158709)
Java moved from 1.4 to 1.5 and just stopped displaying the 1.

The reason was that they committed to never to any "major braking change" i.e. that there would never be a version 2.

At the same time the backwards compatibility guarantees didn't work always as good as some people liked so they decided to move from semver to something which is like "only do minor releases, but sometimes imperfect making them somewhat major releases but also somewhat not".

What I advocated for differs in that I want to keep semver. So when you move from e.g. 0.32.0 to 32.0.0 you still would only inc minor version for non braking changes and the patch version for patches.

Through this means that you now can denote path updates, as in 0.32 the minor updates are like major updates and the patch updates are like minor updates.

This can be especially useful when development release speed slows down and you want to make a new release with e.g. just fixing some API docs or just non API exposed bug fixes.

Re:ZeroVer: 0-Based Versioning by magic_quotes on Thursday August 12, 2021 @02:22PM (#28159665)
Java / OpenJDK never used semver in the first place. Also, large projects like Java have entire layers of different APIs, whose compatibility guaranties can't really be described with a single number, no matter what versioning scheme they use.
Re:ZeroVer: 0-Based Versioning by Heliosmaster on Thursday August 12, 2021 @07:43AM (#28155012)
why not switch to a year-month then, if the release process is already time-based?
Re:ZeroVer: 0-Based Versioning by emteycz on Thursday August 12, 2021 @08:52AM (#28155608)
1. cost (and risks) of switching - not just for the project itself, but across the ecosystem and all the millions of users

2. what if you need multiple releases in a month, in a day?

3. if it works, don't touch it

Re:ZeroVer: 0-Based Versioning by nick__m on Thursday August 12, 2021 @10:31AM (#28156810)
i dont have awnsers for 1 and 3 but reagarding 2 the format YYYYMMDD.NN allow you to have 100 releases a day...
Re:ZeroVer: 0-Based Versioning by jrochkind1 on Thursday August 12, 2021 @09:09AM (#28155818)
Do you have any policies around backwards compatibility? Is there any way to know if a given release has intended backwards-breaking changes or not?