5.0.0-alpha+8
angular
5.0.0-alpha+8
New features
-
Compiler can optimize field accesses to classes that are statically accessed
usingexports. -
Compiler will now set immutable
Textnode values at component build time.
For more details see #993
Breaking changes
-
Removes the old template parser completely. The new template parser was made
the default in5.0.0-alpha+5. -
InjectionError.enableBetterErrorswas removed, it is now the (only) option
and is always enabled at development time. We are still waiting for fixes
to the view compiler to complete this feature:
#434 -
Support for injecting services by an arbitrary object or literal is being
discontinued for compile-time injection. You'll receive a build exception;
fix by instead either providing by aTypeorOpaqueToken/MultiToken.
Bug fixes
-
Testability now includes ComponentState updates. Due to prior use of
animationFrame callback, testbed was not able to detect stable state. -
Misspelled or otherwise erroneous annotations on classes now produce a more
understandable error message, including the element that was annotated and
the annotation that was not resolved. -
bootstrapFactorynow injects an implementation ofSlowComponentLoader
that always throws. This is to allow a migration path for common components
that still injetSlowComponentLoaderinto apps that are using the new
bootstrap. -
List<Element>andList<HtmlElement>for@ViewChildrenand
@ContentChildrenno longer requireread: Element, and the type is
correctly inferred the same as a single child is. -
Missing a selector for a query (such as
@ViewChild) throws a better error.
angular_ast
0.4.4
- Added
MinimizeWhitespaceVisitor.
angular_compiler
0.4.0-alpha+8
Breaking changes
- Removed
use_new_template_parserflag. The old parser was removed. - Requires
source_gen >= 0.7.6. - Removed support for parsing arbitrary objects or literal values as a
provider token fromTokenReader. In a future version of the compiler
these arguments will be completely removed.
Bug Fixes
- Misspelled or otherwise erroneous annotations on classes now produce a more
understandable error message, including the element that was annotated and
the annotation that was not resolved. - Fix a bug where
throwFailurehit an NPE without a stack trace.
angular_forms
2.0.0-alpha
NOTE: This used to be 1.0.1-alpha, but has changed to be 2.0.0-alpha due
to the fact that there are breaking changes in the previous dev releases. Future
development releases are moving to 2.x.x, and a 1.0.1 will never be
released.
Breaking changes
AbstractControl.findnow only accepts a String. To supply a list, use
AbstractControl.findPathinstead. Also, forfindorfindPath,
ControlArrayindex is now callingint.parseinstead of expecting a raw
number.
angular_router
2.0.0-alpha+8
Breaking changes
APP_BASE_HREFis being renamedappBaseHref.
angular_test
2.0.0-alpha+6
- Maintenance release, supporting newer package versions.