Angular 9 new features
Angular 9 was released in February 2020, and it brought several new features and improvements to the framework. Here are some of the key new features in Angular 9:
- Ivy Renderer: Angular 9 introduces a new rendering engine called Ivy, which replaces the previous View Engine. Ivy provides better performance, improved error messages, and better support for web workers.
- Improved Tree Shake: Angular 9 includes improved tree shaking, which allows you to remove unused code from your application, resulting in smaller bundle sizes and faster load times.
- Better Support for Web Workers: Angular 9 provides better support for web workers, which allows you to run tasks in the background and improve the responsiveness of your application.
- Improved Debugging: Angular 9 includes improved debugging tools, such as better error messages and improved support for debugging in the browser.
- New CLI Commands: Angular 9 introduces several new CLI commands, including
ng add
,ng generate
, andng update
, which make it easier to manage your project and dependencies. - Improved Support for TypeScript 3.8: Angular 9 includes improved support for TypeScript 3.8, which provides better type checking and improved performance.
- New
@angular/cdk
Module: Angular 9 introduces a new@angular/cdk
module, which provides a set of reusable UI components and utilities for building complex user interfaces. - Improved Support for WebAssembly: Angular 9 includes improved support for WebAssembly, which allows you to compile your application to WebAssembly and run it in the browser.
- New
@angular/service-worker
Module: Angular 9 introduces a new@angular/service-worker
module, which provides a set of APIs for building service workers and improving the offline experience of your application. - Improved Support for Progressive Web Apps: Angular 9 includes improved support for Progressive Web Apps (PWAs), which allows you to build web applications that provide a native app-like experience to users.
- New
@angular/animations
Module: Angular 9 introduces a new@angular/animations
module, which provides a set of APIs for building animations and improving the user experience of your application. - Improved Support for Internationalization: Angular 9 includes improved support for internationalization (i18n), which allows you to build applications that support multiple languages and regions.
- New
@angular/localize
Module: Angular 9 introduces a new@angular/localize
module, which provides a set of APIs for building applications that support multiple languages and regions. - Improved Support for Accessibility: Angular 9 includes improved support for accessibility, which allows you to build applications that are more accessible to users with disabilities.
- New
@angular/cdk/a11y
Module: Angular 9 introduces a new@angular/cdk/a11y
module, which provides a set of APIs for building accessible user interfaces.
These are just a few of the new features and improvements in Angular 9. For a complete list of changes, you can refer to the official Angular documentation.