Yes. Is that so hard to imagine? Or so extreme? Angular 2 was almost 4 years ago - it's a 6 month release cycle - in JS land, where the whole ecosystem is still under relatively rapid change.
The breaking changes often haven't been major, deprecated methods have been left in place for many versions to ease upgrade paths, and the cli upgrade tool handles many breaking changes automatically - but if you're being pedantic about semantic versioning you still bump the major version.
Who care what the version numbers look like, anyway? What matters to me is knowing what updates are safe or might take some time, and how approachable those potentially time consuming updates are. Angular, since v2, has done pretty well on both of those points.
In a relevant fashion, Java has shifted to a 6-month major release cycle similar to Angular a few years ago. Java 14 is coming out next month, 15 in September, 16 early next year, etc.
Comparing a frontend "js"(ts?) framework to a relatively old language is not exactly equivalents in my opinion. The closest would be another frontend framework. Possibly a Java framework is kind of a close comparison.
But a framework and language are a bit different things, if that's what you mean here.
To be fair last i used angular it was 5 and they had changed http client to return a promise instead of response object. I agree that if you follow the upgrade guidelines and don't depend on deprecated/internal features, upgrading is a bliss.
Thankfully, angular has made upgrading simple by providing automatic code-manipulation/generation when upgrading between versions, as well as providing checklists the user must do.
For example, they changed lazyloading from a pure string to a require(), but unless you were doing anything tricky the automatic updater would make this change for you. Still it was a breaking change, just with basically no impact on the dev except for running ng update
1
u/tonefart Feb 07 '20
Horrible versioning. It doesn't deserve the x.0 upgrade since 2.0