Replies: 2 comments 14 replies
-
Why would there be any “too fast” for increasing majors? I can see too many breaking changes as an issue, but artificially keeping the major version low doesn’t solve that. Semver isn’t about marketing, it’s about communicating breakage. |
Beta Was this translation helpful? Give feedback.
-
An idea just came to my mind that we can support fully back-compatible versions with the next syntax: Current versions in the package.json file can be only strings. What if npm supported them to be either strings or object with the next syntax?
Where:
I would love to receive any feedback about this idea. |
Beta Was this translation helpful? Give feedback.
-
I was wondering if anybody ever discussed a chance to add 4-digits semver approach for versioning modules described here: https://github.com/exadra37-versioning/explicit-versioning/blob/master/README.md
The reason why I think it might be useful is: there are libs/engines/frameworks, which may have breaking changes in 1 MINOR release, but as semver doesn't allow using additional numbers for differing releases, they have to either increase MAJOR versions too fast or forget about using true SEMVER approach, which causes problems for other modules / apps, which are using such modules.
As an example the pixi.js lib might be taken. https://github.com/pixijs/pixi.js
If we compare 2 releases from the 4.8.x range, we can see that they have breaking changes between them: pixijs/pixijs@v4.8.0...v4.8.8
As pixi.js developers try to keep the first number of the version to important RELEASES, they can't use it as an indicator of breaking changes, so they just don't follow SEMVER.
From the marketing point of view keeping the 1st number for very important releases is a very good idea. All people who would migrate from 4.x to 5.x versions would understand that it's a completely new RELEASE, which has nothing to do with the previous 4.x.
So, my question is: would it be able to introduce the 4th number for semver-ish versioning approach?
It doesn't actually have to be x.x.x.x format, we may find another back-compatible approaches for indicating important releases, idk, smth like r1_v2.3.4 or 1@2.3.4 (which, to my taste, looks lamer than x.x.x.x, but would be fully back-compatible with the previous approach).
It would be great to receive some feedback from you folks, thanks.
Beta Was this translation helpful? Give feedback.
All reactions