days
1
9
hours
0
5
minutes
5
5
seconds
2
8
search
ngMigration Assistant & ngMigration Forum to the rescue!

Upgrading from AngularJS to Angular just got easier thanks to these new tools

Gabriela Motroc
Angular
© Shutterstock / Milan Ilic Photographer

It’s one thing to upgrade your project from Angular v5 to v6, for example, but it’s another type of headache to migrate your AngularJS application to Angular. Don’t worry though, the Angular team has just unveiled two tools to make the journey as pain-free as possible.

End of the road for AngularJS, more power to Angular’s elbow

AngularJS, the predecessor of Angular, has recently entered a three-year Long Term Support period. As reported earlier this year, from now on, the Angular team will only focus on providing fixes to bugs that satisfy at least one of the following criteria:

  • A security flaw is detected in the 1.7.x branch of the framework
  • One of the major browsers releases a version that will cause current production applications using AngularJS 1.7.x to stop working
  • The jQuery library releases a version that will cause current production applications using AngularJS 1.7.x to stop working.

It is important to understand that AngularJS applications which work now “will continue to work in the future and all published versions of AngularJS, on npm, bower, CDNs, etc will continue to be available,” Pete Bacon Darwin, one of the earliest members of the Angular team,explained in a blog post published in January.

Upgrade your Angular application: It’s a breeze

When Angular v6 was released, we talked with Minko GechevShai Reznik, Radoslav Karaivanov and Konstantin Dinev about this version 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.”

Our poll results show exactly that: a lot of people migrate as soon as a new version is out, which is great news. However, upgrading from AngularJS to Angular is a bit more complicated. A bit more.

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

The Angular team is well aware of that, which is why they are now offering two new tools to help make the migration from AngularJS to Angular as pain-free as possible.

ngMigration Assistant

As Elana Olson from the Angular developer relations team explained in a recent blog post, this tool analyzes your AngularJS application and recommends a migration path. It offers stats on an app’s complexity, size and patterns and describes everything that you need to do in order to migrate to Angular.

Of course, it cannot take into account every possibility; it focuses on the most important factors such as code size/complexity.

Learn more about this tool here.

ngMigration Forum

As the name suggests, ngMigration Forum is a community hub where you can find all the necessary information to make the migration smoother. Consider this a starting place to “learn, discuss, and share information on migrating to Angular.”

The forum includes useful information about why it’s important to upgrade, the available migration paths, and more. Give it a try here and make sure to share your experiences and expertise.

Author
Gabriela Motroc
Gabriela Motroc is editor of JAXenter.com and JAX Magazine. Before working at Software & Support Media Group, she studied International Communication Management at the Hague University of Applied Sciences.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of