Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

1.0.0-beta+3

Latest
Compare
Choose a tag to compare
@matanlurey matanlurey released this 16 Jun 22:23
· 5 commits to master since this release

1.0.0-beta+3

Breaking Changes & Deprecations

  • Throws in bootstrapping if the root component does not use default change
    detection. AngularDart does not support OnPush or other change detection
    strategies on the root component.

  • Pub serve now defaults to a random unused port (instead of 8080) and
    --port is deprecated. Going forward the supported way to supply this
    argument is via --serve-arg:

$ pub run angular_test --serve-arg=port=1234
  • Option --run-test-flag (-t) is now deprecated, and no longer has a
    default value of aot. Tags are still highly encouraged in order to have
    faster compilation times! Use --test-arg instead:
$ pub run angular_test --test-arg=--tags=aot
  • Option --platform (-p) is now Deprecated, and no longer has a default
    value of content-shell, which was not always installed on host machines.
    Instead use --test-arg:
$ pub run angular_test --test-arg=--platform=content-shell
  • Option --name (-n) and --simple-name (-N) are also deprecated. Use
    --test-arg=--name= and --test-arg=--simple-name= instead.

Features

  • Added --serve-arg and --test-arg, which both support multiple arguments
    in order to have better long-term support for proxying to both pub serve
    and pub run test without frequent changes to this package. For example to
    use the [DartDevCompiler (dartdevc)]:
$ pub run angular_test --serve-arg=web-compiler=dartdevc

Fixes

  • Fixes a bug where the root was not removed from the DOM after disposed.

  • Added a missing dependency on package:func.