r/javascript • • Nov 26 '16

The Angular team has just moved from Google’s versioning to SemVer. Please stop worrying about Angular 3. Angular 3 will be Angular 2, but with some more cool stuff.

https://toddmotto.com/please-stop-worrying-about-angular-3
22 Upvotes

12 comments sorted by

17

u/mailto_devnull console.log(null); Nov 26 '16

A major version bump in semver signifies a breaking change.

5

u/KnightMareInc Nov 26 '16

No different than the breaking changes between angular 1.3 and 1.4

-2

u/inu-no-policemen Nov 26 '16

Typically, that's not much of an issue with TypeScript or Dart. The analyzer catches it. So, even if you don't have any tests it isn't a problem.

0

u/[deleted] Nov 26 '16

[deleted]

1

u/inu-no-policemen Nov 26 '16

We are talking about API changes. The analyzer will notify you if signatures/types don't match or if methods/fields/constants/etc don't exist.

0

u/[deleted] Nov 26 '16

[deleted]

1

u/inu-no-policemen Nov 26 '16

Hence "typically".

Anyhow, for the most part, you can introduce breaking changes with tooling in mind. Dart's standard lib was updated like that, for example.

Updating Dart codebases was much easier than, say, making sure that some JS app continues to work fine with a new jQuery version.

0

u/[deleted] Nov 26 '16

[deleted]

1

u/r2d2_21 Nov 27 '16

How do you manage a full rewrite in SemVer, then? Or do you just plain don't?

0

u/[deleted] Nov 27 '16

[deleted]

2

u/[deleted] Nov 28 '16

in an ideal world, where marketing doesn't exist

5

u/[deleted] Nov 26 '16 edited Nov 26 '16

I've no problem with the versioning, you do whatever makes sense (except their previous trick of calling alphas RC) but it makes no sense in relation to Angular 1, they really should have called it something else.

1

u/Seus2k11 Nov 26 '16

Completely agree.

5

u/fenduru Nov 26 '16

I'm glad they started using semver, but that doesn't necessarily justify them making breaking changes so soon after release.

4

u/robwormald Nov 26 '16

We have explained and documented this policy here, for those who are interested: http://angularjs.blogspot.com/2016/10/versioning-and-releasing-angular.html

2

u/pm-me-a-pic Nov 26 '16

Google moves to semver for Angular.