Angular Version 12 Is Now Generally Available

Angular v12 moves the language closer to “Ivy Everywhere,” - an approach to transition the Angular ecosystem to the Ivy compiler. 

The latest version of Angular - Angular v12- is now generally available, which moves the language closer to “Ivy Everywhere,” - an approach to transition the Angular ecosystem to the Ivy compiler. 

The team said that it finally is deprecating View Engine. Current libraries using View Engine will still work with Ivy apps, but library authors should start planning to transition to Ivy.

Another transition in the latest release is the move away from legacy i18n message IDs. These legacy message IDs cause issues based on whitespace, formatting templates, and ICU expressions. The new canonical message-id format is much more resilient and intuitive.

Source: Angular

Developers can now bring the power of nullish coalescing to Angular templates in v12. Also, Angular components will now support inline Sass in the styles field of the @Component decorator. Angular CDK and Angular Material have internally adopted Sass’s new module system.

In Angular v12, running ng build now defaults to production, and Strict mode is enabled by default in the CLI. The Ivy-based Language Service has also moved from opt-in to on by default.

The release also features a production-ready version of Webpack 5 support.