Upgrading angular 6 to 7
Unknown6.0.1 → 7.0.2
UnknownUpgrade verdict
None of the 3 releases in this range publish notes, so breaking changes can't be ruled out.
In plain terms
- Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
Dart SDK requirement changed in 7.0.0: >=2.8.4 <3.0.0 → >=2.14.0 <3.0.0.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
class ComponentState: abstract - removed:
class GetTestability: abstract - removed:
class NgZoneError - removed:
class PipeTransform: abstract - removed:
class SimpleChange - removed:
class SlowComponentLoader - removed:
ctor NgZoneError(this.error, this.stackTrace) - removed:
ctor SimpleChange(this.previousValue, this.currentValue) - removed:
ctor SlowComponentLoader(this._loader) - removed:
field NgZoneError.error: final - removed:
field NgZoneError.stackTrace: final List<Object> - removed:
field SimpleChange.currentValue: dynamic - removed:
field SimpleChange.previousValue: dynamic - removed:
function disableDebugTools(): void - removed:
function enableDebugTools(ComponentRef<Object> ref): void - removed:
function internalSetStateChanged( ComponentState component, void Function() onStateChanged, ): void - removed:
get NgZone.onError: Stream<NgZoneError> - removed:
get TemplateRef.elementRef: ElementRef - removed:
method ApplicationRef.Function(): List<void - removed:
method ChangeDetectorRef.detach(): void - removed:
method ChangeDetectorRef.detectChanges(): void - removed:
method ChangeDetectorRef.reattach(): void - removed:
method ComponentState.Function(): void - removed:
method ComponentState.deliverStateChanges(): void - removed:
method ComponentState.setState(void Function() scheduleChangeDetectionAfter): void - removed:
method GetTestability.addToWindow(TestabilityRegistry registry): void - removed:
method GetTestability.findTestabilityInTree( TestabilityRegistry registry, Element element): Testability - removed:
method SlowComponentLoader.load<T>(Type type, Injector injector): Future<ComponentRef<T>> - removed:
method SlowComponentLoader.loadNextToLocation<T>( Type type, ViewContainerRef location, [ Injector injector, ]): Future<ComponentRef<T>> - removed:
method Testability.decreasePendingRequestCount(): num - removed:
method Testability.getPendingRequestCount(): num - removed:
method Testability.increasePendingRequestCount(): num - removed:
method Testability.isStable(): bool - removed:
method TestabilityRegistry.getAllRootElements(): List<dynamic> - removed:
method TestabilityRegistry.getAllTestabilities(): List<Testability> - removed:
method TestabilityRegistry.getTestability(Element element): Testability - removed:
method TestabilityRegistry.setTestabilityGetter(GetTestability getter): void - removed:
static method ExceptionHandler.debugAsyncStackTraces([bool enabled = …]): void - removed:
static method NgZone.assertInAngularZone(): void - removed:
static method NgZone.assertNotInAngularZone(): void - removed:
static method NgZone.isInAngularZone(): bool - removed:
variable COMMON_DIRECTIVES: const - removed:
variable CORE_DIRECTIVES: const List<Type> - changed:
class AsyncPipe implements OnDestroy, PipeTransform → class AsyncPipe implements OnDestroy - changed:
class ComponentFactory<T> → class ComponentFactory<T extends Object> - changed:
class CurrencyPipe extends _NumberPipe implements PipeTransform → class CurrencyPipe extends _NumberPipe - changed:
class DatePipe implements PipeTransform → class DatePipe - changed:
class DecimalPipe extends _NumberPipe implements PipeTransform → class DecimalPipe extends _NumberPipe - changed:
class Injector: abstract implements HierarchicalInjector → class Injector: abstract - changed:
class LowerCasePipe implements PipeTransform → class LowerCasePipe - changed:
class PercentPipe extends _NumberPipe implements PipeTransform → class PercentPipe extends _NumberPipe - changed:
class ReplacePipe implements PipeTransform → class ReplacePipe - changed:
class SlicePipe implements PipeTransform → class SlicePipe - changed:
class UpperCasePipe implements PipeTransform → class UpperCasePipe - changed:
ctor ExceptionHandler(this._logger) → ctor ExceptionHandler() - changed:
ctor Injector.empty([HierarchicalInjector parent]) → ctor Injector.empty() - changed:
ctor Injector.map( Map<Object, Object> providers, [ HierarchicalInjector parent, ]) → ctor Injector.map( Map<Object, Object> providers, [ Injector parent, ]) - changed:
ctor NgSwitchWhen(ViewContainerRef viewContainer, TemplateRef templateRef, @Host() NgSwitch ngSwitch) → ctor NgSwitchWhen( ViewContainerRef viewContainer, TemplateRef templateRef, @Host() this._switch, ) - changed:
function bootstrapStatic<T>( Type componentType, [ List<Object> providers = …, void Function() initReflector, ]): Future<ComponentRef<T>> → function bootstrapStatic<T extends Object>( Type componentType, [ List<Object> providers = …, void Function()? initReflector, ]): Future<ComponentRef<T>> - changed:
function runApp<T>( ComponentFactory<T> componentFactory, { InjectorFactory createInjector = …, }): ComponentRef<T> → function runApp<T extends Object>( ComponentFactory<T> componentFactory, { InjectorFactory createInjector = …, }): ComponentRef<T> - changed:
function runAppAsync<T>( ComponentFactory<T> componentFactory, { @required Future<void> Function(Injector) beforeComponentCreated, InjectorFactory createInjector = …, }): Future<ComponentRef<T>> → function runAppAsync<T extends Object>( ComponentFactory<T> componentFactory, { required Future<void> Function(Injector) beforeComponentCreated, InjectorFactory createInjector = …, }): Future<ComponentRef<T>> - changed:
function runAppLegacy<T>( Type componentType, { List<Object> createInjectorFromProviders = …, void Function() initReflector, }): ComponentRef<T> → function runAppLegacy<T extends Object>( Type componentType, { List<Object> createInjectorFromProviders = …, void Function()? initReflector, }): ComponentRef<T> - changed:
function runAppLegacyAsync<T>( Type componentType, { @required Future<void> Function(Injector) beforeComponentCreated, List<Object> createInjectorFromProviders = …, void Function() initReflector, }): Future<ComponentRef<T>> → function runAppLegacyAsync<T extends Object>( Type componentType, { required Future<void> Function(Injector) beforeComponentCreated, List<Object> createInjectorFromProviders = …, void Function()? initReflector, }): Future<ComponentRef<T>> - changed:
method ApplicationRef.bootstrap<T>(ComponentFactory<T> componentFactory): ComponentRef<T> → method ApplicationRef.bootstrap<T extends Object>( ComponentFactory<T> componentFactory, ): ComponentRef<T> - changed:
method ApplicationRef.handleUncaughtException( Object error, [ StackTrace trace, String reason, ]): void → method ApplicationRef.handleUncaughtException( Object error, [ StackTrace? trace, String? reason, ]): void - changed:
method ComponentFactory.create( Injector injector, [ List<List<Object>> projectableNodes, ]): ComponentRef<T> → method ComponentFactory.create( Injector injector, [ List<List<Object>>? projectableNodes, ]): ComponentRef<T> - changed:
method ComponentLoader.loadDetached<T>( ComponentFactory<T> component, { Injector injector, }): ComponentRef<T> → method ComponentLoader.loadDetached<T extends Object>( ComponentFactory<T> component, { Injector? injector, }): ComponentRef<T> - changed:
method ComponentLoader.loadNextTo<T>( ComponentFactory<T> component, { Injector injector, }): ComponentRef<T> → method ComponentLoader.loadNextTo<T extends Object>( ComponentFactory<T> component, { Injector? injector, }): ComponentRef<T> - changed:
method ComponentLoader.loadNextToLocation<T>( ComponentFactory<T> component, ViewContainerRef location, { Injector injector, }): ComponentRef<T> → method ComponentLoader.loadNextToLocation<T extends Object>( ComponentFactory<T> component, ViewContainerRef location, { Injector? injector, }): ComponentRef<T> - changed:
method CurrencyPipe.transform( num value, [ String currencyCode = …, bool symbolDisplay = …, String digits, ]): String → method CurrencyPipe.transform( num? value, [ String currencyCode = …, bool symbolDisplay = …, String? digits, ]): String? - changed:
method DatePipe.transform(dynamic value, [String pattern = …]): String → method DatePipe.transform(dynamic value, [String pattern = …]): String? - changed:
method DecimalPipe.transform(num value, [String digits]): String → method DecimalPipe.transform(num? value, [String? digits]): String? - changed:
method EmbeddedViewRef.setLocal(String name, dynamic value): void → method EmbeddedViewRef.setLocal(String name, Object? value): void - changed:
method ExceptionHandler.call(exception, [stackTrace, String reason]): void → method ExceptionHandler.call( Object exception, [ Object? stackTrace, @Deprecated('No longer supported. Remove this argument.') String? reason, ]): void - changed:
method LowerCasePipe.transform(String value): String → method LowerCasePipe.transform(String? value): String? - changed:
method PercentPipe.transform(num value, [String digits]): String → method PercentPipe.transform(num? value, [String? digits]): String? - changed:
method ReflectiveInjector.resolveAndInstantiate(dynamic providerOrType): dynamic → method ReflectiveInjector.resolveAndInstantiate(Object providerOrType): dynamic - changed:
method SlicePipe.transform(dynamic value, int start, [int end]): dynamic → method SlicePipe.transform(dynamic value, int start, [int? end]): dynamic - changed:
method Testability.whenStable(Function callback): void → method Testability.whenStable(void Function(bool didAsyncWork) callback): void - changed:
method TestabilityRegistry.findTestabilityInTree(Element element): Testability → method TestabilityRegistry.findTestabilityInTree(Element? tree): Testability? - changed:
method TestabilityRegistry.registerApplication(Element token, Testability testability): void → method TestabilityRegistry.registerApplication(Element appRoot, Testability testability): void - changed:
method UpperCasePipe.transform(String value): String → method UpperCasePipe.transform(String? value): String? - changed:
method ViewContainerRef.createComponent<T>( ComponentFactory<T> componentFactory, [ int index = …, Injector injector, List<List<dynamic>> projectableNodes, ]): ComponentRef<T> → method ViewContainerRef.createComponent<T extends Object>( ComponentFactory<T> componentFactory, [ int index = …, Injector? injector, List<List<Object>>? projectableNodes, ]): ComponentRef<T> - changed:
method ViewContainerRef.insertEmbeddedView(TemplateRef templateRef, int index): EmbeddedViewRef → method ViewContainerRef.insertEmbeddedView(TemplateRef templateRef, [int index = …]): EmbeddedViewRef - changed:
method ViewContainerRef.move(ViewRef viewRef, int currentIndex): ViewRef → method ViewContainerRef.move(ViewRef viewRef, [int index = …]): void - changed:
set NgClass.initialClasses(String v) → set NgClass.initialClasses(String? v) - changed:
set NgClass.rawClass( dynamic v) → set NgClass.rawClass(Object? stringOrIterableOrMap) - changed:
set NgFor.ngForOf(Iterable<Object> value) → set NgFor.ngForOf(Iterable<Object?>? value) - changed:
set NgFor.ngForTemplate(TemplateRef value) → set NgFor.ngForTemplate(TemplateRef? value) - changed:
set NgFor.ngForTrackBy(TrackByFn value) → set NgFor.ngForTrackBy(TrackByFn? value) - changed:
set NgStyle.rawStyle(Map<String, String> v) → set NgStyle.rawStyle(Map<String, String?>? v) - changed:
set NgTemplateOutlet.ngTemplateOutlet(TemplateRef templateRef) → set NgTemplateOutlet.ngTemplateOutlet(TemplateRef? templateRef) - changed:
set NgTemplateOutlet.ngTemplateOutletContext(Map<String, Object> context) → set NgTemplateOutlet.ngTemplateOutletContext(Map<String, Object?> context) - changed:
set NgTemplateOutlet.ngTemplateOutletValue(Object value) → set NgTemplateOutlet.ngTemplateOutletValue(Object? value) - changed:
static method ExceptionHandler.exceptionToString( exception, [ stackTrace, String reason, ]): String → static method ExceptionHandler.exceptionToString( Object exception, [ Object? stackTrace, @Deprecated('No longer supported. Remove this argument.') String? reason, ]): String - changed:
static method ReflectiveInjector.resolveAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector → static method ReflectiveInjector.resolveAndCreate( List<Object> providersOrLists, [ Injector? parent, ]): ReflectiveInjector - changed:
static method ReflectiveInjector.resolveStaticAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector → static method ReflectiveInjector.resolveStaticAndCreate( List<Object> providersOrLists, [ Injector? parent, ]): ReflectiveInjector - changed:
typedef InjectorFactory = Injector Function([Injector parent]) → typedef InjectorFactory = Injector Function(Injector parent) - changed:
typedef TrackByFn = Object Function(int index, dynamic item) → typedef TrackByFn = Object? Function(int index, dynamic item) - added:
class AfterChanges: abstract - added:
class AfterContentChecked: abstract - added:
class AfterContentInit: abstract - added:
class AfterViewChecked: abstract - added:
class AfterViewInit: abstract - added:
class Attribute - added:
class ChangeDetectionStrategy - added:
class ChangeDetectorState - added:
class ClassProvider<T extends Object> extends Provider<T> - added:
class Component extends Directive - added:
class ContentChild extends _Query - added:
class ContentChildren extends _Query - added:
class Directive - added:
class DoCheck: abstract - added:
class ExistingProvider<T extends Object> extends Provider<T> - added:
class FactoryProvider<T extends Object> extends Provider<T> - added:
class GenerateInjector - added:
class Host - added:
class HostBinding - added:
class HostListener - added:
class Inject - added:
class Injectable - added:
class Input - added:
class Module - added:
class MultiToken<T extends Object> extends OpaqueToken<List<T>> - added:
class NgContentRef - added:
class OnDestroy: abstract - added:
class OnInit: abstract - added:
class OpaqueToken<T extends Object> - added:
class Optional - added:
class Output - added:
class Pipe - added:
class Provider<T extends Object> - added:
class Self - added:
class SkipSelf - added:
class Typed<T extends Object> - added:
class UncaughtError - added:
class ValueProvider<T extends Object> extends Provider<T> - added:
class ViewChild extends _ViewQuery - added:
class ViewChildren extends _ViewQuery - added:
ctor Attribute(this.attributeName) - added:
ctor ClassProvider( Type type, { Type useClass, }) - added:
ctor ClassProvider.forToken( OpaqueToken<T> token, { Type useClass, }) - added:
ctor Component({ required String selector, String? exportAs, List<Object> providers = …, Visibility visibility = …, this.viewProviders = …, this.exports = …, this.changeDetection = …, this.templateUrl, this.template, this.preserveWhitespace = …, this.styleUrls = …, this.styles = …, this.directives = …, this.directiveTypes = …, this.pipes = …, this.encapsulation = …, }) - added:
ctor ContentChild( Object selector, { Object? read, }) - added:
ctor ContentChildren( Object selector, { bool descendants = …, Object? read, }) - added:
ctor Directive({ required this.selector, this.providers = …, this.exportAs, this.visibility = …, }) - added:
ctor ExistingProvider( Type type, Object useExisting, ) - added:
ctor ExistingProvider.forToken( OpaqueToken<T> token, Object useExisting, ) - added:
ctor FactoryProvider( Type type, Function useFactory, { List<Object>? deps, }) - added:
ctor FactoryProvider.forToken( OpaqueToken<T> token, Function useFactory, { List<Object>? deps, }) - added:
ctor GenerateInjector(this._providersOrModules) - added:
ctor GenerateInjector.fromModules( List<Module> modules, ) - added:
ctor Host() - added:
ctor HostBinding([this.hostPropertyName]) - added:
ctor HostListener(this.eventName, [this.args]) - added:
ctor Inject(this.token) - added:
ctor Injectable() - added:
ctor Input([this.bindingPropertyName]) - added:
ctor Module({ List<Module> include, List<Provider<Object>> provide, }) - added:
ctor MultiToken([String uniqueName = …]) - added:
ctor NgContentRef(this._renderView, this._index) - added:
ctor OpaqueToken([this._uniqueName = …]) - added:
ctor Optional() - added:
ctor Output([this.bindingPropertyName]) - added:
ctor Pipe(this.name, {this.pure = …}) - added:
ctor Provider( Object token, { Type? useClass, Object useValue, Object? useExisting, Function? useFactory, List<Object>? deps, }) - added:
ctor Self() - added:
ctor SkipSelf() - added:
ctor Typed({ this.on, }) - added:
ctor Typed.of( List<Object> typeArguments, { this.on, }) - added:
ctor UncaughtError(this.error, this.stackTrace) - added:
ctor ValueProvider( Type type, T useValue, ) - added:
ctor ValueProvider.forToken( OpaqueToken<T> token, T useValue, ) - added:
ctor ViewChild( Object selector, { Object? read, }) - added:
ctor ViewChildren( Object selector, { Object? read, }) - added:
enum ViewEncapsulation - added:
enum Visibility - added:
extension DeprecatedChangeDetectorRef on ChangeDetectorRef - added:
extension DeprecatedDetectChanges on ChangeDetectorRef - added:
field Attribute.attributeName: final String - added:
field Component.changeDetection: final int - added:
field Component.directiveTypes: final List<Typed<Object>> - added:
field Component.directives: final List<Object> - added:
field Component.encapsulation: final ViewEncapsulation - added:
field Component.exports: final List<Object?> - added:
field Component.pipes: final List<Object> - added:
field Component.preserveWhitespace: final bool - added:
field Component.styleUrls: final List<String> - added:
field Component.styles: final List<String> - added:
field Component.template: final String? - added:
field Component.templateUrl: final String? - added:
field Component.viewProviders: final List<Object> - added:
field Directive.exportAs: final String? - added:
field Directive.providers: final List<Object> - added:
field Directive.selector: final String - added:
field Directive.visibility: final Visibility - added:
field HostBinding.hostPropertyName: final String? - added:
field HostListener.args: final List<String>? - added:
field HostListener.eventName: final String - added:
field Inject.token: final Object - added:
field Input.bindingPropertyName: final String? - added:
field Module.include: final List<Module> - added:
field Module.provide: final List<Provider<Object>> - added:
field Output.bindingPropertyName: final String? - added:
field Pipe.name: final String - added:
field Pipe.pure: final bool - added:
field Provider.deps: final List<Object>? - added:
field Provider.token: final Object - added:
field Provider.useClass: final Type? - added:
field Provider.useExisting: final Object? - added:
field Provider.useFactory: final Function? - added:
field Provider.useValue: final Object - added:
field Typed.on: final String? - added:
field Typed.typeArguments: final List<Object>? - added:
field UncaughtError.error: final Object - added:
field UncaughtError.stackTrace: final StackTrace - added:
function enableDevTools(): void - added:
function provide<T extends Object>( Object token, { Type? useClass, Object useValue = …, Object? useExisting, Function? useFactory, List<Object>? deps, }): Provider<T> - added:
function registerContentRoot(html.Element element): void - added:
get NgContentRef.hasContent: bool - added:
get NgZone.onUncaughtError: Stream<UncaughtError> - added:
get Testability.isStable: bool - added:
get TestabilityRegistry.allTestabilities: Iterable<Testability> - added:
member ViewEncapsulation.Emulated - added:
member ViewEncapsulation.None - added:
member Visibility.all - added:
member Visibility.local - added:
method AfterChanges.ngAfterChanges(): void - added:
method AfterContentChecked.ngAfterContentChecked(): void - added:
method AfterContentInit.ngAfterContentInit(): void - added:
method AfterViewChecked.ngAfterViewChecked(): void - added:
method AfterViewInit.ngAfterViewInit(): void - added:
method ChangeDetectorRef.detachDeprecated(): void - added:
method ChangeDetectorRef.detectChangesDeprecated(): void - added:
method ChangeDetectorRef.reattachDeprecated(): void - added:
method DeprecatedChangeDetectorRef.detach(): void - added:
method DeprecatedChangeDetectorRef.reattach(): void - added:
method DeprecatedDetectChanges.detectChanges(): void - added:
method DoCheck.ngDoCheck(): void - added:
method Inject.toString(): String - added:
method Injector.get( Object token, [ Object? notFoundValue = …, ]): dynamic - added:
method Injector.injectFromAncestry<T>(Object token): T - added:
method Injector.injectFromAncestryOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.injectFromParent<T>(Object token): T - added:
method Injector.injectFromParentOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.injectFromSelf<T>(Object token): T - added:
method Injector.injectFromSelfOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.provideToken<T extends Object>(OpaqueToken<T> token): T - added:
method Injector.provideTokenOptional<T extends Object>(OpaqueToken<T> token): T? - added:
method Injector.provideType<T extends Object>(Type token): T - added:
method Injector.provideTypeOptional<T extends Object>(Type token): T? - added:
method Injector.provideUntyped<T>( Object token, [ Object? orElse = …, ]): T - added:
method MultiToken.toString(): String - added:
method OnDestroy.ngOnDestroy(): void - added:
method OnInit.ngOnInit(): void - added:
method OpaqueToken.toString(): String - added:
method Testability.Function(bool didAsyncWork): List<void - added:
method TestabilityRegistry.initializeEagerly(): void - added:
method TestabilityRegistry.testabilityFor(Element appRoot): Testability? - added:
static field ChangeDetectionStrategy.CheckAlways: const - added:
static field ChangeDetectionStrategy.CheckOnce: const - added:
static field ChangeDetectionStrategy.Checked: const - added:
static field ChangeDetectionStrategy.Default: const - added:
static field ChangeDetectionStrategy.Detached: const - added:
static field ChangeDetectionStrategy.OnPush: const - added:
static field ChangeDetectorState.CheckedBefore: const int - added:
static field ChangeDetectorState.Errored: const int - added:
static field ChangeDetectorState.NeverChecked: const int - added:
static method ChangeDetectionStrategy.toPrettyString(int strategy): String - added:
variable noValueProvided: const Object - added:
variable visibleForTemplate: const
- removed:
class ChangeDetectorRef: abstract - removed:
class ComponentState: abstract - removed:
class ExceptionHandler - removed:
class InjectionError: abstract extends AssertionError - removed:
class Injector: abstract implements HierarchicalInjector - removed:
class NgZone - removed:
class NgZoneError - removed:
class NoProviderError extends InjectionError - removed:
class PipeTransform: abstract - removed:
class ReflectiveInjector: abstract implements Injector - removed:
class SimpleChange - removed:
ctor ExceptionHandler(this._logger) - removed:
ctor Injector() - removed:
ctor Injector.empty([HierarchicalInjector parent]) - removed:
ctor Injector.map( Map<Object, Object> providers, [ HierarchicalInjector parent, ]) - removed:
ctor NgZone() - removed:
ctor NgZoneError(this.error, this.stackTrace) - removed:
ctor SimpleChange(this.previousValue, this.currentValue) - removed:
field NgZoneError.error: final - removed:
field NgZoneError.stackTrace: final List<Object> - removed:
field NoProviderError.path: final List<Object> - removed:
field NoProviderError.token: final Object - removed:
field SimpleChange.currentValue: dynamic - removed:
field SimpleChange.previousValue: dynamic - removed:
function internalSetStateChanged( ComponentState component, void Function() onStateChanged, ): void - removed:
get NgZone.hasPendingMacrotasks: bool - removed:
get NgZone.hasPendingMicrotasks: bool - removed:
get NgZone.inInnerZone: bool - removed:
get NgZone.inOuterZone: bool - removed:
get NgZone.isRunning: bool - removed:
get NgZone.onError: Stream<NgZoneError> - removed:
get NgZone.onEventDone: Stream<void> - removed:
get NgZone.onMicrotaskEmpty: Stream<void> - removed:
get NgZone.onTurnDone: Stream<void> - removed:
get NgZone.onTurnStart: Stream<void> - removed:
method ChangeDetectorRef.detach(): void - removed:
method ChangeDetectorRef.detectChanges(): void - removed:
method ChangeDetectorRef.markChildForCheck(Object child): void - removed:
method ChangeDetectorRef.markForCheck(): void - removed:
method ChangeDetectorRef.reattach(): void - removed:
method ComponentState.Function(): void - removed:
method ComponentState.deliverStateChanges(): void - removed:
method ComponentState.setState(void Function() scheduleChangeDetectionAfter): void - removed:
method ExceptionHandler.call(exception, [stackTrace, String reason]): void - removed:
method NgZone.dispose(): void - removed:
method NgZone.run<R>(R Function() callback): R - removed:
method NgZone.runAfterChangesObserved(void Function() callback): void - removed:
method NgZone.runGuarded(void Function() callback): void - removed:
method NgZone.runOutsideAngular<R>(R Function() callback): R - removed:
method NoProviderError.toString(): String - removed:
method ReflectiveInjector.resolveAndCreateChild(List<Object> providersOrLists): ReflectiveInjector - removed:
method ReflectiveInjector.resolveAndInstantiate(dynamic providerOrType): dynamic - removed:
static method ExceptionHandler.debugAsyncStackTraces([bool enabled = …]): void - removed:
static method ExceptionHandler.exceptionToString( exception, [ stackTrace, String reason, ]): String - removed:
static method NgZone.assertInAngularZone(): void - removed:
static method NgZone.assertNotInAngularZone(): void - removed:
static method NgZone.isInAngularZone(): bool - removed:
static method ReflectiveInjector.resolveAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector - removed:
static method ReflectiveInjector.resolveStaticAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector - removed:
typedef InjectorFactory = Injector Function([Injector parent]) - removed:
typedef TrackByFn = Object Function(int index, dynamic item) - removed:
variable APP_ID: const
- removed:
class InjectionError: abstract extends AssertionError - removed:
class NgZone - removed:
class NgZoneError - removed:
class NoProviderError extends InjectionError - removed:
class PipeTransform: abstract - removed:
ctor NgZone() - removed:
ctor NgZoneError(this.error, this.stackTrace) - removed:
field NgZoneError.error: final - removed:
field NgZoneError.stackTrace: final List<Object> - removed:
field NoProviderError.path: final List<Object> - removed:
field NoProviderError.token: final Object - removed:
get NgZone.hasPendingMacrotasks: bool - removed:
get NgZone.hasPendingMicrotasks: bool - removed:
get NgZone.inInnerZone: bool - removed:
get NgZone.inOuterZone: bool - removed:
get NgZone.isRunning: bool - removed:
get NgZone.onError: Stream<NgZoneError> - removed:
get NgZone.onEventDone: Stream<void> - removed:
get NgZone.onMicrotaskEmpty: Stream<void> - removed:
get NgZone.onTurnDone: Stream<void> - removed:
get NgZone.onTurnStart: Stream<void> - removed:
method NgZone.dispose(): void - removed:
method NgZone.run<R>(R Function() callback): R - removed:
method NgZone.runAfterChangesObserved(void Function() callback): void - removed:
method NgZone.runGuarded(void Function() callback): void - removed:
method NgZone.runOutsideAngular<R>(R Function() callback): R - removed:
method NoProviderError.toString(): String - removed:
static method NgZone.assertInAngularZone(): void - removed:
static method NgZone.assertNotInAngularZone(): void - removed:
static method NgZone.isInAngularZone(): bool - changed:
class Injector: abstract implements HierarchicalInjector → class Injector: abstract - changed:
ctor Injector.empty([HierarchicalInjector parent]) → ctor Injector.empty() - changed:
ctor Injector.map( Map<Object, Object> providers, [ HierarchicalInjector parent, ]) → ctor Injector.map( Map<Object, Object> providers, [ Injector parent, ]) - changed:
method ReflectiveInjector.resolveAndInstantiate(dynamic providerOrType): dynamic → method ReflectiveInjector.resolveAndInstantiate(Object providerOrType): dynamic - changed:
static method ReflectiveInjector.resolveAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector → static method ReflectiveInjector.resolveAndCreate( List<Object> providersOrLists, [ Injector? parent, ]): ReflectiveInjector - changed:
static method ReflectiveInjector.resolveStaticAndCreate( List<Object> providersOrLists, [ Injector parent = …, ]): ReflectiveInjector → static method ReflectiveInjector.resolveStaticAndCreate( List<Object> providersOrLists, [ Injector? parent, ]): ReflectiveInjector - changed:
typedef InjectorFactory = Injector Function([Injector parent]) → typedef InjectorFactory = Injector Function(Injector parent) - added:
class ClassProvider<T extends Object> extends Provider<T> - added:
class Component extends Directive - added:
class Directive - added:
class ExistingProvider<T extends Object> extends Provider<T> - added:
class FactoryProvider<T extends Object> extends Provider<T> - added:
class GenerateInjector - added:
class Host - added:
class Inject - added:
class Injectable - added:
class Input - added:
class Module - added:
class MultiToken<T extends Object> extends OpaqueToken<List<T>> - added:
class OpaqueToken<T extends Object> - added:
class Optional - added:
class Output - added:
class Pipe - added:
class Provider<T extends Object> - added:
class Self - added:
class SkipSelf - added:
class ValueProvider<T extends Object> extends Provider<T> - added:
ctor ClassProvider( Type type, { Type useClass, }) - added:
ctor ClassProvider.forToken( OpaqueToken<T> token, { Type useClass, }) - added:
ctor Component({ required String selector, String? exportAs, List<Object> providers = …, Visibility visibility = …, this.viewProviders = …, this.exports = …, this.changeDetection = …, this.templateUrl, this.template, this.preserveWhitespace = …, this.styleUrls = …, this.styles = …, this.directives = …, this.directiveTypes = …, this.pipes = …, this.encapsulation = …, }) - added:
ctor Directive({ required this.selector, this.providers = …, this.exportAs, this.visibility = …, }) - added:
ctor ExistingProvider( Type type, Object useExisting, ) - added:
ctor ExistingProvider.forToken( OpaqueToken<T> token, Object useExisting, ) - added:
ctor FactoryProvider( Type type, Function useFactory, { List<Object>? deps, }) - added:
ctor FactoryProvider.forToken( OpaqueToken<T> token, Function useFactory, { List<Object>? deps, }) - added:
ctor GenerateInjector(this._providersOrModules) - added:
ctor GenerateInjector.fromModules( List<Module> modules, ) - added:
ctor Host() - added:
ctor Inject(this.token) - added:
ctor Injectable() - added:
ctor Input([this.bindingPropertyName]) - added:
ctor Module({ List<Module> include, List<Provider<Object>> provide, }) - added:
ctor MultiToken([String uniqueName = …]) - added:
ctor OpaqueToken([this._uniqueName = …]) - added:
ctor Optional() - added:
ctor Output([this.bindingPropertyName]) - added:
ctor Pipe(this.name, {this.pure = …}) - added:
ctor Provider( Object token, { Type? useClass, Object useValue, Object? useExisting, Function? useFactory, List<Object>? deps, }) - added:
ctor Self() - added:
ctor SkipSelf() - added:
ctor ValueProvider( Type type, T useValue, ) - added:
ctor ValueProvider.forToken( OpaqueToken<T> token, T useValue, ) - added:
field Component.changeDetection: final int - added:
field Component.directiveTypes: final List<Typed<Object>> - added:
field Component.directives: final List<Object> - added:
field Component.encapsulation: final ViewEncapsulation - added:
field Component.exports: final List<Object?> - added:
field Component.pipes: final List<Object> - added:
field Component.preserveWhitespace: final bool - added:
field Component.styleUrls: final List<String> - added:
field Component.styles: final List<String> - added:
field Component.template: final String? - added:
field Component.templateUrl: final String? - added:
field Component.viewProviders: final List<Object> - added:
field Directive.exportAs: final String? - added:
field Directive.providers: final List<Object> - added:
field Directive.selector: final String - added:
field Directive.visibility: final Visibility - added:
field Inject.token: final Object - added:
field Input.bindingPropertyName: final String? - added:
field Module.include: final List<Module> - added:
field Module.provide: final List<Provider<Object>> - added:
field Output.bindingPropertyName: final String? - added:
field Pipe.name: final String - added:
field Pipe.pure: final bool - added:
field Provider.deps: final List<Object>? - added:
field Provider.token: final Object - added:
field Provider.useClass: final Type? - added:
field Provider.useExisting: final Object? - added:
field Provider.useFactory: final Function? - added:
field Provider.useValue: final Object - added:
function provide<T extends Object>( Object token, { Type? useClass, Object useValue = …, Object? useExisting, Function? useFactory, List<Object>? deps, }): Provider<T> - added:
method Inject.toString(): String - added:
method Injector.get( Object token, [ Object? notFoundValue = …, ]): dynamic - added:
method Injector.injectFromAncestry<T>(Object token): T - added:
method Injector.injectFromAncestryOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.injectFromParent<T>(Object token): T - added:
method Injector.injectFromParentOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.injectFromSelf<T>(Object token): T - added:
method Injector.injectFromSelfOptional( Object token, [ Object? orElse = …, ]): Object? - added:
method Injector.provideToken<T extends Object>(OpaqueToken<T> token): T - added:
method Injector.provideTokenOptional<T extends Object>(OpaqueToken<T> token): T? - added:
method Injector.provideType<T extends Object>(Type token): T - added:
method Injector.provideTypeOptional<T extends Object>(Type token): T? - added:
method Injector.provideUntyped<T>( Object token, [ Object? orElse = …, ]): T - added:
method MultiToken.toString(): String - added:
method OpaqueToken.toString(): String - added:
variable noValueProvided: const Object
- removed:
function debugCheckBindings([bool enabled = …]): void - removed:
function rootLegacyInjector(InjectorFactory userInjector): Injector - changed:
function debugUsesDefaultChangeDetection(ComponentRef componentRef): bool → function debugUsesDefaultChangeDetection(ComponentRef<void> componentRef): bool - changed:
set NgForIdentity.ngForIdentityOf(Iterable<T> elements) → set NgForIdentity.ngForIdentityOf(Iterable<T>? elements) - added:
variable changeDetectionLink: const
- removed:
function Function(dynamic): T - removed:
variable visibleForTemplate: const
- removed:
class DomSanitizationService: abstract implements SanitizationService - removed:
class SafeHtml: abstract extends SafeValue - removed:
class SafeInnerHtmlDirective - removed:
class SafeResourceUrl: abstract extends SafeValue - removed:
class SafeStyle: abstract extends SafeValue - removed:
class SafeUrl: abstract extends SafeValue - removed:
class SafeValue: abstract - removed:
class SanitizationService: abstract - removed:
ctor SafeInnerHtmlDirective(this._element) - removed:
method DomSanitizationService.bypassSecurityTrustHtml(String value): SafeHtml - removed:
method DomSanitizationService.bypassSecurityTrustResourceUrl(String value): SafeResourceUrl - removed:
method DomSanitizationService.bypassSecurityTrustStyle(String value): SafeStyle - removed:
method DomSanitizationService.bypassSecurityTrustUrl(String value): SafeUrl - removed:
method SanitizationService.sanitizeHtml(value): String - removed:
method SanitizationService.sanitizeResourceUrl(value): String - removed:
method SanitizationService.sanitizeStyle(value): String - removed:
method SanitizationService.sanitizeUrl(value): String - removed:
set SafeInnerHtmlDirective.safeInnerHtml(safeInnerHtml)