Now that it's here

Have you updated your project to Angular v6? [POLL]

Angular v6
© Shutterstock /  M1shanya

Now that Angular v6 is here, we’d like to know if you’ve updated your project to the latest version. Are you still using Angular v5, v4 or previous versions? Angular developers, this poll is for you.

We were expecting Angular v6 a bit earlier but it’s all water under the bridge now. We’re even more excited since this is the first release that unifies the Framework, Material and CLI.

If you want to read more about the highlights and the new CLI-powered update workflow for your projects, check out the v6 release announcement.

We talked with Minko GechevShai Reznik, Radoslav Karaivanov and Konstantin Dinev about Angular v6 and we learned that even though some are still using Angular v5, they are all excited about the latest version and will update their projects as soon as possible because, as Shai Reznik pointed out, “it’s easy, there are almost no breaking changes, and second, why not taking advantage of the new features and goodies.”

How about you?

Have you updated your project to Angular v6? 

Loading ... Loading ...

SEE ALSO: 13 reasons why we all should be excited about Angular v6

Angular Update Guide

Speaking of updating your application, if you don’t know how to do that, you should use the Angular Update Guide. All you have to do is select the version you’re currently using, how complex your app is, if you’re using ngUpdate, the package manager and that’s it.

For example, if you have a basic app and you want to update from Angular v5 to Angular v6, here’s what you need to do:

Before updating

 Switch from HttpModule and the Http service to HttpClientModule and the HttpClient service. HttpClient simplifies the default ergonomics (You don’t need to map to json anymore) and now supports typed return values and interceptors. Read more on

During the update

 Make sure you are using Node 8 or later
 Update your Angular CLI globally and locally, and migrate the configuration to the new angular.json format by running the following:

npm install -g @angular/cli
npm install @angular/cli
ng update @angular/cli

 Update all of your Angular framework packages to v6, and the correct version of RxJS and TypeScript.

ng update @angular/core

After the update, TypeScript and RxJS will more accurately flow types across your application, which may expose existing errors in your application’s typings

 Update Angular Material to the latest version.

ng update @angular/material

This will also automatically migrate deprecated APIs.

 Use ng update or your normal package manager tools to identify and update other dependencies.

After the update

 Remove deprecated RxJS 6 features using rxjs-tslint auto update rules.

For most applications this will mean running the following two commands:

npm install -g rxjs-tslint
rxjs-5-to-6-migrate -p src/

 Once you and all of your dependencies have updated to RxJS 6, remove rxjs-compat.
Inline Feedbacks
View all comments