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
Text
node 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.enableBetterErrors
was 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 aType
orOpaqueToken
/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. -
bootstrapFactory
now injects an implementation ofSlowComponentLoader
that always throws. This is to allow a migration path for common components
that still injetSlowComponentLoader
into apps that are using the new
bootstrap. -
List<Element>
andList<HtmlElement>
for@ViewChildren
and
@ContentChildren
no 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_parser
flag. 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
throwFailure
hit 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.find
now only accepts a String. To supply a list, use
AbstractControl.findPath
instead. Also, forfind
orfindPath
,
ControlArray
index is now callingint.parse
instead of expecting a raw
number.
angular_router
2.0.0-alpha+8
Breaking changes
APP_BASE_HREF
is being renamedappBaseHref
.
angular_test
2.0.0-alpha+6
- Maintenance release, supporting newer package versions.