Angular 11 Released With Byelog Goal Complete
Written by Kay Ewbank   
Tuesday, 17 November 2020

Angular 11 has been released with updates across the platform including the framework, the CLI and components. More specifically, the new version enforces stricter types and has automatic inlining of fonts.

Angular is an open source TypeScript-based web application framework that can be used for building JavaScript apps and dynamic web pages. Following work on its development by Google, it has gained widespread support.

angular

The new stricter types have been added for the built-in datapipe and number pipe, as well as other common ones such as AsyncPipe and  I18nPluralPipe. In previous releases the types didn’t state explicitly which types are accepted; they now do.

Work has also been done to add support for the new Trusted Types API, which is part of the Web platform. The API is designed to prevent DOM-based Cross-Site Scripting (XSS) attacks. In the new Angular release, there’s a special Trusted Types policy that is available and enabled during development, allowing arbitrary and unsafe conversions to Trusted Types.

Angular 11 is faster, particularly for the Angular compatibility compiler, NGCC, which is now two to four times faster. The new release also supports TypeScript 4.0, and this also brings faster compilation times.

Automatic font inlining has also been introduced, and the Angular CLI will now download and inline the fonts that are either used or linked to by the application.

Reporting and logging is another area that has received attention, and the developers say the CLI output now includes much more user-friendly and readable information.

Hot Module Replacement (HMR) support has been added to the Angular CLI. The team says that HMR is a feature that has been supported by Webpack for a long time, and once enabled, changes to components, templates, and styles are immediately applied to the running application, without requiring a full page refresh. Experimental support has also been added for Webpack 5, providing improved build performance with persistent caching among as well as improved long term caching. 

angular

More Information

Angular Site

Related Articles

Angular 8 Adds Default Differential Loading  

Angular Jumps To Version 4  

Angular 2.0.0 Launched 

AngularJS 2.0 Is Radically Different

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Can C++ Be As Safe As Rust?
10/04/2024

Herb Sutter is a well known and respected C++ champion and he thinks that the language only needs a few tweaks to make it as safe as Rust. Can this be true?



Microsoft Introduces .NET Smart Components
01/04/2024

Microsoft has provided a set of .NET Smart Components, described as a set of genuinely useful AI-powered UI components that you can quickly and easily add to .NET apps. The components are prebuilt end [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info