5 ms·
Most interesting part about this for me is the name. I was never aware of there being a GA 3. It seems like every product went from numbered versions to continu
by Gigachad 5y ago
Most interesting part about this for me is the name. I was never aware of there being a GA 3. It seems like every product went from numbered versions to continuous updates like when windows went to 10 and declared there would be no more numbered versions. But now the trend seems to be reversing and everyone wants that yearly numbered announcement with the hype that comes along with it. I wonder if we will start seeing more consumer software and online services hold back features to go in one big release rather than letting them drip out as they are done.
- taspeotis 5y ago> windows went to 10 But these Windows go to 11?
- Jerry2 5y ago>But now the trend seems to be reversing and everyone wants that yearly numbered announcement with the hype that comes along with it. And promotion and bonuses! This is the major impetus for these efforts.
- josephg 5y agoThe problem with rolling releases is that there’s no way to say “I’m using the API as it was at version 3”. The last few years I’ve been increasingly thinking about software versions where the major version is part of the dependency name. So product Foo@1.2.3 is really “Foo1” at version 2.3. Foo1 is what you’re depending on, and so long as the semver guarantee holds, you should be able to incorporate rolling releases of Foo1’s versions. But because Foo2 (Foo@2.0.0) has a different API, it’s a different dependency and should be treated as if it were separate object in the dependency tree. And generally Foo1 and Foo2 should be able to sit, live and work side-by-side. The fact that Foo1 and Foo2 are both called "Foo" is an artefact of how humans write software, but its meaningless to the computer. Foo2 usually has all the features of Foo1, but because the API is programmatically incompatible, when it comes to the dependency tree, they should be totally separate items. You see forms of this all over the place. Eg, HTTP APIs are usually /api/v1/ not /api/v1.2/. Debian's apt repository has packages for 'llvm-10', 'llvm-11', 'llvm-12', and so on. I used to think this was silly; but now I think it might be the only way to do that in a coherent way.
- hadlock 5y agoThis is just called semver or semantic versioning. https://semver.org https://semver.org
- josephg 5y agoThe semver spec implies this, but doesn't say it outright. And that leads to lots of overcomplicated tooling! I'm going to try being even more clear: "Package Foo v1.2.3" should usually be spelled "Package Foo1, v2.3" For example, the migration from react 17.x.x to react 18.x.x is actually a change from depending on package react17 to depending on react18. React17 and react18 are two different packages which have been designed by the same team, and happen to have similar APIs in order to make migration easier. If I designed npm today I'd make "react16", "react17" and "react18" all be essentially different packages (under a namespace). They should probably only share their lists of authorized authors. You can see this confusion all over the place. For example, when setting up peerDependencies in a nodejs project, there are suggestions[1] to use a version like `"chai": ">= 1.5.2 < 2"`. This is because chai v1 and chai v2 are essentially different packages. You want to say "chai v1 should be a peer dependency". But its unintentionally awkward to say that clearly. And with the current nomenclature, there's no way to express a dependency on both chai1 and chai2 - despite them being different, incompatible packages. Even though nodejs is obsessed about semver, it still makes a mess of things by pretending as if major versions and minor versions are similar. They are not. [1] Last couple paragraphs of https://nodejs.org/es/blog/npm/peer-dependencies/ https://nodejs.org/es/blog/npm/peer-dependencies/
- jacobmischka 5y agoWeird that nodejs.org doesn't say so, but that's usually written `"^1.5.2"` and is by far the most common way dependencies are specified in my experience. Cargo even makes the ^ implicit, and you can just write "1.5.2".
- nyanpasu64 5y agoCargo and Poetry treat different major versions of software as effectively different packages by default. However I've seen pushback against upper version bounds (which putting different major versions under different names is an extension of): https://iscinumpy.dev/post/bound-version-constraints/ https://iscinumpy.dev/post/bound-version-constraints/. I'm not sure how to feel myself.
- dudus 5y agoIt never was numbered before. But naming things is hard. So they switched. From top of mind it used to be Urchin Analytics, then Google analytics, then universal analytics and now GA4.
- eli 5y agoContinuous updates are not an option here. GA4 is very different from previous versions and has many breaking changes.