1# ArkUI Subsystem Changelog
2
3## cl.arkui.1 Default Curve Parameter Change for Swiper Component
4
5**Access Level**
6
7Other
8
9**Reason for Change**
10
11Specification optimization.
12
13**Change Impact**
14
15When the **curve** parameter is not set for the **Swiper** component, the default curve changes from **Linear** to **interpolatingSpring(-1,1,328,34)**.
16
17**API Level**
18
198
20
21**Change Since**
22
23OpenHarmony SDK 5.0.0.16
24
25**Key API/Component Changes**
26
27Affected component: **Swiper**
28Before change: The default curve for **Swiper** was **Linear**.
29After change: The default curve for **Swiper** is **interpolatingSpring(-1,1,328,34)**.
30
31![Example of Swiper Curve Change](figures/curveDiff.gif)
32
33**Adaptation Guide**
34
35The default behavior has changed, no adaptation is needed, but you should ensure that the new default effect meets expectations. If it does not, custom modifications to the effect control variables should be made to achieve the desired outcome.
36
37## cl.arkui.2 Attribute Change When Component Size Is Not Set and Margin Exceeds Component Size
38
39**Access Level**
40
41Public API
42
43**Reason for Change**
44
45When the component's width and height are not set and the margin exceeds the component's size, it will compress the component's size to zero.
46
47**Change Impact**
48
49This change is non-compatible.
50
51Before the change in API version 12, when the component's width and height were not set, and the set margin exceeded the component's size, the compression did not take effect, and the component maintained its original size.
52
53After the change in API version 12, when the component's width and height are not set, and the set margin exceeds the component's size, the compression takes effect, and the component's width and height are compressed to zero.
54
55**Start API Level**
56
579
58
59**Change Since**
60
61OpenHarmony SDK 5.0.0.16
62
63**Key API/Component Changes**
64
65Components with overly large margins
66
67**Adaptation Guide**
68
69Reduce the margin appropriately so that the component can be displayed, or set the width and height of the component so that its size is not affected by the margin.