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

5.0.0-alpha+7

Compare
Choose a tag to compare
@matanlurey matanlurey released this 07 Mar 21:17
· 1989 commits to master since this release

angular

5.0.0-alpha+7

NOTE: We now require a dev SDK of >=2.0.0-dev.28.0.

Breaking changes

  • SafeInnerHtmlDirective is no longer injectable.

  • The following types were never intended for external use and are no longer
    exported by package:angular/security.dart:

    • SafeHtmlImpl
    • SafeScriptImpl
    • SafeStyleImpl
    • SafeResourceUrlImpl
    • SafeUrlImpl
    • SafeValueImpl

    To mark a value as safe, users should inject DomSanitizationService and
    invoke the corresponding bypassSecurityTrust*() method, instead of
    constructing these types directly.

  • Private types can't be used in template collection literals bound to an
    input. This is a consequence of fixing a cast warning that is soon to be an
    error caused by the code generated for change detecting collection literals
    in templates. See #844 for more
    information.

  • OpaqueToken and MultiToken no longer have overridden operator== and
    hashCode methods/fields. This wasn't supported, in practice, in most of
    the DI systems, but any custom use of this class may have relied on this.

Bug fixes

  • The view compiler hoists this.rootEl as a final local variable to help
    Dart2JS know that its type stays the same and that repeated accesses to the
    class instance variable is not needed. This should help remove interceptors
    and reduce code-size a bit, especially for users of @HostBinding or
    @HostListener (#450).

  • Fixed a cast warning caused by untyped code generated for change detecting
    collection literals in templates.

  • The view compiler is now able to tell when exports which are static reads
    of the component class are immutable and String type. This allows us to
    optimize them when they are used in template bindings. See
    #995 for more information.

angular_ast

0.4.3+1

  • Maintenance release, supporting newer package versions.

angular_compiler

0.4.0-alpha+7

  • Maintenance release.

angular_forms

1.0.1-alpha+7

Breaking changes

  • The following directives are no longer injectable:

    • NgControlStatus
    • RequiredValidator
    • MinLengthValidator
    • MaxLengthValidator
    • PatternValidator
  • Properly typed the generic parameter on subclasses of
    AbstractControlDirective. Now, NgControl.control will return a
    Control, and ControlContainer.control will return a ControlGroup.
    There may be some unnecessary casts that can now be cleaned up.

  • FormBuilder instance methods group, control, and array have been
    removed. For FormBuilder.control, just call new Control(value, validator) directly. For FormBuilder.group and FormBuilder.array, use
    the static methods FormBuilder.controlGroup and
    FormBuilder.controlArray, respectively. FormBuilder is no longer
    Injectable.

angular_router

2.0.0-alpha+7

Breaking changes

  • RouterOutlet is no longer injectable.

  • Renamed Router.stream to Router.onRouteActivated. Router.stream is now
    deprecated and will be removed after next release.

Bug fixes

  • RouterPath.toUrl() no longer generates an incorrect URL with an extra '/'
    when a parent route has an empty path.

angular_test

2.0.0-alpha+5

  • Maintenance release, supporting newer package versions.