by uncle_joe · 9y ago · 0 comments
Or, semver should start to update its major version every 4 months, perhaps Angular devs will understand what the term JavaScript fatigue means.
If you hate anything, it should be Angular for they decide when they are going to introduce incompatible changes.
Let's say you have N small projects, each of which gets a major version bump once every two years. Now, combine them into a single umbrella project. If you have 24 of them and they don't coordinate, you'll end up bumping the major version once a month (on average), even though the code didn't really change any more than before.
To somewhat improve on this, you can coordinate release dates, and you get a regular major version bump, the times when it's always true that some things changed, even though most things didn't. Either way, the version bump itself doesn't tell you as much compared to having separate projects.
We lock all package versions now negating the benefits of semver.
Sometimes there's a breaking change we need to work through (often in the plugin ecosystem with stuff like bell for oauth integration), but usually the major changes aren't too painful to transition through.
It's still nice to use semver and know what to expect. You just have to get acclimatized to having very large major version numbers. I mean, Chrome is up to version what, 55?
This is a question of responsible development and foresight. Incompatible changes should not be introduced lightly to software that has a lot of dependent code. The cost that must be incurred to upgrade can be significant. Having to bump major versions to release incompatible changes means you’ll think through the impact of your changes, and evaluate the cost/benefit ratio involved. '''
Having a calendar of the breaking changes already planned like explain in the video seems dubious.
And about Chrome, Chrome is an implementation not a spec, Angular is both an implementation and a spec.
Do you really want a JavaScript 55 ?
So if they keep on track, JavaScript 55 will be here in 2055. ;)
Perhaps they do it because of job security?