Angular News

Major release

 

Bug fixes

 

New features

Angular 5.0

Pentagonal Donut!

Provided by Angular's CLI

 

Tree shaking

 

Bundle size reduction

Angular 5.0

Build Optimization

  • Dramatically faster incremental rebuilds
  • Option to discard whitespaces during build
  • More versatile decorators

Angular 5.0

Improved Compiler

HttpClient is lightweight and powerful

 

Response objects are JSON by default

Angular 5.0

New HTTP library

Brand new i18n implementation

 

No more polyfills

 

Pipes!

Angular 5.0

Internationalization

Performance improvements

 

Forms would update onChange

 

Now have the option to update onBlur or OnSubmit

Angular 5.0

Forms

/* Then */


// Template driven form

<input
    name="firstName"
    ngModel
>



// Reactive form

this.f = new FormControl(
    value,
    [],
    [myValidator]
);
/* Now */


// Template driven form

<input
    name="firstName"
    ngModel
    [ngModelOptions]="{updateOn: 'blur'}"
>


// Reactive form

this.f = new FormControl(
    value, {
        updateOn: 'blur',
        asyncValidators: [myValidator]
    }
);

Angular 5.0

Universal state transfer API

 

exportAs

 

New router lifecycle events

Angular 5.0

Other new features

 

Angular CLI 1.5 creates Angular 5 projects by default

 

Pre-existing v4 projects can be upgraded using the official guide

 

https://angular-update-guide.firebaseapp.com/

Upgrading to Angular v5

Angular 5.0.0 supports RxJS ^5.5.2

 

Letterable operators

 

Bundle size improvements

RxJS 5.5

Nrwl Nx

Module in AngularFire2

Realtime observable streams from Firestore

 

Easy querying

 

Offline enabled

Google Firestore with AngularFire

ng-conf

April 5-7, Salt Lake City

NativeScript Developer Day

September 18-19, New York City

October 10-12, Orlando

AngularMix

November 7-8, London

Angular Connect

Diversity, Inclusion, Angular

 

70% women speakers

 

Jan 30 - Feb 2, 2018

NgAtlanta

...and that's the news

Copy of Angular News

By Rishabh Karnad

Copy of Angular News

Slides for the Angular Meetup, Bangalore (December 2017)

  • 349