2.1.0 unannounced compatibility break

Created on 11 March 2025, 23 days ago

Problem/Motivation

2.1.0 introduces a change in the Add to Cart link constructor that may affect to sites that manually instantiates this class.

This API change is not announced in the release notes and could potentially break sites.

Steps to reproduce

* Install module in version 2.0.6
* Manually instantiate for any reason AddToCartLink or AddToWishListLink class
* Upgrade to 2.1.0
* Site breaks because the 2 constructor parameter is required

Proposed resolution

Add BC dance to deprecate the old constructor and give time to site admins to adapt their sites.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain plopesc Valladolid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024