5.0.0-alpha+7
angular
5.0.0-alpha+7
NOTE: We now require a dev SDK of >=2.0.0-dev.28.0.
Breaking changes
-
SafeInnerHtmlDirectiveis no longer injectable. -
The following types were never intended for external use and are no longer
exported bypackage:angular/security.dart:SafeHtmlImplSafeScriptImplSafeStyleImplSafeResourceUrlImplSafeUrlImplSafeValueImpl
To mark a value as safe, users should inject
DomSanitizationServiceand
invoke the correspondingbypassSecurityTrust*()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. -
OpaqueTokenandMultiTokenno longer have overriddenoperator==and
hashCodemethods/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.rootElas afinallocal 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@HostBindingor
@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
exportswhich are static reads
of the component class are immutable andStringtype. 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:
NgControlStatusRequiredValidatorMinLengthValidatorMaxLengthValidatorPatternValidator
-
Properly typed the generic parameter on subclasses of
AbstractControlDirective. Now,NgControl.controlwill return a
Control, andControlContainer.controlwill return aControlGroup.
There may be some unnecessary casts that can now be cleaned up. -
FormBuilderinstance methodsgroup,control, andarrayhave been
removed. ForFormBuilder.control, just callnew Control(value, validator)directly. ForFormBuilder.groupandFormBuilder.array, use
the static methodsFormBuilder.controlGroupand
FormBuilder.controlArray, respectively.FormBuilderis no longer
Injectable.
angular_router
2.0.0-alpha+7
Breaking changes
-
RouterOutletis no longer injectable. -
Renamed
Router.streamtoRouter.onRouteActivated.Router.streamis 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.