1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Class name: InputClient;<br>Method or attribute name: deleteForwardSync(length: number): void;|@ohos.inputMethodEngine.d.ts|
4|Added|NA|Class name: InputClient;<br>Method or attribute name: deleteBackwardSync(length: number): void;|@ohos.inputMethodEngine.d.ts|
5|Added|NA|Class name: InputClient;<br>Method or attribute name: insertTextSync(text: string): void;|@ohos.inputMethodEngine.d.ts|
6|Added|NA|Class name: InputClient;<br>Method or attribute name: getForwardSync(length: number): string;|@ohos.inputMethodEngine.d.ts|
7|Added|NA|Class name: InputClient;<br>Method or attribute name: getBackwardSync(length: number): string;|@ohos.inputMethodEngine.d.ts|
8|Added|NA|Class name: InputClient;<br>Method or attribute name: getEditorAttributeSync(): EditorAttribute;|@ohos.inputMethodEngine.d.ts|
9|Added|NA|Class name: InputClient;<br>Method or attribute name: moveCursorSync(direction: number): void;|@ohos.inputMethodEngine.d.ts|
10|Added|NA|Class name: InputClient;<br>Method or attribute name: selectByRangeSync(range: Range): void;|@ohos.inputMethodEngine.d.ts|
11|Added|NA|Class name: InputClient;<br>Method or attribute name: selectByMovementSync(movement: Movement): void;|@ohos.inputMethodEngine.d.ts|
12|Added|NA|Class name: InputClient;<br>Method or attribute name: getTextIndexAtCursorSync(): number;|@ohos.inputMethodEngine.d.ts|
13|Added|NA|Class name: systemDateTime;<br>Method or attribute name: function getTime(isNanoseconds?: boolean): number;|@ohos.systemDateTime.d.ts|
14|Added|NA|Class name: systemDateTime;<br>Method or attribute name: function getUptime(timeType: TimeType, isNanoseconds?: boolean): number;|@ohos.systemDateTime.d.ts|
15|Added|NA|Class name: systemDateTime;<br>Method or attribute name: function getTimezoneSync(): string;|@ohos.systemDateTime.d.ts|
16|Added|NA|Class name: TimeType;<br>Method or attribute name: STARTUP|@ohos.systemDateTime.d.ts|
17|Added|NA|Class name: TimeType;<br>Method or attribute name: ACTIVE|@ohos.systemDateTime.d.ts|
18|Deprecated version changed|Class name: PasteDataRecord;<br>Method or attribute name: convertToText(): Promise\<string>;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: convertToText(): Promise\<string>;<br>New version information: 9<br>Substitute API: ohos.pasteboard.pasteboard#convertToTextV9|@ohos.pasteboard.d.ts|
19|Deprecated version changed|Class name: SystemPasteboard;<br>Method or attribute name: clear(): Promise\<void>;<br>Old version information: |Class name: SystemPasteboard;<br>Method or attribute name: clear(): Promise\<void>;<br>New version information: 9<br>Substitute API: ohos.pasteboard.pasteboard#clearData|@ohos.pasteboard.d.ts|
20|Deprecated version changed|Class name: SystemPasteboard;<br>Method or attribute name: getPasteData(): Promise\<PasteData>;<br>Old version information: |Class name: SystemPasteboard;<br>Method or attribute name: getPasteData(): Promise\<PasteData>;<br>New version information: 9<br>Substitute API: ohos.pasteboard.pasteboard#getData|@ohos.pasteboard.d.ts|
21|Deprecated version changed|Class name: SystemPasteboard;<br>Method or attribute name: hasPasteData(): Promise\<boolean>;<br>Old version information: |Class name: SystemPasteboard;<br>Method or attribute name: hasPasteData(): Promise\<boolean>;<br>New version information: 9<br>Substitute API: ohos.pasteboard.pasteboard#hasData|@ohos.pasteboard.d.ts|
22|Deprecated version changed|Class name: SystemPasteboard;<br>Method or attribute name: setPasteData(data: PasteData): Promise\<void>;<br>Old version information: |Class name: SystemPasteboard;<br>Method or attribute name: setPasteData(data: PasteData): Promise\<void>;<br>New version information: 9<br>Substitute API: ohos.pasteboard.pasteboard#setData|@ohos.pasteboard.d.ts|
23|Deprecated version changed|Class name: systemDateTime;<br>Method or attribute name: function setDate(date: Date, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: systemDateTime;<br>Method or attribute name: function setDate(date: Date, callback: AsyncCallback\<void>): void;<br>New version information: 10<br>Substitute API: systemDateTime.setTime|@ohos.systemDateTime.d.ts|
24|Deprecated version changed|Class name: systemDateTime;<br>Method or attribute name: function setDate(date: Date): Promise\<void>;<br>Old version information: |Class name: systemDateTime;<br>Method or attribute name: function setDate(date: Date): Promise\<void>;<br>New version information: 10<br>Substitute API: systemDateTime.setTime|@ohos.systemDateTime.d.ts|
25|Deprecated version changed|Class name: systemDateTime;<br>Method or attribute name: function getDate(callback: AsyncCallback\<Date>): void;<br>Old version information: |Class name: systemDateTime;<br>Method or attribute name: function getDate(callback: AsyncCallback\<Date>): void;<br>New version information: 10<br>Substitute API: new|@ohos.systemDateTime.d.ts|
26|Deprecated version changed|Class name: systemDateTime;<br>Method or attribute name: function getDate(): Promise\<Date>;<br>Old version information: |Class name: systemDateTime;<br>Method or attribute name: function getDate(): Promise\<Date>;<br>New version information: 10<br>Substitute API: new|@ohos.systemDateTime.d.ts|
27|Error code changed|Class name: PasteData;<br>Method or attribute name: addRecord(mimeType: string, value: ValueType): void;<br>Old version information: 401, 12900002|Class name: PasteData;<br>Method or attribute name: addRecord(mimeType: string, value: ValueType): void;<br>New version information: 401|@ohos.pasteboard.d.ts|
28|Type changed|Class name: pasteboard;<br>Method or attribute name: type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;<br>Old version information: |Class name: pasteboard;<br>Method or attribute name: type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;<br>New version information: string \| image.PixelMap \| Want \| ArrayBuffer|@ohos.pasteboard.d.ts|
29|Type changed|Class name: PasteDataProperty;<br>Method or attribute name: additions: {<br><br>      [key: string]: object<br><br>    }<br>Old version information: |Class name: PasteDataProperty;<br>Method or attribute name: additions: {<br><br>      [key: string]: object<br><br>    }<br>New version information: [key: string]: object|@ohos.pasteboard.d.ts|
30|Type changed|Class name: PasteDataProperty;<br>Method or attribute name: readonly mimeTypes: Array\<string>;<br>Old version information: |Class name: PasteDataProperty;<br>Method or attribute name: readonly mimeTypes: Array\<string>;<br>New version information: Array\<string>|@ohos.pasteboard.d.ts|
31|Type changed|Class name: PasteDataProperty;<br>Method or attribute name: tag: string;<br>Old version information: |Class name: PasteDataProperty;<br>Method or attribute name: tag: string;<br>New version information: string|@ohos.pasteboard.d.ts|
32|Type changed|Class name: PasteDataProperty;<br>Method or attribute name: readonly timestamp: number;<br>Old version information: |Class name: PasteDataProperty;<br>Method or attribute name: readonly timestamp: number;<br>New version information: number|@ohos.pasteboard.d.ts|
33|Type changed|Class name: PasteDataProperty;<br>Method or attribute name: localOnly: boolean;<br>Old version information: |Class name: PasteDataProperty;<br>Method or attribute name: localOnly: boolean;<br>New version information: boolean|@ohos.pasteboard.d.ts|
34|Type changed|Class name: PasteDataRecord;<br>Method or attribute name: htmlText: string;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: htmlText: string;<br>New version information: string|@ohos.pasteboard.d.ts|
35|Type changed|Class name: PasteDataRecord;<br>Method or attribute name: want: Want;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: want: Want;<br>New version information: Want|@ohos.pasteboard.d.ts|
36|Type changed|Class name: PasteDataRecord;<br>Method or attribute name: mimeType: string;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: mimeType: string;<br>New version information: string|@ohos.pasteboard.d.ts|
37|Type changed|Class name: PasteDataRecord;<br>Method or attribute name: plainText: string;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: plainText: string;<br>New version information: string|@ohos.pasteboard.d.ts|
38|Type changed|Class name: PasteDataRecord;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: PasteDataRecord;<br>Method or attribute name: uri: string;<br>New version information: string|@ohos.pasteboard.d.ts|
39