5.0.0-alpha+2
angular
5.0.0-alpha+2
Breaking changes
-
Replaced
Visibility.none
withVisibility.local
. The former name is
misleading, as a directive is always capable of providing itself locally for
injection via another token. -
RenderComponentType
is no longer part of the public API. -
Dropped support for
@AngularEntrypoint
and rewriting entrypoints to
automatically useinitReflector()
andbootstrapStatic
. This will no
longer be supported in the new build system so we're encouraging that manual
changes are made as of this release:
// test/a_test.dart
import 'a_test.template.dart' as ng;
void main() {
ng.initReflector();
}
// web/a_app.dart
import 'package:angular/angular.dart';
import 'a_app.template.dart' as ng;
@Component(selector: 'app', template: '')
class AppComponent {}
void main() {
bootstrapStatic(AppComponent, [/*providers*/], ng.initReflector);
}
- Use of the template annotation
@deferred
does not work out of the box
with the standard bootstrap process (bootstrap/bootstrapStatic
), only
the experimentalbootstrapFactory
. We've added a backwards compatible
compiler flag,fast_boot
, that may be changed tofalse
. We don't
expect this to impact most users.
transformers:
angular:
fast_boot: false
Bug fixes
-
Fixed a bug where errors thrown in event listeners were sometimes uncaught
by the framework and never forwarded to theExceptionHandler
. Closes
#721. -
The
$implicit
(iterable) value in*ngFor
is now properly typed whenever
possible. It was previously always typed asdynamic
, which caused dynamic
lookups/calls at runtime, and hid compilation errors. -
Fixed a bug where an
@deferred
components were still being linked to in
initReflector()
.
angular_test
2.0.0-alpha
NOTE: This was previously
1.0.2-alpha+1
, but since this has major
breaking changes that make it incompatible with the1.x.x
releases in order
to supportangular 5.x.x
, this will now be the2.0.0
alpha release.
- Add support for the use of an externally launched
pub serve
by
using "none" as the value of--experimental-serve-script
.
angular_router
2.0.0-alpha+2
- Fixed a bug where
RouterLinkDirective
was not keyboard accessible.
angular_forms
1.0.1-alpha+2
Maintenence release, to support the latest package:angular alpha.
angular_compiler
0.4.0-alpha+2
CompilerFlags
now supports as afast_boot
argument; default istrue
.ReflectorEmitter
now takes an optionaldeferredModules{Source}
.
angular_ast
0.4.0
First stable release in a while! Going forward we'll be versioning this package
normally as needed to support the AngularDart template compiler and analyzer
plugin.
New features
- Add
RecursiveTemplateAstVisitor
, which will visit all AST nodes accessible
from the given node. - Support
ngProjectAs
decorator on<ng-content>
.
Bug fixes
DesugarVisitor
now desugars AST nodes which were the (indirect) children of
EmbeddedTemplateAst
nodes.