• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Deleted|Class name: Action;<br>Method or attribute name: CLEAR_CLOUD_INFO|NA|@ohos.data.cloudData.d.ts|
4|Deleted|Class name: Action;<br>Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|NA|@ohos.data.cloudData.d.ts|
5|Added|NA|Class name: ClearAction;<br>Method or attribute name: CLEAR_CLOUD_INFO|@ohos.data.cloudData.d.ts|
6|Added|NA|Class name: ClearAction;<br>Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|@ohos.data.cloudData.d.ts|
7|Added|NA|Class name: Config;<br>Method or attribute name: static clear(<br>      accountId: string,<br>      appActions: { [bundleName: string]: ClearAction },<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.data.cloudData.d.ts|
8|Added|NA|Class name: Config;<br>Method or attribute name: static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise\<void>;|@ohos.data.cloudData.d.ts|
9|Added|NA|Class name: preferences;<br>Method or attribute name: function getPreferences(context: Context, options: Options, callback: AsyncCallback\<Preferences>): void;|@ohos.data.preferences.d.ts|
10|Added|NA|Class name: preferences;<br>Method or attribute name: function getPreferences(context: Context, options: Options): Promise\<Preferences>;|@ohos.data.preferences.d.ts|
11|Added|NA|Class name: preferences;<br>Method or attribute name: function deletePreferences(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts|
12|Added|NA|Class name: preferences;<br>Method or attribute name: function deletePreferences(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts|
13|Added|NA|Class name: preferences;<br>Method or attribute name: function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts|
14|Added|NA|Class name: preferences;<br>Method or attribute name: function removePreferencesFromCache(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts|
15|Added|NA|Class name: preferences;<br>Method or attribute name: function removePreferencesFromCacheSync(context: Context, name: string): void;|@ohos.data.preferences.d.ts|
16|Added|NA|Class name: Options;<br>Method or attribute name: name: string;|@ohos.data.preferences.d.ts|
17|Added|NA|Class name: Options;<br>Method or attribute name: dataGroupId?: string;|@ohos.data.preferences.d.ts|
18|Added|NA|Class name: Preferences;<br>Method or attribute name: getSync(key: string, defValue: ValueType): ValueType;|@ohos.data.preferences.d.ts|
19|Added|NA|Class name: Preferences;<br>Method or attribute name: getAllSync(): Object;|@ohos.data.preferences.d.ts|
20|Added|NA|Class name: Preferences;<br>Method or attribute name: hasSync(key: string): boolean;|@ohos.data.preferences.d.ts|
21|Added|NA|Class name: Preferences;<br>Method or attribute name: putSync(key: string, value: ValueType): void;|@ohos.data.preferences.d.ts|
22|Added|NA|Class name: Preferences;<br>Method or attribute name: deleteSync(key: string): void;|@ohos.data.preferences.d.ts|
23|Added|NA|Class name: Preferences;<br>Method or attribute name: clearSync(): void;|@ohos.data.preferences.d.ts|
24|Added|NA|Class name: Preferences;<br>Method or attribute name: on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
25|Added|NA|Class name: Preferences;<br>Method or attribute name: off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
26|Added|NA|Class name: relationalStore;<br>Method or attribute name: type Assets = Asset[];|@ohos.data.relationalStore.d.ts|
27|Added|NA|Class name: relationalStore;<br>Method or attribute name: type PRIKeyType = number \| string;|@ohos.data.relationalStore.d.ts|
28|Added|NA|Class name: relationalStore;<br>Method or attribute name: type UTCTime = Date;|@ohos.data.relationalStore.d.ts|
29|Added|NA|Class name: relationalStore;<br>Method or attribute name: type ModifyTime = Map\<PRIKeyType, UTCTime>;|@ohos.data.relationalStore.d.ts|
30|Added|NA|Class name: relationalStore;<br>Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
31|Added|NA|Class name: relationalStore;<br>Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts|
32|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_NORMAL|@ohos.data.relationalStore.d.ts|
33|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_INSERT|@ohos.data.relationalStore.d.ts|
34|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_UPDATE|@ohos.data.relationalStore.d.ts|
35|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_DELETE|@ohos.data.relationalStore.d.ts|
36|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_ABNORMAL|@ohos.data.relationalStore.d.ts|
37|Added|NA|Class name: AssetStatus;<br>Method or attribute name: ASSET_DOWNLOADING|@ohos.data.relationalStore.d.ts|
38|Added|NA|Class name: Asset;<br>Method or attribute name: name: string;|@ohos.data.relationalStore.d.ts|
39|Added|NA|Class name: Asset;<br>Method or attribute name: uri: string;|@ohos.data.relationalStore.d.ts|
40|Added|NA|Class name: Asset;<br>Method or attribute name: path: string;|@ohos.data.relationalStore.d.ts|
41|Added|NA|Class name: Asset;<br>Method or attribute name: createTime: string;|@ohos.data.relationalStore.d.ts|
42|Added|NA|Class name: Asset;<br>Method or attribute name: modifyTime: string;|@ohos.data.relationalStore.d.ts|
43|Added|NA|Class name: Asset;<br>Method or attribute name: size: string;|@ohos.data.relationalStore.d.ts|
44|Added|NA|Class name: Asset;<br>Method or attribute name: status?: AssetStatus;|@ohos.data.relationalStore.d.ts|
45|Added|NA|Class name: StoreConfig;<br>Method or attribute name: dataGroupId?: string;|@ohos.data.relationalStore.d.ts|
46|Added|NA|Class name: Progress;<br>Method or attribute name: SYNC_BEGIN|@ohos.data.relationalStore.d.ts|
47|Added|NA|Class name: Progress;<br>Method or attribute name: SYNC_IN_PROGRESS|@ohos.data.relationalStore.d.ts|
48|Added|NA|Class name: Progress;<br>Method or attribute name: SYNC_FINISH|@ohos.data.relationalStore.d.ts|
49|Added|NA|Class name: Statistic;<br>Method or attribute name: total: number;|@ohos.data.relationalStore.d.ts|
50|Added|NA|Class name: Statistic;<br>Method or attribute name: successful: number;|@ohos.data.relationalStore.d.ts|
51|Added|NA|Class name: Statistic;<br>Method or attribute name: failed: number;|@ohos.data.relationalStore.d.ts|
52|Added|NA|Class name: Statistic;<br>Method or attribute name: remained: number;|@ohos.data.relationalStore.d.ts|
53|Added|NA|Class name: TableDetails;<br>Method or attribute name: upload: Statistic;|@ohos.data.relationalStore.d.ts|
54|Added|NA|Class name: TableDetails;<br>Method or attribute name: download: Statistic;|@ohos.data.relationalStore.d.ts|
55|Added|NA|Class name: ProgressCode;<br>Method or attribute name: SUCCESS|@ohos.data.relationalStore.d.ts|
56|Added|NA|Class name: ProgressCode;<br>Method or attribute name: UNKNOWN_ERROR|@ohos.data.relationalStore.d.ts|
57|Added|NA|Class name: ProgressCode;<br>Method or attribute name: NETWORK_ERROR|@ohos.data.relationalStore.d.ts|
58|Added|NA|Class name: ProgressCode;<br>Method or attribute name: CLOUD_DISABLED|@ohos.data.relationalStore.d.ts|
59|Added|NA|Class name: ProgressCode;<br>Method or attribute name: LOCKED_BY_OTHERS|@ohos.data.relationalStore.d.ts|
60|Added|NA|Class name: ProgressCode;<br>Method or attribute name: RECORD_LIMIT_EXCEEDED|@ohos.data.relationalStore.d.ts|
61|Added|NA|Class name: ProgressCode;<br>Method or attribute name: NO_SPACE_FOR_ASSET|@ohos.data.relationalStore.d.ts|
62|Added|NA|Class name: ProgressDetails;<br>Method or attribute name: schedule: Progress;|@ohos.data.relationalStore.d.ts|
63|Added|NA|Class name: ProgressDetails;<br>Method or attribute name: code: ProgressCode;|@ohos.data.relationalStore.d.ts|
64|Added|NA|Class name: ProgressDetails;<br>Method or attribute name: details: {<br>      [table: string]: TableDetails;<br>    };|@ohos.data.relationalStore.d.ts|
65|Added|NA|Class name: SyncMode;<br>Method or attribute name: SYNC_MODE_TIME_FIRST|@ohos.data.relationalStore.d.ts|
66|Added|NA|Class name: SyncMode;<br>Method or attribute name: SYNC_MODE_NATIVE_FIRST|@ohos.data.relationalStore.d.ts|
67|Added|NA|Class name: SyncMode;<br>Method or attribute name: SYNC_MODE_CLOUD_FIRST|@ohos.data.relationalStore.d.ts|
68|Added|NA|Class name: SubscribeType;<br>Method or attribute name: SUBSCRIBE_TYPE_CLOUD_DETAILS|@ohos.data.relationalStore.d.ts|
69|Added|NA|Class name: ChangeType;<br>Method or attribute name: DATA_CHANGE|@ohos.data.relationalStore.d.ts|
70|Added|NA|Class name: ChangeType;<br>Method or attribute name: ASSET_CHANGE|@ohos.data.relationalStore.d.ts|
71|Added|NA|Class name: ChangeInfo;<br>Method or attribute name: table: string;|@ohos.data.relationalStore.d.ts|
72|Added|NA|Class name: ChangeInfo;<br>Method or attribute name: type: ChangeType;|@ohos.data.relationalStore.d.ts|
73|Added|NA|Class name: ChangeInfo;<br>Method or attribute name: inserted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
74|Added|NA|Class name: ChangeInfo;<br>Method or attribute name: updated: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
75|Added|NA|Class name: ChangeInfo;<br>Method or attribute name: deleted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
76|Added|NA|Class name: DistributedType;<br>Method or attribute name: DISTRIBUTED_DEVICE|@ohos.data.relationalStore.d.ts|
77|Added|NA|Class name: DistributedType;<br>Method or attribute name: DISTRIBUTED_CLOUD|@ohos.data.relationalStore.d.ts|
78|Added|NA|Class name: DistributedConfig;<br>Method or attribute name: autoSync: boolean;|@ohos.data.relationalStore.d.ts|
79|Added|NA|Class name: ResultSet;<br>Method or attribute name: getAsset(columnIndex: number): Asset;|@ohos.data.relationalStore.d.ts|
80|Added|NA|Class name: ResultSet;<br>Method or attribute name: getAssets(columnIndex: number): Assets;|@ohos.data.relationalStore.d.ts|
81|Added|NA|Class name: RdbStore;<br>Method or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise\<ModifyTime>;|@ohos.data.relationalStore.d.ts|
82|Added|NA|Class name: RdbStore;<br>Method or attribute name: getModifyTime(<br>      table: string,<br>      columnName: string,<br>      primaryKeys: PRIKeyType[],<br>      callback: AsyncCallback\<ModifyTime><br>    ): void;|@ohos.data.relationalStore.d.ts|
83|Added|NA|Class name: RdbStore;<br>Method or attribute name: setDistributedTables(tables: Array\<string>, type: DistributedType, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
84|Added|NA|Class name: RdbStore;<br>Method or attribute name: setDistributedTables(<br>      tables: Array\<string>,<br>      type: DistributedType,<br>      config: DistributedConfig,<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.data.relationalStore.d.ts|
85|Added|NA|Class name: RdbStore;<br>Method or attribute name: setDistributedTables(tables: Array\<string>, type?: DistributedType, config?: DistributedConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts|
86|Added|NA|Class name: RdbStore;<br>Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
87|Added|NA|Class name: RdbStore;<br>Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts|
88|Added|NA|Class name: RdbStore;<br>Method or attribute name: cloudSync(<br>      mode: SyncMode,<br>      tables: string[],<br>      progress: Callback\<ProgressDetails>,<br>      callback: AsyncCallback\<void><br>    ): void;|@ohos.data.relationalStore.d.ts|
89|Added|NA|Class name: RdbStore;<br>Method or attribute name: cloudSync(mode: SyncMode, tables: string[], progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts|
90|Added|NA|Class name: RdbStore;<br>Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>>): void;|@ohos.data.relationalStore.d.ts|
91|Added|NA|Class name: RdbStore;<br>Method or attribute name: on(event: string, interProcess: boolean, observer: Callback\<void>): void;|@ohos.data.relationalStore.d.ts|
92|Added|NA|Class name: RdbStore;<br>Method or attribute name: off(<br>      event: 'dataChange',<br>      type: SubscribeType,<br>      observer?: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>><br>    ): void;|@ohos.data.relationalStore.d.ts|
93|Added|NA|Class name: RdbStore;<br>Method or attribute name: off(event: string, interProcess: boolean, observer?: Callback\<void>): void;|@ohos.data.relationalStore.d.ts|
94|Added|NA|Class name: RdbStore;<br>Method or attribute name: emit(event: string): void;|@ohos.data.relationalStore.d.ts|
95|Added|NA|Class name: UDMF;<br>Method or attribute name: type Options = {<br>    /**<br>     * indicates the target Intention<br>     *<br>     * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br>     * @since 10<br>     */<br>    intention?: Intention;<br><br>    /**<br>     * indicates the unique identifier of target UnifiedData<br>     *<br>     * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br>     * @since 10<br>     */<br>    key?: string;<br>  };|@ohos.data.UDMF.d.ts|
96|Added|NA|Class name: UDMF;<br>Method or attribute name: function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\<string>): void;|@ohos.data.UDMF.d.ts|
97|Added|NA|Class name: UDMF;<br>Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise\<string>;|@ohos.data.UDMF.d.ts|
98|Added|NA|Class name: UDMF;<br>Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\<void>): void;|@ohos.data.UDMF.d.ts|
99|Added|NA|Class name: UDMF;<br>Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise\<void>;|@ohos.data.UDMF.d.ts|
100|Added|NA|Class name: UDMF;<br>Method or attribute name: function queryData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts|
101|Added|NA|Class name: UDMF;<br>Method or attribute name: function queryData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts|
102|Added|NA|Class name: UDMF;<br>Method or attribute name: function deleteData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts|
103|Added|NA|Class name: UDMF;<br>Method or attribute name: function deleteData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts|
104|Added|NA|Class name: UnifiedDataType;<br>Method or attribute name: AUDIO = 'File.Media.Audio'|@ohos.data.UDMF.d.ts|
105|Added|NA|Class name: Audio;<br>Method or attribute name: audioUri: string;|@ohos.data.UDMF.d.ts|
106|Added|NA|Class name: Intention;<br>Method or attribute name: DATA_HUB = 'DataHub'|@ohos.data.UDMF.d.ts|
107|Error code changed|Class name: DataAbilityPredicates;<br>Method or attribute name: limitAs(value: number): DataAbilityPredicates;<br>Old version information: IllegalPredicateException|Class name: DataAbilityPredicates;<br>Method or attribute name: limitAs(value: number): DataAbilityPredicates;<br>New version information: |@ohos.data.dataAbility.d.ts|
108|Error code changed|Class name: relationalStore;<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
109|Error code changed|Class name: relationalStore;<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;<br>Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
110|Access level changed|Class name: dataSharePredicates;<br>Method or attribute name: declare dataSharePredicates<br>Old version information: systemapi|Class name: dataSharePredicates;<br>Method or attribute name: declare dataSharePredicates<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
111|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: class DataSharePredicates<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: class DataSharePredicates<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
112|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
113|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: and(): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: and(): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
114|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: orderByAsc(field: string): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: orderByAsc(field: string): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
115|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: orderByDesc(field: string): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: orderByDesc(field: string): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
116|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: limit(total: number, offset: number): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: limit(total: number, offset: number): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
117|Access level changed|Class name: DataSharePredicates;<br>Method or attribute name: in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>Old version information: systemapi|Class name: DataSharePredicates;<br>Method or attribute name: in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>New version information: |@ohos.data.dataSharePredicates.d.ts|
118|Access level changed|Class name: sourcefile;<br>Method or attribute name: export type ValueType = number \| string \| boolean;<br>Old version information: systemapi|Class name: sourcefile;<br>Method or attribute name: export type ValueType = number \| string \| boolean;<br>New version information: |@ohos.data.ValuesBucket.d.ts|
119|Access level changed|Class name: sourcefile;<br>Method or attribute name: export type ValuesBucket = {<br><br>  [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>Old version information: systemapi|Class name: sourcefile;<br>Method or attribute name: export type ValuesBucket = {<br><br>  [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>New version information: |@ohos.data.ValuesBucket.d.ts|
120|Type changed|Class name: DataShareExtensionAbility;<br>Method or attribute name: context: ExtensionContext;<br>Old version information: |Class name: DataShareExtensionAbility;<br>Method or attribute name: context: ExtensionContext;<br>New version information: ExtensionContext|@ohos.application.DataShareExtensionAbility.d.ts|
121|Function changed|Class name: DataShareExtensionAbility;<br>Method or attribute name: context?: ExtensionContext;|Class name: DataShareExtensionAbility;<br>Method or attribute name: context: ExtensionContext;|@ohos.application.DataShareExtensionAbility.d.ts|
122|Function changed|Class name: PublishedItem;<br>Method or attribute name: data: string \| Ashmem;|Class name: PublishedItem;<br>Method or attribute name: data: string \| ArrayBuffer;|@ohos.data.dataShare.d.ts|
123|Function changed|Class name: relationalStore;<br>Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array;|Class name: relationalStore;<br>Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array \| Asset \| Assets;|@ohos.data.relationalStore.d.ts|
124