1# Pasteboard Subsystem Changelog 2 3OpenHarmony 4.0.3.2 has the following changes in the APIs of the pasteboard subsystem: 4 5## cl.pasteboard.1 convertToTextV9 API Change 6 7Renamed **convertToTextV9** **toPlainText()** and changed the API from asynchronous to synchronous. 8 9**Change Impact** 10 11Applications developed using the **convertToTextV9** API in versions earlier than OpenHarmony 4.0.3.3 cannot be used in OpenHarmony 4.0.3.3 and later versions. 12 13**Key API/Component Changes** 14 15- Involved APIs: 16 17 function convertToTextV9 18 19- Before change: 20 21 ```ts 22 convertToTextV9(callback: AsyncCallback<string>): void; 23 convertToTextV9(): Promise<string>; 24 ``` 25 26- After change: 27 28 ```ts 29 toPlainText(): string; 30 ``` 31 32 33**Adaptation Guide** 34 35Replace **convertToTextV9**, an asynchronous API, with **toPlainText**, a synchronous API. 36 37## cl.pasteboard.2 ShareOption Enum Name Change 38 39Changed the enum names of **ShareOption** from UpperCamelCase to all caps. 40 41**Change Impact** 42 43Applications developed using the **InApp/LocalDevice/CrossDevice** attributes in versions earlier than OpenHarmony 4.0.3.3 cannot be used in OpenHarmony 4.0.3.3 and later versions. 44 45**Key API/Component Changes** 46 47ShareOption<sup>9+</sup> 48 49Before change: 50| Name| Value| Description | 51| ---- |---|-------------------| 52| InApp | 0 | Only intra-application pasting is allowed. | 53| LocalDevice | 1 | Paste is allowed in any application on the local device.| 54| CrossDevice | 2 | Paste is allowed in any application across devices. | 55 56 57After change: 58| Name| Value| Description | 59| ---- |---|-------------------| 60| INAPP | 0 | Only intra-application pasting is allowed. | 61| LOCALDEVICE | 1 | Paste is allowed in any application on the local device.| 62| CROSSDEVICE | 2 | Paste is allowed in any application across devices. | 63 64**Adaptation Guide** 65 66Perform adaptation based on the new semantics. 67