Blog

Angular 9 is here

The 9.0.0 Angular version released! This is a major release that spans the entire platform, including the framework, Angular Material, and the CLI. This release switches applications to the Ivy compiler and runtime by default, and introduces improved ways of testing components. This is one of the biggest updates to Angular made in the past 3 years.

Ivy

Version 9 moves all applications to use the Ivy compiler and runtime by default. In addition to hundreds of bug fixes, the Ivy compiler and runtime offers numerous advantages:

  • Smaller bundle sizes
  • Faster testing
  • Better debugging
  • Improved CSS class and style binding
  • Improved type checking
  • Improved build errors
  • Improved build times, enabling AOT on by default
  • Improved Internationalization
  • Typescript 3.7 Support

Some of the key improvements in detail are:

Smaller bundle sizes

The Ivy compiler has been designed to remove parts of Angular that aren’t being used via tree-shaking and to generate less code for each Angular component. With new improvement app will see 25-40% smaller bundle sizes

Faster testing

With the revamped implementations it’s expected that application test speeds to be around 40–50% faster.

Better Debugging

Ivy provides you with more tools to debug your applications. When running an application in Dev Mode with the Ivy runtime, now offer the new ng object for debugging.

Improved build times, enabling AOT on by default

By measuring compiler’s performance in terms of the overhead on top of a plain TypeScript compilation of an application. Users can expect improvement up to 40%in apps.