I'm using angular 4.2.4 in my application and I want to upgrade to the latest one (4.3.0)
is there an easy and safe way to do that without breaking my application ?
When searching I found this information from:
http://angularjs.blogspot.de/2017/07/angular-43-now-available.html
that link states that Angular 4.3 contains no breaking changes ?
I want to do that upgrade to use HttpClient
I think you should be fine. Once you reference the new packages just make sure that your
ng build --prodis not breaking.If you want to use the new
HttpClientyou have change all parts of your code that referencingHttpfrom@angular/httpand replace that withHttpClientfrom@angular/common/httpaccording with styleguide.Also you have to change to all related
.specfiles that referencing oldHttpas well, then test withng t, unless you does not care about tests.If you are looking how upgrade all angular related packages more efficiently just look here How do I correctly upgrade angular 2 (npm) to the latest version?