Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. include:: ../../Includes.rst.txt

================================================
Breaking: #125 - Make all event listeners final
================================================

See `Pull Request 125 <https://github.com/extcode/cart_events/pull/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.
26 changes: 26 additions & 0 deletions Documentation/Changelog/7.0/Breaking-125-RemoveSlugUpdater.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. include:: ../../Includes.rst.txt

=====================================
Breaking: #125 - Remove slug updater
=====================================

See `Pull Request 125 <https://github.com/extcode/cart_events/pull/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.
10 changes: 10 additions & 0 deletions Documentation/Changelog/7.0/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@
.. contents::
:local:
:depth: 1

Breaking
--------

.. toctree::
:maxdepth: 1
:titlesonly:
:glob:

Breaking-*
2 changes: 1 addition & 1 deletion Documentation/guides.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<project title="Cart Events"
release="7.0.0"
version="7.0"
copyright="2018 - 2025"
copyright="2018 - 2026"
/>
<inventory id="t3tsref" url="https://docs.typo3.org/typo3cms/TyposcriptReference/"/>
</guides>
Loading