From 1fa17ce718fdeeb1eb553c7954d905d7fc8c3609 Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Fri, 13 Nov 2026 17:31:09 +0100 Subject: [PATCH] [TASK] Prepare release 7.0.0 Co-Authored-By: Claude Opus 5.5 --- .../Breaking-125-MakeEventListenersFinal.rst | 32 +++++++++++++++++++ .../7.0/Breaking-125-RemoveSlugUpdater.rst | 26 +++++++++++++++ Documentation/Changelog/7.0/Index.rst | 10 ++++++ Documentation/guides.xml | 2 +- 4 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 Documentation/Changelog/7.0/Breaking-125-MakeEventListenersFinal.rst create mode 100644 Documentation/Changelog/7.0/Breaking-125-RemoveSlugUpdater.rst diff --git a/Documentation/Changelog/7.0/Breaking-125-MakeEventListenersFinal.rst b/Documentation/Changelog/7.0/Breaking-125-MakeEventListenersFinal.rst new file mode 100644 index 0000000..90fac71 --- /dev/null +++ b/Documentation/Changelog/7.0/Breaking-125-MakeEventListenersFinal.rst @@ -0,0 +1,32 @@ +.. include:: ../../Includes.rst.txt + +================================================ +Breaking: #125 - Make all event listeners final +================================================ + +See `Pull Request 125 `__ + +Description +=========== + +All event listeners are `final` and `readonly` now. Their properties +and helper methods are `private`. + +`Classes/EventListener/CheckProductAvailability.php` +`Classes/EventListener/Order/Stock/FlushCache.php` +`Classes/EventListener/Order/Stock/HandleStock.php` +`Classes/EventListener/RetrieveProductsFromRequest.php` + +The identifiers of the event listeners are unchanged. + +Affected Installations +====================== + +All installations extending one of the event listeners. + +Migration +========= + +Copy the code of the event listener into your own class and add your +changes there. Register your own class as event listener in the service +configuration of your extension. diff --git a/Documentation/Changelog/7.0/Breaking-125-RemoveSlugUpdater.rst b/Documentation/Changelog/7.0/Breaking-125-RemoveSlugUpdater.rst new file mode 100644 index 0000000..13115c8 --- /dev/null +++ b/Documentation/Changelog/7.0/Breaking-125-RemoveSlugUpdater.rst @@ -0,0 +1,26 @@ +.. include:: ../../Includes.rst.txt + +===================================== +Breaking: #125 - Remove slug updater +===================================== + +See `Pull Request 125 `__ + +Description +=========== + +The upgrade wizard `cartEventsSlugUpdater` +(`Extcode\CartEvents\Updates\SlugUpdater`) is removed. It generated the +slug field `path_segment` for events without a slug. + +Affected Installations +====================== + +All installations with events without a slug that did not run the +upgrade wizard yet. + +Migration +========= + +Run the upgrade wizard "Updates slug field "path_segment" of +EXT:cart_events records" with cart_events 6.x before upgrading to 7.0. diff --git a/Documentation/Changelog/7.0/Index.rst b/Documentation/Changelog/7.0/Index.rst index 4698d33..013cb69 100644 --- a/Documentation/Changelog/7.0/Index.rst +++ b/Documentation/Changelog/7.0/Index.rst @@ -9,3 +9,13 @@ .. contents:: :local: :depth: 1 + +Breaking +-------- + +.. toctree:: + :maxdepth: 1 + :titlesonly: + :glob: + + Breaking-* diff --git a/Documentation/guides.xml b/Documentation/guides.xml index 55d8bae..c589ac1 100644 --- a/Documentation/guides.xml +++ b/Documentation/guides.xml @@ -13,7 +13,7 @@