Update UPGRADE-2.2.md

This commit is contained in:
Tomasz Kaliński 2026-06-18 14:12:21 +02:00
parent c070c1a1ae
commit 536acb44a9

View file

@ -1,3 +1,13 @@
# UPGRADE FROM `2.2.6` TO `2.2.7`
## Bahavior changes
1. The `LiveComponentTagPass` and `TwigComponentTagPass` in `SyliusUiBundle` were registered with a priority of `500`,
which caused them to run before Symfony's autoconfiguration passes (priority `100`).
As a result, services tagged via `#[AutoconfigureTag]` or `registerForAutoconfiguration()` with the `sylius.twig_component`
or `sylius.live_component.*` tag did not receive the `twig.component` tag.
The priority has been lowered to `50` to ensure Symfony's autoconfiguration runs first.
# UPGRADE FROM `2.1` TO `2.2`
## Telemetry
@ -53,14 +63,6 @@ SYLIUS_TELEMETRY_SALT=your-custom-salt
1. The `Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface::updateFromReview()` method has been deprecated and will be removed in Sylius 3.0. Use state machine mechanism implemented by Symfony Workflow instead.
## Bahavior changes
1. The `LiveComponentTagPass` and `TwigComponentTagPass` in `SyliusUiBundle` were registered with a priority of `500`,
which caused them to run before Symfony's autoconfiguration passes (priority `100`).
As a result, services tagged via `#[AutoconfigureTag]` or `registerForAutoconfiguration()` with the `sylius.twig_component`
or `sylius.live_component.*` tag did not receive the `twig.component` tag.
The priority has been lowered to `50` to ensure Symfony's autoconfiguration runs first.
## Admin UI
1. A new `modal-portal.js` script has been added to `AdminBundle`.