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

5.0.0-alpha+8

Compare
Choose a tag to compare
@matanlurey matanlurey released this 16 Mar 17:20
· 1941 commits to master since this release

angular

5.0.0-alpha+8

New features

  • Compiler can optimize field accesses to classes that are statically accessed
    using exports.

  • 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 in 5.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 a Type or OpaqueToken/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 of SlowComponentLoader
    that always throws. This is to allow a migration path for common components
    that still injet SlowComponentLoader into apps that are using the new
    bootstrap.

  • List<Element> and List<HtmlElement> for @ViewChildren and
    @ContentChildren no longer require read: 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 from TokenReader. 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, for find or findPath,
    ControlArray index is now calling int.parse instead of expecting a raw
    number.

angular_router

2.0.0-alpha+8

Breaking changes

  • APP_BASE_HREF is being renamed appBaseHref.

angular_test

2.0.0-alpha+6

  • Maintenance release, supporting newer package versions.