Ok, but I think then I understand the problem even less
Ultimately, it doesnât really matter as per @davidâs latest comments, so just to wrap it up.
The proposed model is monthly release, plus 2 esr versions, so e.g. for 2026:
2026.1
2026.2
2026.3
âŠ
2026.8
2026.9
2026.10
âŠ
So assuming we are in October 2026 and .2 and and .8 are esr versions, that means 4 supported versions.
And my thought was. Wouldnât it be easier to basically have quarterly versions, i.e. for 2026:
2026.1
2026.2
2026.3
âŠ
And still only the current one and the previous release would be supported, so in October 2026, it would be 2.
And the whole reasoning was that maybe this would make it easier for both developers and users. But as mentioned above: @david has clarified that less frequent releases are not an option.
Understood. That is roughly how I expected it. Indeed, in this case a bit of tool support would be nice at least mid-term.
The way I conceptualise it, is: you are on a specific release channel (latest, release, esr), and usually you would relatively quickly move to the next release, so getting a message and/or notification when the new release is available and having a single command to switch to it would be neat. And for cases, in which you have delayed the adoption of a new release, it would also be nice to be reminded when the currently used release becomes obsolete/unsupported. Bonus points if the respective tool could also let you switch release channels quickly
But I understand if thatâs not the top priority right now, and you still recommend people to stay on test-passed/latest.
I see. In the context of my work, getting out a feature to customers is considered âfastâ
Also, as mentioned above, my thought was that moving to a quarterly schedule would actually make your life (and the life of plugin/theme developers) easier, because thereâs less branches under maintenance. So if thatâs not the case, then I guess that really doesnât make sense for you
SemVer itself isnât really designed for large applications. I understand it to be much more targeted at libraries consumed by software, and in particular, the version numbering logic is built around the packageâs API.
We could apply semver to our API(s), though. Having stronger guarantees around the APIs that Discourse exposes is certainly a worthwhile conversation to have, but I think itâs separate from this one.
Now, I understand you didnât say we should be compliant with semver â you just said we should stick with using numbers that are compliant with the numbering system specified by semver.
A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 â 1.10.0 â 1.11.0.
I think the âleading zeroesâ suggestion is the only thing that we would be breaking from if we go that route.
Otherwise, I think any semver library would still be able to parse the version numbers weâre suggesting and order them properly.
All that aside, can you share more about why you think being compliant with a semver numbering system has value?
The OP says that youâre not using leading zeros, if I understand correctly.
I think also a compelling reason to use leading zeros (sorting by versions) has been proposed. Are leading zeros the current plan? (I still like month-versions rather than serial versions).
The point of SemVer is that the version number should communicate some useful information. The only information communicated by your proposed scheme is the earthâs orbit around the sun. That information is not very useful to the consumer of the software.
If for some reason I did want to know the date of the release, I would look at the release and get the full date.
Not really. The point is to communicate the nature of the release to the user.
If the release is a patch version bump, this is communicating that the changeset doesnât contain anything that is expected to affect the workflow of the users of the software.
If the release is a minor version bump, this is communicating that the changeset includes the addition of new user facing components, but nothing that will break existing workflows of the users of the software.
If the release is a major version bump, this is communicating that the changeset includes changes that may break existing workflows of the users of the software.
The determination of which of the version components should be bumped is more clear cut in a software product that has a single user interface, but the principles remain the same even for a software product like Discourse where there are a variety of levels of interfaces and types of consumers (e.g., plugin developers, API consumers, forum staff, end users).
Even if the choice of which component to bump is a bit more subjective in this software project, it still results in the version number having meaning instead of just being some arbitrary number, as is the case with your proposal.
Contrary to semver, the proposed version numbering scheme makes it immediately clear if a version is still supported (like Ubuntu). Since that depends on the earthâs orbit around the sun as well, this actually makes sense.
This is clearly targeted towards packages and libraries. Any discourse release includes changes that may break existing workflows of the users of the software. Iâve even seen security patches do that. Semver is not usable for complex applications.
Just to emphasize a point that might get lost, I think Discourse does great here. One improvement would be to at least highlight the topics youâve already written that describe changes and potential breakage within that upgrade cycle. For example, with the 3.5 release, I had to open the release notes, click through to the blog, and then happen to click on the link about bundling plugins with Discourse core in order to catch that detail that leaving those plugins within my config file could impact upgrades.
Itâd be great to pull those kinds of notes out onto a page/topic for ESR releases, even if itâs just a set of links to existing topics that should be reviewed prior to performing an ESR upgrade.
This may be beyond the scope of this thread though - my feedback on the versioning change is that I welcome it and appreciate the transparency here. I think this would be a great improvement that would simplify things while giving us more options for self-hosting.
The leading zeroes and whether or not to aim for synchronization with months more explicitly is being considered. @david will share an update once the group working on this arrives at a decision.
That is not the important information for a forum maintainer evaluating a new release.
No, really. You are missing the actual point of SemVer by refusing to understand that âAPIâ actually just means the interface. There is absolutely no reason the spirit of SemVer can not be used in versioning of any type of software.
It does not really matter if it is a library or larger application. A semantic versioning scheme (like semver) works perfectly well for large application. It can even be used for a collection of applications bundled into a platform, but here it becomes quite difficult to tackle.
The main question is if you are going down the route of supported depreciation in one release and only removal of it in the next major. Having deprecated, but supported functionality, can take quite a bit of effort. When you are going to make changes to your persisted data model deprecating can often become impossible. If that happens you cannot even do a minor version with deprecated functionality, and you instantly jump to a next major. This is the part where large application usually have problems. You go from 3.0.0 to 3.0.1 to 4.0.0 because you cannot provide backwards compatibility. If you often have breaking changes sticking to semver adds little value.
Having said that. I much more prefer that construction because it communicates more clearly to developers that there is going to be breaking changes. YYYY.N scheme tells me nothing as a developer, and nothing as an admin.
So the question is, what do you want to communicate with the version? If you want to do 6 feature releases (which might or might not be breaking), and every 6th release will be longer supported with patches; and you do not want to version patch releases. Then X.Y is a suitable scheme where Y=0 is the longer supported one. X would be just a number. The problem is when X is the year, then Y quickly is associated with a month. So newer longer supported releases will be released in January? I always have to look up which Ubuntu version is an LTS, which annoys me.
So what if Discourse simply continues with the current major. The next longer supported version is called 4.0; and then we get 4.1 to 4.5 as feature releases; followed by 5.0 which is the newest longer supported one.
Then you also donât have that awkward moment where a release is delayed because of a major issue.
You could optionally add a âpatchâ number if you plan to explicitly release patches (instead of having rolling patch releases). âBut then you have x.y.z which is semverâ. Well no, it looks like semver, but it is not. Every new âminorâ release can be breaking. So I suggest to just stick to X.Y as version scheme with Y=0 â LTS
Version string aside. I do like the new release plan.