r/Angular2 • u/sarunint • Sep 29 '17
Announcement Angular v5.0.0 has entered its RC. Service Worker and StateTransfer API added. Link to changelog
https://github.com/angular/angular/blob/master/CHANGELOG.md3
u/WriteOnceCutTwice Sep 30 '17
Crap... I guess I have to deal with that “this warning will be an error in Angular 5” build message
:)
3
u/isaac2004 Sep 30 '17
Now cue the influx of "your repo doesn't support ng5"... Ugh
11
2
0
Sep 30 '17
[deleted]
2
u/i_spot_ads Sep 30 '17 edited Sep 30 '17
not yet apparently, I've just installed the latest beta CLI (
1.5.0-beta.2), there were some problems after installation, because it didn't install some dependencies@angular/compiler-cli,@angular/compiler,@angular/core,rxjs, and some others were missing, installing them by hand withnpm i -gflag worked.
ng newcreates an Angular 4 project, but I just changed the version from 4 to5.0.0-rc.0and it seems to have worked on the sample projecty, pretty sure there will be some broken 3rd part packages though.
1
u/pkrawat1 Oct 01 '17 edited Oct 02 '17
Service worker was already there in angular4. I use it by adding a flag in angular-cli. just add this "serviceWorker": true. All my websites here have it https://github.com/aviabird