v3.0.0-alpha+1
3.0.0-alpha+1
New features
-
We now use the formal
<T>generic type syntax for methods, not/*<T>*/. -
Re-enabled
strong-modeanalysis within the project, and fixed some errors.
Breaking changes
-
Removed
viewBindingsfromComponent. This has been interchangeable with
viewProvidersfor a while now.BEFORE:
dart @Component(viewBindings: const [])AFTER:
dart @Component(viewProviders: const []) -
Removed
EventManagerfrom the public API. Code generation is now closer to
document.addEventListenerand having this interception layer would not
allow further optimizations. -
Removed
IterableDifferFactoryandKeyValueDifferFactoryfrom the public
API. We have planned compiler optimizations that will no longer allow
overriding our diffing implementations. Looking into alternatives before a
final3.0.0release that are lower cost. -
ASYNC_VALIDATORScan no longer return aStreaminstance, onlyFuture. -
The experimental
NgTestBedwas removed. Usepackage:angular_testnow. -
By default, the
ExceptionHandleris aBrowserExceptionHandler, which
prints exceptions to the console. If you don't want this behavior (i.e.
releasing to production), make sure to override it.
Bug fixes
- When setting up a new
NgControl,valueAccessorno longer can throw an NPE