5.3.0
angular
5.3.0
New features
-
The template compiler issues a warning if a component that does not project content has children. Previously, these nodes were created and never attached. Now the nodes are not created at all.
-
Specialized interpolation functions for Strings.
-
Optimization: Removes toString() calls of interpolated strings bound to properties.
-
The compiler now uses superclass information to determine immutability.
-
Added
Injector.provideTypeOptionalandInjector.provideTokenOptional. -
The compiler now optimizes string bindings inside
NgForloops. -
The compiler now adds type information to local variables in nested
NgForloops. -
The compiler now includes source locations to errors in annotations on class members.
-
The compiler now optimizes change detection for HTML Text nodes.
-
Disabled an optimization around pure-HTML DOM nodes wrapped in a . In practice this optimization only kicked in for a few views per application and had a high runtime cost as well as a high overhead for the framework team. We have added and expect to add additional optimizations around the size of generated views.