1# ArkData Changelog 2 3## cl.ArkData.1 Asset Property Type Change 4 5**Access Level** 6 7Public API 8 9**Reason for Change** 10 11In OpenHarmony 5.0 Beta1, the **undefined** type is added for **Asset** properties, which undermines the universality of **Asset**. 12 13**Change Impact** 14 15This change is a non-compatible change. The **Asset** properties no longer support the **undefined** type. 16 17If the **undefined** type has been used in your code, the code compilation will fail due to type mismatch. 18 19**Start API Level** 20 2111 22 23**Change Since** 24 25OpenHarmony SDK 5.0.0.31 26 27**Key API/Component Changes** 28 29Asset/Data Common Type (**commonType**) 30 31**Adaptation Guide** 32 33For application projects that use the **undefined** type in **Asset** properties, the properties of the **undefined** type must be changed to an empty string. 34 35For other application projects that use the **Asset** properties, set the properties to an empty string to solve the data overwriting problem. 36 37## cl.ArkData.2 setSessionId() Behavior Change 38 39**Access Level** 40 41Public API 42 43**Reason for Change** 44 45When data is synced via distributed data objects, the system attempts to set up connections with all the devices on the network with the same account and sync data. However, data sync is not necessary for the devices without distributed data objects. Therefore, unnecessary data sync causes waste of system resources. 46 47**Change Impact** 48 49This change is a non-compatible change. After the change, data sync via distributed data objects is allowed only between devices in [cross-device migration](../../../application-dev/application-models/hop-cross-device-migration.md) or [multi-device collaboration](../../../application-dev/application-models/hop-multi-device-collaboration.md). For the applications that do not support cross-device migration or multi-device collaboration, data will not be automatically synced if distributed data objects are used. 50 51**Start API Level** 52 539 54 55**Change Since** 56 57OpenHarmony SDK 5.0.0.31 58 59**Key API/Component Changes** 60 61setSessionId/Distributed data object (**data_object**) 62 63**Adaptation Guide** 64 65For details, see the sample code in [Using Distributed Data Objects in Cross-Device Migration](../../../application-dev/database/data-sync-of-distributed-data-object.md#using-distributed-data-objects-in-cross-device-migration) and [Using Distributed Data Objects in Multi-Device Collaboration](../../../application-dev/database/data-sync-of-distributed-data-object.md#using-distributed-data-objects-in-multi-device-collaboration). 66