| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: componentUtils;
Method or attribute name: type Matrix4Result = [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
];|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: componentUtils;
Method or attribute name: function getRectangleById(id: string): ComponentInfo;|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: size: Size|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: localOffset: Offset|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: windowOffset: Offset|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: screenOffset: Offset|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: translate: TranslateResult|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: scale: ScaleResult|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: rotate: RotateResult|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ComponentInfo;
Method or attribute name: transform: Matrix4Result|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: Size;
Method or attribute name: width: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: Size;
Method or attribute name: height: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: Offset;
Method or attribute name: x: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: TranslateResult;
Method or attribute name: x: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ScaleResult;
Method or attribute name: x: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: x: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: Offset;
Method or attribute name: y: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: TranslateResult;
Method or attribute name: y: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ScaleResult;
Method or attribute name: y: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: y: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: TranslateResult;
Method or attribute name: z: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ScaleResult;
Method or attribute name: z: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: z: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ScaleResult;
Method or attribute name: centerX: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: centerX: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: ScaleResult;
Method or attribute name: centerY: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: centerY: number|NA|@ohos.componentUtils.d.ts|
|Deleted|Class name: RotateResult;
Method or attribute name: angle: number|NA|@ohos.componentUtils.d.ts|
|Added|NA|Class name: componentUtils;
Method or attribute name: type Matrix4Result = [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
];|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: componentUtils;
Method or attribute name: function getRectangleById(id: string): ComponentInfo;|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: size: Size|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: localOffset: Offset|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: windowOffset: Offset|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: screenOffset: Offset|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: translate: TranslateResult|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: scale: ScaleResult|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: rotate: RotateResult|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ComponentInfo;
Method or attribute name: transform: Matrix4Result|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: Size;
Method or attribute name: width: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: Size;
Method or attribute name: height: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: Offset;
Method or attribute name: x: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: TranslateResult;
Method or attribute name: x: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ScaleResult;
Method or attribute name: x: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: x: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: Offset;
Method or attribute name: y: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: TranslateResult;
Method or attribute name: y: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ScaleResult;
Method or attribute name: y: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: y: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: TranslateResult;
Method or attribute name: z: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ScaleResult;
Method or attribute name: z: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: z: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ScaleResult;
Method or attribute name: centerX: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: centerX: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ScaleResult;
Method or attribute name: centerY: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: centerY: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: RotateResult;
Method or attribute name: angle: number|@ohos.arkui.componentUtils.d.ts|
|Added|NA|Class name: ShowDialogOptions;
Method or attribute name: maskRect?: Rectangle;|@ohos.promptAction.d.ts|
|Added|NA|Class name: ShowDialogOptions;
Method or attribute name: alignment?: DialogAlignment;|@ohos.promptAction.d.ts|
|Added|NA|Class name: ShowDialogOptions;
Method or attribute name: offset?: Offset;|@ohos.promptAction.d.ts|
|Deprecated version changed|Class name: AbilityComponentInterface;
Method or attribute name: interface AbilityComponentInterface
Old version information: |Class name: AbilityComponentInterface;
Method or attribute name: interface AbilityComponentInterface
New version information: 10
Substitute API: UIExtensionComponentInterface|ability_component.d.ts|
|Deprecated version changed|Class name: AbilityComponentInterface;
Method or attribute name: (value: { want: import('../api/@ohos.app.ability.Want').default }): AbilityComponentAttribute;
Old version information: |Class name: AbilityComponentInterface;
Method or attribute name: (value: { want: import('../api/@ohos.app.ability.Want').default }): AbilityComponentAttribute;
New version information: 10
Substitute API: UIExtensionComponentInterface|ability_component.d.ts|
|Deprecated version changed|Class name: AbilityComponentAttribute;
Method or attribute name: declare class AbilityComponentAttribute
Old version information: |Class name: AbilityComponentAttribute;
Method or attribute name: declare class AbilityComponentAttribute
New version information: 10
Substitute API: UIExtensionComponentAttribute|ability_component.d.ts|
|Deprecated version changed|Class name: AbilityComponentAttribute;
Method or attribute name: onConnect(callback: () => void): AbilityComponentAttribute;
Old version information: |Class name: AbilityComponentAttribute;
Method or attribute name: onConnect(callback: () => void): AbilityComponentAttribute;
New version information: 10
Substitute API: UIExtensionComponent#onRemoteReady|ability_component.d.ts|
|Deprecated version changed|Class name: AbilityComponentAttribute;
Method or attribute name: onDisconnect(callback: () => void): AbilityComponentAttribute;
Old version information: |Class name: AbilityComponentAttribute;
Method or attribute name: onDisconnect(callback: () => void): AbilityComponentAttribute;
New version information: 10
Substitute API: UIExtensionComponent#onRelease|ability_component.d.ts|
|Deprecated version changed|Class name: CustomComponent;
Method or attribute name: onLayout?(children: Array\, constraint: ConstraintSizeOptions): void;
Old version information: |Class name: CustomComponent;
Method or attribute name: onLayout?(children: Array\, constraint: ConstraintSizeOptions): void;
New version information: 10
Substitute API: common[CustomComponent]#onPlaceChildren|common.d.ts|
|Deprecated version changed|Class name: CustomComponent;
Method or attribute name: onMeasure?(children: Array\, constraint: ConstraintSizeOptions): void;
Old version information: |Class name: CustomComponent;
Method or attribute name: onMeasure?(children: Array\, constraint: ConstraintSizeOptions): void;
New version information: 10
Substitute API: common[CustomComponent]#onMeasureSize|common.d.ts|
|Deprecated version changed|Class name: DatePickerAttribute;
Method or attribute name: onChange(callback: (value: DatePickerResult) => void): DatePickerAttribute;
Old version information: |Class name: DatePickerAttribute;
Method or attribute name: onChange(callback: (value: DatePickerResult) => void): DatePickerAttribute;
New version information: 10
Substitute API: datePicker/DatePickerAttribute#onDateChange|date_picker.d.ts|
|Deprecated version changed|Class name: DatePickerDialogOptions;
Method or attribute name: onAccept?: (value: DatePickerResult) => void;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: onAccept?: (value: DatePickerResult) => void;
New version information: 10
Substitute API: datePicker/DatePickerDialogOptions#onDateAccept|date_picker.d.ts|
|Deprecated version changed|Class name: DatePickerDialogOptions;
Method or attribute name: onChange?: (value: DatePickerResult) => void;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: onChange?: (value: DatePickerResult) => void;
New version information: 10
Substitute API: datePicker/DatePickerDialogOptions#onDateChange|date_picker.d.ts|
|Deprecated version changed|Class name: ImageAttribute;
Method or attribute name: draggable(value: boolean): ImageAttribute;
Old version information: 10|Class name: ImageAttribute;
Method or attribute name: draggable(value: boolean): ImageAttribute;
New version information:
Substitute API: |image.d.ts|
|Deprecated version changed|Class name: TextAttribute;
Method or attribute name: draggable(value: boolean): TextAttribute;
Old version information: 10|Class name: TextAttribute;
Method or attribute name: draggable(value: boolean): TextAttribute;
New version information:
Substitute API: |text.d.ts|
|Error code added|Class name: PromptAction;
Method or attribute name: showActionMenu(options: promptAction.ActionMenuOptions): Promise\;
Old version information: |Class name: PromptAction;
Method or attribute name: showActionMenu(options: promptAction.ActionMenuOptions): Promise\;
New version information: 401, 100001|@ohos.arkui.UIContext.d.ts|
|Error code added|Class name: uiAppearance;
Method or attribute name: function setDarkMode(mode: DarkMode, callback: AsyncCallback\): void;
Old version information: |Class name: uiAppearance;
Method or attribute name: function setDarkMode(mode: DarkMode, callback: AsyncCallback\): void;
New version information: 201,401,500001|@ohos.uiAppearance.d.ts|
|Error code added|Class name: uiAppearance;
Method or attribute name: function setDarkMode(mode: DarkMode): Promise\;
Old version information: |Class name: uiAppearance;
Method or attribute name: function setDarkMode(mode: DarkMode): Promise\;
New version information: 201,401,500001|@ohos.uiAppearance.d.ts|
|Error code added|Class name: uiAppearance;
Method or attribute name: function getDarkMode(): DarkMode;
Old version information: |Class name: uiAppearance;
Method or attribute name: function getDarkMode(): DarkMode;
New version information: 201,401,500001|@ohos.uiAppearance.d.ts|
|Error code added|Class name: DragEvent;
Method or attribute name: getData(): UnifiedData;
Old version information: |Class name: DragEvent;
Method or attribute name: getData(): UnifiedData;
New version information: 190001, 190002|common.d.ts|
|Access level changed|Class name: ScrollSnapAlign;
Method or attribute name: declare enum ScrollSnapAlign
Old version information: systemapi|Class name: ScrollSnapAlign;
Method or attribute name: declare enum ScrollSnapAlign
New version information: |list.d.ts|
|Access level changed|Class name: ListAttribute;
Method or attribute name: scrollSnapAlign(value: ScrollSnapAlign): ListAttribute;
Old version information: systemapi|Class name: ListAttribute;
Method or attribute name: scrollSnapAlign(value: ScrollSnapAlign): ListAttribute;
New version information: |list.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: scaleX?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: scaleX?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: rotateY?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: rotateY?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: rotateX?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: rotateX?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: scaleY?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: scaleY?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: translateX?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: translateX?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: Matrix2D;
Method or attribute name: translateY?: number;
Old version information: number|Class name: Matrix2D;
Method or attribute name: translateY?: number;
New version information: ?number|canvaspattern.d.ts|
|Type changed|Class name: DragInfo;
Method or attribute name: data?: unifiedDataChannel.UnifiedData;
Old version information: ?UDMF.UnifiedData|Class name: DragInfo;
Method or attribute name: data?: unifiedDataChannel.UnifiedData;
New version information: ?unifiedDataChannel.UnifiedData|@ohos.arkui.dragController.d.ts|
|Type changed|Class name: MeasureOptions;
Method or attribute name: fontFamily?: string \| Resource;
Old version information: ?(number \| Resource)|Class name: MeasureOptions;
Method or attribute name: fontFamily?: string \| Resource;
New version information: ?(string \| Resource)|@ohos.measure.d.ts|
|Type changed|Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
Old version information: ?([Button, Button?, Button?])|Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
New version information: ?[Button, Button?, Button?]|@ohos.prompt.d.ts|
|Type changed|Class name: ShowDialogOptions;
Method or attribute name: buttons?: Array\