Skip to main content
Version: v12.1

BC-Changes for Version 11.10.x

This page documents the breaking changes coming with version 11.10.x. These changes should be taken into account to ensure a flawless migration.


Changes to events

Event names and corresponding constants have been renamed and restructured:

BeforeAfter
Twocream\DeepLBundle\MessageQueue\Event\ObjectTranslateEventsTwocream\DeepLBundle\Event\TranslationEvents
PRE_TRANSLATION = 'twocream.deepl.queue.preTranslation'PRE_TRANSLATION_OBJECT = 'twocream.deepl.queue.preTranslation.object'
POST_TRANSLATION = 'twocream.deepl.queue.postTranslation'POST_TRANSLATION_OBJECT = 'twocream.deepl.queue.postTranslation.object'

Changes to classes, methods and queue messenger

Some classes, methods and queues have been renamed or functionally adjusted:

BeforeAfter
Twocream\DeepLBundle\MessageQueue\EventListener\ObjectTranslationListenerTwocream\DeepLBundle\EventSubscriber\ElementTranslationSubscriber
getDataObjectConfigurationgetDataObjectConfiguration (note new parameters)
writeDataObjectConfigurationwriteConfiguration (neue Parameter beachten)
twocream_deepl_object_translation (Queue)twocream_deepl_translation
failed_twocream_deepl_object_translation (Queue)failed_twocream_deepl_translation
Twocream\DeepLBundle\MessageQueue\Handler\ObjectTranslateHandlerTwocream\DeepLBundle\MessageQueue\Handler\ElementTranslationHandler

Notice: The corresponding Cronjob must also be adjusted to the new queue name. See Installation


Rework of translation handling via messenger queue

The delivery of translation information to the messenger queue has been reworked. The message has been cleaned up and the DTO (Data Transfer Object) TranslationContext was introduced. It is used to handle type-specific translation information for the messenger queue. See Translation Queue