1# Web Subsystem Changelog
2
3Compared with earlier versions, OpenHarmony 4.0.6.1 has the following API changes in its web subsystem:
4
5## cl.web.1 Parameters in createWebMessagePorts
6
7Added an optional parameter to the **WebMessagePort** API to accommodate more data types.
8
9**Change Impact**
10
11None (The added parameter is optional, and the API is forward compatible.)
12
13**Key API/Component Changes**
14
15- Involved APIs:
16
17  createWebMessagePorts(): Array\<WebMessagePort>;
18
19- Before change:
20
21  ```ts
22  createWebMessagePorts(): Array<WebMessagePort>;
23  ```
24
25- After change:
26
27  ```ts
28  createWebMessagePorts(isExtentionType?: boolean): Array<WebMessagePort>;
29  ```
30
31**Adaptation Guide**
32
33N/A
34