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
-
SafeInnerHtmlDirective
is no longer injectable. -
The following types were never intended for external use and are no longer
exported bypackage:angular/security.dart
:SafeHtmlImpl
SafeScriptImpl
SafeStyleImpl
SafeResourceUrlImpl
SafeUrlImpl
SafeValueImpl
To mark a value as safe, users should inject
DomSanitizationService
and
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. -
OpaqueToken
andMultiToken
no longer have overriddenoperator==
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 afinal
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 andString
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
, andControlContainer.control
will return aControlGroup
.
There may be some unnecessary casts that can now be cleaned up. -
FormBuilder
instance methodsgroup
,control
, andarray
have been
removed. ForFormBuilder.control
, just callnew Control(value, validator)
directly. ForFormBuilder.group
andFormBuilder.array
, use
the static methodsFormBuilder.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
toRouter.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.