This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
3.0.0-beta
New features
composeValidators
andcomposeAsyncValidators
now part of the public API.angular2/testing.dart
includes a test-onlyisDebugMode
function.
Breaking changes
-
Removed
TitleService
. To update the title, usedart:html
:document.title = 'My title';
-
DynamicComponentLoader
now has a simplified API:loadAsRoot
,loadAsRootIntoNode
replaced by a singleload
method that
always creates the component root node instead of hoisting into an existing
node.
Bug fixes and deprecations
ngSwitchWhen
now properly compares identity in Dartium.ngSwitchCase
replacesngSwitchWhen
(soft deprecation).Component/Directive#selector
is now a@required
property.- Angular warns in the console if using Dartium without checked mode.
- Various performance improvements for both code size and runtime.
- Various Dart idiomatic/style guide updates to the codebase.
ngIf
now throws again if the bound value changes during change detection.XHR
is deprecated, along with the runtime/reflective compiler.