Angular Version History
Angular Version History
Question that often comes out it’s what’s the difference between angular JS angular 2 and angular four
and how did it jump from angular 2 to angular 4 well angular JS was introduced in 2010 at a JavaScript
framework for building client application don’t it gained popularity and angular team started adding new
features to the core but the framework was not designed with the needs of today’s applications in mind
plus it was overly complex so angular team decided to rewrite the original framework using TypeScript
and as a result angular two came out in mid 2016 this new version is entirely different from angular one
to the extent that you can think of it as a completely different framework now this made a lot of
developers unhappy because they had a lot of applications built with angular one but each application
over a few thousand lines of code attached to the written but overall I personally like the direction that
the angular team took and how they rebuilt the angular with TypeScript this is a much better framework
it's a lot cleaner and it's a lot easier to understand and to work with after a few minor upgrades to
angular 2 something strange happened you were up to angular 2.3 and then all of a sudden angular four
came out so a lot of developers including myself wondered what happened to angular 3 we thought we
made something really big here but unlike angular 2 angular four was not a new framework with a lot of
breaking changes in fact it wasn’t even a major upgrade so let me explain what happened angular
consists of a few different libraries that are distributed separate note packages via NPM for example we
have the core library that we use in every application your compiler you have angular HTTP for calling
HTTP services we have angular router for adding navigation to applications and if you know the library all
these libraries were version the same except the router library so in order to align this version and avoid
confusion in the future angular team decided to go straight angular version so in a sense angular 4 is not
a major upgrade to angular 2 and you can think of it as angular 2.4 simple as that after all this confusion
in the community about angular versions the team decided to drop the version suffix it simply called the
framework angular so now we have two kinds of angle we have angular JS which is the first generation of
angular written in JavaScript and it's going to die sooner or later and we also have angular which refers
to angular 2 or later in our discussions in our articles and whenever we want to talk about angular 2 or
later we should really use the word angular like I’m going to angular developer instead of I’m going to
angular 2 developer or I’m an angular 4 developer it’s really weird we should use versions only when we
need to talk about a specific release for example when you want to upgrade angular 4 to angular 5 then
everybody knows what is the scope of this upgrade and what are the potential breaking changes that
can impact an application but this is all about angular version of history.