The version 4 of Angular is a change of core libraries that demands a change of SEMVER (Semantic Versioning) change. It is about adding a meaning to the version numbers. There are deprecation phrases in the Angular 4 that allows developers to adjust their code.
Semantic Version consists of three numbers:
The Core Angular libraries in Github are versioned in a similar way but they are distributed as different NPM packages. And because of this reason, the team decided to carry on with Angular 4, skipping Angular 3.
The main goal of Google is to make sure about the compatibility of Angular 4 with Angular 2 and to improve the compiler error messages. It was noted before about reducing the code generation.
The team of Angular committed for some timely based releases occurring in three different phases:
Each version is allowed to mark APIs from the previous major version as deprecated, but not to break them. The team of Angular has confirmed that Angular 4 will be backward compatible from Angular 2. Till date, the remarkable change in the version is noted, without deprecations and API change/breakage.
The further releases do not contain the drastic changes made in the Angular 4, as stated by the source. Being a part of the ecosystem, Angular needs to be updated, to make it prosper of certain fractures.
TypeScript: There is replacement of TypeScript 1.8 with the advanced TypeScript 2.1. Since, TypeScript 1.8 is not something that Google likes to consider, as it has actually specified.
In-Built Compiler: Angular 4 comes with the inbuilt compiler to report the template errors right in the IDE. Google emphasizes improvements in tooling as well as reduced code generation.
Reduction of Code: Because of advancement in the compilation process and the enhancement in the performance of framework, Angular 4 release will generate 25% less code.
Meanwhile, there are no information about any features that are about to be excluded, if there are any – the team of Angular gives the commitment for support with 2 major release cycles.
Read More: www.letsnurture.com/blog/making-web-applications-angularjs.html
LetsNurture is a leading IT service provider with a vast experience in nurturing the technological requirements of the clients. We have a skilled team of developers to present the best possible solution for your web app. If you are looking for a reliable partner to cater your IT requirements, feel free to visit our portfolio. You can request a free quote from us.