Home Computer Hardware What’s new in Angular 11

What’s new in Angular 11

by admin
Microsoft Visual Studio gains Angular editing smarts


Development is proceeding on Angular 11, a planned upgrade to the Google-developed web framework, with five beta releases delivered in September. So far the proposed additions and changes include stricter types, router performance improvements, and the removal of support for certain Internet Explorer browser versions.

The beta releases are available in GitHub. With Angular 11, stricter types would be added for DatePipe and number pipes, in order to catch misuses, such as passing an Observable or an array, at compile time. 

Other improvements proposed for Angular 11 so far include:

  • For the Angular compiler, keySpan would be added to the Variable node.
  • The router in Angular 11 would change the default value of relativeLinkResolution from “legacy” to “corrected.” The migration updates RouterModule configurations that use the default value to now specifically use “legacy” to prevent breakages during updating.
  • For code refactoring in the router, the type of parameter in navigateByUrl and createUrlTree is being adjusted to be more accurate.
  • To improve router performance, ngDevMode can be used to tree-shake error messages.
  • For service-worker, an UnrecoverableStateError notification is being added, fixing an issue in which a broken state would arise where only parts of an application would load properly. This situation has arisen when the browser has evicted eagerly cached assets from the cache that cannot be found on the server anymore.
  • Support is removed for the Microsoft IE 9 and IE 10 browsers as is IE mobile support.
  • ISO week-numbering year formats support is being added to formatDate.
  • For the compiler-cli, interfaces are being defined that can be used for TemplateTypeChecker. Performance improvements have been made to compiler-cli, also.
  • A multitude of bug fixes are planned, including an improvement to typing of common pipes and another fix to ensure TestBed is not instantiated before the override provder.

A roadmap published for Angular, listing features either in development or eyed for the future, cites capabilities including native trusted types and strict typing for forms. The Angular 10.1 point release, with compiler and router improvements, was released on September 8. Angular 10.0, with tool and ecosystem capabilities, arrived on June 24.

Copyright © 2020 IDG Communications, Inc.



Source link

You may also like

Leave a Comment