Skip to content

Upgrading zone.js 0.12 to 0.13

Unknown0.12.0 → 0.13.3

Fetching 4 releases from GitHub…0 / 4
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: const Zone: ZoneType
  • removed: interface EventTask extends Task
  • removed: interface MacroTask extends Task
  • removed: interface MicroTask extends Task
  • removed: interface Task
  • removed: interface TaskData
  • removed: interface UncaughtPromiseError extends Error
  • removed: interface Zone
  • removed: interface ZoneDelegate
  • removed: interface ZoneSpec
  • removed: interface ZoneType
  • removed: interface _ZoneFrame
  • removed: interface _ZonePrivate
  • removed: method Task.cancelScheduleRequest(): void
  • removed: method Zone.cancelTask(task: Task): any
  • removed: method Zone.fork(zoneSpec: ZoneSpec): Zone
  • removed: method Zone.get(key: string): any
  • removed: method Zone.getZoneWith(key: string): Zone | null
  • removed: method Zone.run<T>(callback: Function, applyThis?: any, applyArgs?: any[], source?: string): T
  • removed: method Zone.runGuarded<T>(callback: Function, applyThis?: any, applyArgs?: any[], source?: string): T
  • removed: method Zone.runTask<T>(task: Task, applyThis?: any, applyArgs?: any): T
  • removed: method Zone.scheduleEventTask(source: string, callback: Function, data?: TaskData, customSchedule?: (task: Task) => void, customCancel?: (task: Task) => void): EventTask
  • removed: method Zone.scheduleMacroTask(source: string, callback: Function, data?: TaskData, customSchedule?: (task: Task) => void, customCancel?: (task: Task) => void): MacroTask
  • removed: method Zone.scheduleMicroTask(source: string, callback: Function, data?: TaskData, customSchedule?: (task: Task) => void): MicroTask
  • removed: method Zone.scheduleTask<T extends Task>(task: T): T
  • removed: method Zone.wrap<F extends Function>(callback: F, source: string): F
  • removed: method ZoneDelegate.cancelTask(targetZone: Zone, task: Task): any
  • removed: method ZoneDelegate.fork(targetZone: Zone, zoneSpec: ZoneSpec): Zone
  • removed: method ZoneDelegate.handleError(targetZone: Zone, error: any): boolean
  • removed: method ZoneDelegate.hasTask(targetZone: Zone, isEmpty: HasTaskState): void
  • removed: method ZoneDelegate.intercept(targetZone: Zone, callback: Function, source: string): Function
  • removed: method ZoneDelegate.invoke(targetZone: Zone, callback: Function, applyThis?: any, applyArgs?: any[], source?: string): any
  • removed: method ZoneDelegate.invokeTask(targetZone: Zone, task: Task, applyThis?: any, applyArgs?: any[]): any
  • removed: method ZoneDelegate.scheduleTask(targetZone: Zone, task: Task): Task
  • removed: method ZoneType.__load_patch(name: string, fn: _PatchFn, ignoreDuplicate?: boolean): void
  • removed: method ZoneType.__symbol__(name: string): string
  • removed: method ZoneType.assertZonePatched(): void
  • removed: method _ZonePrivate.ArraySlice(start?: number, end?: number): any[]
  • removed: method _ZonePrivate.ObjectCreate(o: object | null, properties?: PropertyDescriptorMap & ThisType<any>): any
  • removed: property EventTask.type: 'eventTask'
  • removed: property MacroTask.type: 'macroTask'
  • removed: property MicroTask.type: 'microTask'
  • removed: property Task.callback: Function
  • removed: property Task.cancelFn?: (task: Task) => void
  • removed: property Task.data?: TaskData
  • removed: property Task.invoke: Function
  • removed: property Task.runCount: number
  • removed: property Task.scheduleFn?: (task: Task) => void
  • removed: property Task.source: string
  • removed: property Task.state: TaskState
  • removed: property Task.type: TaskType
  • removed: property TaskData.delay?: number
  • removed: property TaskData.handleId?: number
  • removed: property TaskData.isPeriodic?: boolean
  • removed: property UncaughtPromiseError.promise: Promise<any>
  • removed: property UncaughtPromiseError.rejection: any
  • removed: property UncaughtPromiseError.task: Task
  • removed: property UncaughtPromiseError.throwOriginal?: boolean
  • removed: property UncaughtPromiseError.zone: Zone
  • removed: property Zone.name: string
  • removed: property Zone.parent: Zone | null
  • removed: property ZoneDelegate.zone: Zone
  • removed: property ZoneSpec.name: string
  • removed: property ZoneSpec.onCancelTask?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, task: Task) => any
  • removed: property ZoneSpec.onFork?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, zoneSpec: ZoneSpec) => Zone
  • removed: property ZoneSpec.onHandleError?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, error: any) => boolean
  • removed: property ZoneSpec.onHasTask?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, hasTaskState: HasTaskState) => void
  • removed: property ZoneSpec.onIntercept?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, delegate: Function, source: string) => Function
  • removed: property ZoneSpec.onInvoke?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, delegate: Function, applyThis: any, applyArgs?: any[], source?: string) => any
  • removed: property ZoneSpec.onInvokeTask?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, task: Task, applyThis: any, applyArgs?: any[]) => any
  • removed: property ZoneSpec.onScheduleTask?: (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, task: Task) => Task
  • removed: property ZoneSpec.properties?: { [key: string]: any }
  • removed: property ZoneType.current: Zone
  • removed: property ZoneType.currentTask: Task | null
  • removed: property ZoneType.root: Zone
  • removed: property _ZoneFrame.parent: _ZoneFrame | null
  • removed: property _ZoneFrame.zone: Zone
  • removed: property _ZonePrivate.ObjectDefineProperty: (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
  • removed: property _ZonePrivate.ObjectGetOwnPropertyDescriptor: (o: any, p: PropertyKey) => PropertyDescriptor | undefined
  • removed: property _ZonePrivate._redefineProperty: (target: any, callback: string, desc: any) => void
  • removed: property _ZonePrivate.attachOriginToPatched: (target: any, origin: any) => void
  • removed: property _ZonePrivate.bindArguments: (args: any[], source: string) => any[]
  • removed: property _ZonePrivate.currentZoneFrame: () => _ZoneFrame
  • removed: property _ZonePrivate.filterProperties: (target: any, onProperties: string[], ignoreProperties: any[]) => string[]
  • removed: property _ZonePrivate.getGlobalObjects: () => { globalSources: any; zoneSymbolEventNames: any; eventNames: string[]; isBrowser: boolean; isMix: boolean; isNode: boolean; TRUE_STR: string; FALSE_STR: string; ZONE_SYMBOL_PREFIX: string; ADD_EVENT_LISTENER_STR: string; REMOVE_EVENT_LISTENER_STR: string } | undefined
  • removed: property _ZonePrivate.isIEOrEdge: () => boolean
  • removed: property _ZonePrivate.microtaskDrainDone: () => void
  • removed: property _ZonePrivate.nativeScheduleMicroTask: (func: Function) => void
  • removed: property _ZonePrivate.onUnhandledError: (error: Error) => void
  • removed: property _ZonePrivate.patchCallbacks: (api: _ZonePrivate, target: any, targetName: string, method: string, callbacks: string[]) => void
  • removed: property _ZonePrivate.patchClass: (className: string) => void
  • removed: property _ZonePrivate.patchEventPrototype: (_global: any, api: _ZonePrivate) => void
  • removed: property _ZonePrivate.patchEventTarget: (global: any, api: _ZonePrivate, apis: any[], options?: any) => boolean[]
  • removed: property _ZonePrivate.patchMacroTask: (obj: any, funcName: string, metaCreator: (self: any, args: any[]) => any) => void
  • removed: property _ZonePrivate.patchMethod: (target: any, name: string, patchFn: (delegate: Function, delegateName: string, name: string) => (self: any, args: any[]) => any) => Function | null
  • removed: property _ZonePrivate.patchOnProperties: (obj: any, properties: string[] | null, prototype?: any) => void
  • removed: property _ZonePrivate.patchThen: (ctro: Function) => void
  • removed: property _ZonePrivate.scheduleMicroTask: (task?: MicroTask) => void
  • removed: property _ZonePrivate.showUncaughtError: () => boolean
  • removed: property _ZonePrivate.symbol: (name: string) => string
  • removed: property _ZonePrivate.wrapWithCurrentZone: (callback: any, source: string) => any
  • removed: readonly property Task.zone: Zone
  • removed: type HasTaskState = { microTask: boolean; macroTask: boolean; eventTask: boolean; change: TaskType }
  • removed: type TaskState = 'notScheduled' | 'scheduling' | 'scheduled' | 'running' | 'canceling' | 'unknown'
  • removed: type TaskType = 'microTask' | 'macroTask' | 'eventTask'
  • removed: type _PatchFn = (global: Window, Zone: ZoneType, api: _ZonePrivate) => void