Summary

Subsystem Change Type Change Description
Bundle management subsystem Bottom-layer implementation changed 1. The bottom layer implementation of getAllBundleInfo in ohos.bundle.d.ts is changed.
2. The bottom layer implementation of getAllApplicationInfo in ohos.bundle.d.ts is changed.
Bundle management subsystem API permission changed 1. The permission on getAllBundleInfo in ohos.bundle.bundleManager.d.ts is changed.
2. The permission on getAllApplicationInfo in ohos.bundle.bundleManager.d.ts is changed.
Bundle management subsystem API/Component changed 1. The getSpecifiedDistributionType API is moved from ohos.bundle.installer.d.ts to ohos.bundle.bundleManager.d.ts.
2. The getAdditionalInfo API is moved from ohos.bundle.installer.d.ts to ohos.bundle.bundleManager.d.ts.
Bundle management subsystem API/Component changed proxyDatas is renamed proxyData.
Bundle management subsystem Configuration file changed schema in the module.json file is changed.
OS multimedia subsystem Enumeration declaration changed The audio output stream type is changed from AUDIOSTREAM_TYPE_RERNDERER to AUDIOSTREAM_TYPE_RENDERER.
OS multimedia subsystem Enumerated value changed 1. For the OH_AudioStream_Usage enum, the enumerated value AUDIOSTREAM_USAGE_MEDIA is deleted, and AUDIOSTREAM_USAGE_COMMUNICATION is changed to AUDIOSTREAM_USAGE_VOICE_COMMUNICATION and AUDIOSTREAM_USAGE_VOICE_ASSISTANT.
2. The enumerated value AUDIOSTREAM_SAMPLE_F32LE is deleted for the OH_AudioStream_SampleFormat enum.
OS multimedia subsystem Input parameter changed The input parameter content is deleted from getAudioEffectInfoArray.
Application access control Permission changed Change of the Permission Requesting Modes of the Phone, Messaging, and Call Logs Permission Groups
Application access control Permission group changed Change of the Media and Files Permission Group:
Moved ohos.permission.MEDIA_LOCATION to the Images and Videos permission group.
Moved ohos.permission.READ_MEDIA and ohos.permission.WRITE_MEDIA to the Documents permission group.
Distributed data management API/Component changed Change of ValuesBucket to a Public Interface
Distributed data management API/Component changed Change of Some Predicate Interfaces in dataSharePredicates to Public Interfaces
Distributed data management API/Component changed Change of the DataShareExtensionAbility Context
Distributed data management API/Component changed Change of the Return Value Type of Function Pointer Variables in the OH_Predicates Struct from OH_Predicates to OH_Predicates *
Distributed data management API/Component changed Change of the Error Codes of the OH_Rdb_ErrCode Struct
Distributed data management Variable changed (Native) 1. Change of int (*close)(OH_Cursor *cursor) in OH_Cursor Struct to int (*destroy)(OH_Cursor *cursor)
2. Change of int (*destroyPredicates)(OH_Predicates *predicates) in OH_Predicates Struct to int (*destroy) (OH_Predicates *predicates)
3. Change of int (*destroyValueObject)(OH_VObject *valueObject) in OH_VObject Struct to int (*destroy) (OH_VObject *valueObject)
4. Change of int (*destroyValuesBucket)(OH_VBucket *bucket) in OH_VBucket Struct to int (*destroy) (OH_VBucket *bucket)
Distributed data management Variable changed (Native) Change of OH_Rdb_Config Struct Member Variables:
1. Changed the type of securityLevel from enum OH_Rdb_SecurityLevel to in.
2. Deleted the member variable path.
3. Added the member variables selfSize, dataBaseDir, storeName, bundleName, and moduleName.
Distributed data management API input parameter changed (Native) Change of const char *path in OH_Rdb_DeleteStore() to const OH_Rdb_Config *config
Distributed hardware API permission changed Change of Some API Permissions
Multimedia subsystem Input parameter changed The input parameter content is deleted from getAudioEffectInfoArray.
Multimedia subsystem API changed The APIs related to audio track switching are deleted.
Ability - widget framework API permission changed Some APIs are moved from ohos.app.form.formHost.d.ts and their permission is changed.
Ability - widget framework API parameter changed The callback parameter is moved as the last parameter in the event subscription and unsubscription APIs (on/off).
Pan-sensor subsystem API/Component changed The attributes VibrateFromFile (custom vibration effect) and HapticFileDescriptor (file descriptor of the custom vibration configuration file) are added. The vibration effect supported by startVibration is extended from VibrateEffect = VibrateTime | VibratePreset to VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile.
File management (media library) API/Component changed Change of the mediaLibrary Interface Compatibility
Communication API/Component changed Change of the API Name

NOTE

Unless otherwise specified, the changes described in this topic are ArkTS API changes.