Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

5.0.0-alpha+2

Compare
Choose a tag to compare
@alorenzen alorenzen released this 19 Dec 01:40
· 2312 commits to master since this release

angular

5.0.0-alpha+2

Breaking changes

  • Replaced Visibility.none with Visibility.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 use initReflector() and bootstrapStatic. 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 experimental bootstrapFactory. We've added a backwards compatible
    compiler flag, fast_boot, that may be changed to false. 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 the ExceptionHandler. Closes
    #721.

  • The $implicit (iterable) value in *ngFor is now properly typed whenever
    possible. It was previously always typed as dynamic, 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 the 1.x.x releases in order
to support angular 5.x.x, this will now be the 2.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 a fast_boot argument; default is true.
  • ReflectorEmitter now takes an optional deferredModules{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.