4 ms·
dist-tags/release channels are far superior to classic semver pre-releases. What is the difference between an unstable and a stable version? Testing by users.
by felixfbecker 9y ago
dist-tags/release channels are far superior to classic semver pre-releases.
What is the difference between an unstable and a stable version? Testing by users. So as soon as enough users have tested / enough time has passed without issues, an unstable release becomes stable. In the best case nothing about the code needs to change, the release just needs to be promoted to the stable channel / dist-tag. That is pretty common practice for a lot of software and especially packages on npm.
With dist-tags, you can still make the versions meaningful. Between unstable versions, you can still express in semver terms what type of release it is (patch/minor/major). In classic prereleases, that is not possible. There is no semantic relationship expressed between a -alpha.1 and -alpha.2. Was it a bugfix? Does it add a feature? You don't know.
The issue is that npm did not mention in their blog post that 5.7 was released on the unstable `next` channel. The issue is not release channels in general.
- mundanevoice 9y agoI agree with most of what you said. > That is pretty common practice for a lot of software and especially packages on npm. This is mostly what I have a problem with. Almost everyone is other ecosystems do not do something like this and there is a very good reason for it. Why not just follow a known and standard process of releasing things. https://twitter.com/maybekatz/status/966730802187792386 https://twitter.com/maybekatz/status/966730802187792386 Even the NPM dev acknowledge the current process to be faulty and are considering switching to use pre-release tags.
- Master_Odin 9y agoand that using npm upgrade -g npm ignores the the @latest and @next release channels.