Update CHANGELOG and UPGRADE-API for 2.2.7 release adjustments

This commit is contained in:
Tomasz Kaliński 2026-06-01 16:21:41 +02:00
parent ca0e3eff98
commit 6df4eb7b33
2 changed files with 11 additions and 9 deletions

View file

@ -48,15 +48,6 @@ The `Sylius\Bundle\CoreBundle\Validator\Constraints\OrderPaymentMethodEligibilit
`Sylius\Bundle\ApiBundle\Validator\Constraints\OrderPaymentMethodEligibilityValidator` now checks also if
payment method is assigned to the channel of the order.
## Shop API
1. The `Sylius\Bundle\ApiBundle\Doctrine\ORM\QueryExtension\Shop\Product\ChannelAndLocaleBasedExtension` service (`sylius_api.doctrine.orm.query_extension.shop.product.channel_and_locale_based`)
now implements `QueryItemExtensionInterface` in addition to `QueryCollectionExtensionInterface`.
The service is tagged with `api_platform.doctrine.orm.query_extension.item`.
If you decorate this service, make sure your decorator also implements
`ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface` and proxies the `applyToItem` method.
# UPGRADE FROM `2.1.12` TO `2.1.13`
### Telemetry improvements

View file

@ -1,3 +1,14 @@
# UPGRADE FROM `2.2.6` TO `2.2.7`
## Shop API
1. The `Sylius\Bundle\ApiBundle\Doctrine\ORM\QueryExtension\Shop\Product\ChannelAndLocaleBasedExtension` service (`sylius_api.doctrine.orm.query_extension.shop.product.channel_and_locale_based`)
now implements `QueryItemExtensionInterface` in addition to `QueryCollectionExtensionInterface`.
The service is tagged with `api_platform.doctrine.orm.query_extension.item`.
If you decorate this service, make sure your decorator also implements
`ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface` and proxies the `applyToItem` method.
# UPGRADE FROM `2.1` TO `2.2`
## Modified routes