r/webdev • • Oct 18 '18

Angular 7.0.0 released

/r/Angular2/comments/9pbn4f/angular_700_released/
223 Upvotes

148 comments sorted by

View all comments

Show parent comments

78

u/DerpsMcGeeOnDowns Oct 19 '18

It’s just proper semver man. Nothing crazy. If there’s a major breaking change, it’s bumped. Simple.

16

u/WHO_WANTS_DOGS Oct 19 '18

When they announced Angular 2, they said they would be doing a major release every 6 months. I wonder if they are consistently introducing breaking changes every release.

25

u/APimpNamedAPimpNamed Oct 19 '18

Fine for devs scary for managers

4

u/itsmoirob Oct 19 '18

Is there a breaking change in this?

12

u/E2Ehh Oct 19 '18

Yes, technically upgrading TypeScript to 3.1 is a breaking change. For most applications, it will not cause any side effects or require any fixing, but in some obscure cases it will need some fixes applied (e.g. as TypeScript has got better / more strict at detecting type anomalies). I upgraded our codebase today after the release was announced: >10k TS files, took me a couple of hours to read the release notes, upgrade packages and test everything out and get it deployed - hit no issues at all this time!

3

u/itsmoirob Oct 19 '18

10k files? I salute you. Good effort

1

u/E2Ehh Oct 19 '18

To be fair a lot of the files are pretty empty... small barrel files, ngmodules etc

-4

u/[deleted] Oct 19 '18

If you need major breaking change too often maybe there is something wrong.
Definitely a smell.

-5

u/Arkhenstone Oct 19 '18 edited Oct 20 '18

And it's what bad actually. Too much breaking changes, it makes your code legacy in less than a year. Edit : I've been downvoted and I just see that my comment is not that explanatory. It's not really bad as for bad for everyone. In a small where development is not the core activity, a language that introduce too many breaking change is not likely to be a good choice. Because the development will be slow, the app will have an outdated language by the times it goes out. For example, I've got an app which I started to develop a year ago. With Vue, it's still Vue 2, I can deploy the app with the latest version without even caring about about upgrading. It's not about skill or whatever, it's just about cost.

8

u/icouldnevertriforce Oct 19 '18

A breaking change can be a small change to a barely used API.

It's a "heads up check your code if you use this thing we've tweaked"

4

u/glydy Oct 19 '18

Yep, I've had to bump major versions for tiny things sometimes. It feels a bit wrong upgrading a major version for something so small, but a breaking change is a breaking change.

3

u/DerpsMcGeeOnDowns Oct 20 '18

So upgrade it like a responsible human being.