diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md b/en/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..7a0392510d07d52e02f813832b541c583c9faa6c --- /dev/null +++ b/en/release-notes/changelogs/OpenHarmony_4.0.8.6/changelogs-multimedia.md @@ -0,0 +1,17 @@ +# Multimedia Subsystem Changelog + +## cl.multimedia.1 Reference Paths Changed for the Audio/Video Encapsulation and Decapsulation Header Files + +| Header File | Original Reference Path | New Reference Path | +| ------------------------------- | ------------------------------------- | ------------------------------------- | +| native_avmuxer.h | | | +| native_avdemuxer.h | | | +| native_avsource.h | | | + +**Change Impact** + +Applications that use the involved APIs may have compatibility issues. + +**Adaptation Guide** + +Modify the reference paths when referencing the encapsulation and decapsulation header files. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md index d548acfdd27a44bb15e909ef61d4ce14853f2957..81e6a2850eba67f2e2ad8adc568037f19babc0c5 100644 --- a/en/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md +++ b/en/release-notes/changelogs/OpenHarmony_4.0.9.1/changelogs-bundlemanager.md @@ -14,7 +14,6 @@ The bottom-layer implementation is changed. The result value of **getAllBundleIn **Adaptation Guide** If your application uses **getAllBundleInfo** in **@ohos.bundle.d.ts**, replace it with **getAllBundleInfo** in **@ohos.bundle.bundleManager.d.ts**. For details about how to use the new API, see [API Reference](../../../application-dev/reference/apis/js-apis-bundleManager.md#bundlemanagergetallbundleinfo). - ```ets import bundleManager from '@ohos.bundle.bundleManager'; ``` @@ -34,7 +33,6 @@ The bottom-layer implementation is changed. The result value of **getAllApplicat **Adaptation Guide** If your application uses **getAllApplicationInfo** in **@ohos.bundle.d.ts**, replace it with **getAllApplicationInfo** in **@ohos.bundle.bundleManager.d.ts**. For details about how to use the new API, see [API Reference](../../../application-dev/reference/apis/js-apis-bundleManager.md#bundlemanagergetallapplicationinfo). - ```ets import bundleManager from '@ohos.bundle.bundleManager'; ``` @@ -113,13 +111,13 @@ To use **getAdditionalInfo**, import the **bundleManager** module. import bundleManager form '@ohos.bundle.bundleManager' ``` -## cl.bundlemanager.7 proxyDatas under Schema Renamed proxyData +## cl.bundlemanager.7 proxyDatas Renamed proxyData in the module.json5 File **proxyDatas** is renamed **proxyData**. **Change Impact** -After an update to the new image version, **proxyDatas** is renamed **proxyData**. Currently **proxyDatas** can still be used, but it will be deprecated soon. You are advised to replace **proxyDatas** with **proxyData** as soon as possible. +After an update to the new SDK version, **proxyDatas** is **renamed proxyData**. If your application is not adapted, the build will fail. **Key API/Component Changes** @@ -127,4 +125,5 @@ After an update to the new image version, **proxyDatas** is renamed **proxyData* **Adaptation Guide** -Replace **proxyDatas** with **proxyData**. \ No newline at end of file +Replace **proxyDatas** with **proxyData**. The content of **proxyDatas** does not need to be changed. + diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md new file mode 100644 index 0000000000000000000000000000000000000000..ce84729d285eaf27d0db2db7e050992c23b610fa --- /dev/null +++ b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-bundlemanager.md @@ -0,0 +1,16 @@ +# Bundle Management Subsystem Changelog +## cl.bundlemanager.1 schema in the module.json File Changed + +In the **module.json** file, the **name** attributes of the **module**, **ability**, and **extensionAbility** fields must start with a letter and contain only letters, digits, underscores (_), and dots (.). + +**Change Impact** + +After an update to the new SDK version, the build fails if the **name** attributes of these fields do not meet the preceding requirements. + +**Key API/Component Changes** + +In the **module.json** file, the **name** attributes of the **module**, **ability**, and **extensionAbility** fields must start with a letter and contain only letters, digits, underscores (_), and dots (.). + +**Adaptation Guide** + +Modify the **name** attributes for these fields accordingly to the new requirements. \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md new file mode 100644 index 0000000000000000000000000000000000000000..dd8e4f564113ffd39ae4c8c745fad59366addcef --- /dev/null +++ b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-media.md @@ -0,0 +1,23 @@ +# Media Subsystem ChangeLog + +## cl.media.1 Playback APIs Changed + +The APIs related to audio track switching are deleted. + +**Change Impact** + +These APIs are unavailable. + +**Key API/Component Changes** + +The deleted APIs are as follows: + +| Class | API | +| -------------- | ------------------------------------------------------------ | +| Media.Core | MD_KEY_LANGUAGE | +| Media.AVPlayer | selectTrack(index: number): void | +| Media.AVPlayer | deselectTrack(index: number): void | +| Media.AVPlayer | getCurrentTrack(trackType: MediaType, callback: AsyncCallback\): void | +| Media.AVPlayer | getCurrentTrack(trackType: MediaType): Promise\ | +| Media.AVPlayer | on(type: 'trackChange', callback: (index: number, isSelect: boolean) => void): void; | +| Media.AVPlayer | off(type: 'trackChange'): void | diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..fd52f4b4e8bd35704f53bcec7cfbea60423e3889 --- /dev/null +++ b/en/release-notes/changelogs/OpenHarmony_4.0.9.3/changelogs-multimedia.md @@ -0,0 +1,29 @@ +# Multimedia Subsystem Changelog + +## cl.multimedia.1 Deleted content from getAudioEffectInfoArray + +The input parameter **content** is deleted from **getAudioEffectInfoArray**. + +**Change Impact** + +Applications that use the involved APIs may have compatibility issues. + +**Key API/Component Changes** + +Before change: + + ```js +getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback): void; +getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise; + ``` + +After change: + + ```js +getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback): void; +getAudioEffectInfoArray(usage: StreamUsage): Promise; + ``` + +**Adaptation Guide** + +When calling this API, pass in only the input parameter **usage**. If **getAudioEffectInfoArray** is used in your application code, delete the **content** parameter.