This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A
|-----------------|--------------------------------------------------------------
| Branch? | 1.12
| Bug fix? | yes (For Symfony 6)
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | relates to #14162
| License | MIT
<!--
- Bug fixes must be submitted against the 1.11 branch
- Features and deprecations must be submitted against the 1.12 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
5f2ab45399 Enable authenticator manager
1b6ab8abe7 Trying to fix Unique reviewer email validator
a47aad3e1a Fix token based user context when user from token is null
7f6cc66e7b Fix for failing scenario when customer changing email
530e68ea3b [Events] Fixed cart blamin in API
5d9ad1efad UPGRADE file updated and review changes
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
This PR introduced a way to remove catalog promotions. As this operation may have an impact on the prices of the products, it is divided into two parts. First, ( if catalog promotion is eligible ) disabling considered promotion, and second, actually remove it. We can take advantage of Symfony messenger and the prepared configuration of three transports ( failed included ) or perform it without the messenger - synchronously.
<img width="860" alt="image" src="https://user-images.githubusercontent.com/40125720/187917517-9d6de750-f94c-470b-89fc-5acdfd3ed98b.png">
Configuration of transports:
<img width="566" alt="image" src="https://user-images.githubusercontent.com/40125720/190244016-0f251cc6-8a0f-4255-8fbb-90308e1acb64.png">
Commits
-------
f4d0ad7317 [CatalogPromotions][Behat] Implementation of scenarios
1f7a967880 [CatalogPromotions][API] Endpoint and controller for removing catalog promotion resource
cddde135bf [CatalogPromotions] CatalogPromotionRemovalProcessor introduced
cff41d9b8f [CatalogPromotions] RemoveInactiveCatalogPromotionHandler introduced
f6f4cf0824 [CatalogPromotions] New exception classes introduced
83edf53795 [CatalogPromotions][Messenger] New transport configuration introduced
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | |
| License | MIT |


Commits
-------
fcbe70edbc [Catalog Promotions] Drop unused CatalogPromotionFailedListener
ee2ccabbdc [Catalog Promotions][Behat] Unable to edit catalog promotion if it is currently being processed
ee13c84171 [Catalog Promotions] Drop unused "failed" state and add "processing" state to the state processor
8f519be7c0 [Catalog Promotions] Set "processing" state in CatalogPromotionAnnouncer
c0cca1e0ff [Maintenance] Update UPGRADE-1.12.md
8867a6fbc2 [Catalog Promotions] Set processing state in listeners instead of in announcer
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | master |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | |
| License | MIT |
To be consistent with what spec methods describe:
- `it_does_not_add_the_default_order_by_taxon_position_if_taxon_does_not_exist`
- `it_does_not_add_the_default_order_by_taxon_position_if_taxon_is_given_with_wrong_format`
Commits
-------
be02d10792 [API] Fix TaxonFilter default order behavior
This PR was merged into the 1.11 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.11 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/14268 |
| License | MIT |
This PR removes the `%kernel.project_dir%/config/api_platform` mapping path that was introduced in https://github.com/Sylius/Sylius/pull/12693. In API Platform 2.6 users' mapping configuration is overwritten with bundles' mapping. Because of it, developers cannot override resources in `config/api_platform` as Sylius overrides users' resources placed in `config/api_platform`. It's already fixed in APIP 2.7 but for now, this configuration doesn't work as intended.
We haven't noticed in unit tests that it breaks resource overriding because we have a distinction between `config/api_platform` and `config/api_resource`, where `api_resource` can override resources while `api_platform` can't. This distinction is something reasonable but for testing purposes, we should keep everything in one directory because it makes possible to test this bug.
Commits
-------
fe1d660e10 [API] Remove mapping path from configuration
This PR was merged into the 1.11 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.11 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | https://github.com/Sylius/Sylius/pull/14288 |
| License | MIT |
Commits
-------
80f7fe5a63 [Config] Mark SenderInterface as excluded in psalm.xml
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | yes |
| License | MIT |
<!--
- Bug fixes must be submitted against the 1.11 branch
- Features and deprecations must be submitted against the 1.12 branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
bfeab8043a refactor customer provider
This PR was merged into the 1.12 branch.
Discussion
----------
This PR has been generated automatically.
For more details see [refactor.yml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yml).
Commits
-------
5ceaffae33 [CS][DX] Refactor