CartManager/CartItemInterface now includes the getCustomProperties() and setCustomProperties() methods for custom properties.
setCustomProperties in AbstractCartItem now stores properties as a bag ($this->customProperties = $customProperties) instead of calling individual setters for each key.
The $params parameter has been renamed to $customProperties in the following methods. This is a breaking change for code using named arguments (e.g. addItem(params: [...])):