What Is New In Angular v5

Hello everyone,

I hope you guys had a happy Diwali time with family and friends this year. While we were celebrating Diwali, the Angular team was busy in delivering the release of Angular 5.0 (pentagonal-donut) to give us a Diwali bonus..!!!  But don’t worry about the new changes of Angular v5.

Even though they are calling it “major release”, Angular v5 doesn’t introduce any breaking changes or any new major changes. The only new feature is about HttpClient which was already there in Angular 4.x too. So, your old setup for Angular 4.x will still work with Angular 5.x. You should not worry about new updates; you can easily upgrade to Angular 5.0 by a simple update to your angular-cli as shown below. 

  • npm uninstall -g @angular/cli (first, uninstall the old cli)
  • npm install -g @angular/cli (then, update the new cli)

Okay Jinal, we understood what you said but then why they called it a “major release”?

  • Because it changes and optimizes a lot of things behind the scene and leads to faster and smaller (lightweight) Angular apps => That's a major enhancement. Additionally, the new HttpClient is now out of beta.

  • More features are as following,
    • Build Optimizer
    • TypeScript Transforms
    • Preserve whitespace
    • Improved decorator support
    • Updates on number, date and currency pipes
    • Angular forms add updateOnBlur/submit
    • New Router lifecycle events

You can find the details of all updates of this new release here.

Well, I am working on the new features and will post the demonstrations of these updates very soon. Stay tuned for next updates!