Removal of CookiesKnockOutService is a breaking change

Created on 6 March 2024, 8 months ago
Updated 20 March 2024, 8 months ago

Problem/Motivation

As a developer we have integrated our modules into your modules user consent management. We used your examples for this and use the class CookiesKnockOutService.
The changes with release 1.2.10 and issue https://www.drupal.org/project/cookies/issues/3422880 Convert CookiesKnockOutService in service Needs review are breaking changes introduced in a minor version.

The following error raises the white screen of death for drupal installations:
Error: Call to undefined method Drupal\cookies\CookiesKnockOutService::getInstance()

Steps to reproduce

Proposed resolution

We fixed our implementations, but your changes may break other implementations too.
It may have been better to just deprecate the service class CookiesKnockOutService for the 1.x-branch and remove it with the release of 2.0.0.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

🇩🇪Germany harkonn

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

Comments & Activities

Production build 0.71.5 2024