Showing posts with label Upgrade to Angular 9. Show all posts
Showing posts with label Upgrade to Angular 9. Show all posts

Tuesday, 11 February 2020

How to upgrade to Angular 9


Update your existing project to the new version of Angular now easily

For step-by-step instructions on how to update to the latest Angular release, use the interactive update guide at update.angular.io

If your application uses the CLI, you can update to version 9 automatically with the help of the ng update script

Steps to upgrade to Angular 9

1. Identify the existing version of angular, in my case it was Angular 8.
Angular command  $ ng version



2. Upgrade Angular CLI
Angular command $ ng update @angular/cli @angular/core --next  



         Now your Angular CLI and Angular Project is upgraded to Angular 9 successfully.. As Angular 9 is in RC period, the flag --next is required while using ng update command. This flag is not required, once final version of Angular 9 is released.The above commands will run a series of small migrations that will convert the code of your application to be compatible with version 9 as shown in above image.

Angular 9 New Features and Ivy

Angular Version 9 was released recently in beta (RC). A release candidate (RC) is a beta version with potential to be a stable product, which is ready to release unless significant bugs emerge. In this article, we shall take an overview of the new features in the version 9 changes and updates available for use now.


Type Script 3.7.x Support

 ↪  Angular 9 supports the Typescript 3.7 or above version. So, if we want to use Angular 9 for our application, then we need to first upgrade the Typescript version to 3.7 or above.


Default & New Ivy Rendering Engine
 ↪  

Smaller Bundle Size

Dependency Injection Changes in Core

Need for Faster Mobile Apps

Angular Core Type-Safe Changes

Modules with Providers Support

Changes in Angular Forms

i18n Improvements

Service Worker Updates

ML.NET: Machine Learning for .NET Developers

Machine Learning in .Net ML.NET is a free software machine learning library for the C# and F# programming languages. It also supports Pyth...