This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT

The example in the API documentation is now displayed correctly c:.
Commits
-------
Update the example response of the Customer's statistics endpoint
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT
Commits
-------
Add missing @no-api tags in editing_product_review.feature
Add missing @api tags in recalculating_product_average_rating.feature
Cover scenarios in sorting_product_variants_within_product_by_position.feature
Cover scenarios in filtering_product_reviews.feature
Provide post-CR fixes
Remove duplicated step
[Behat][API] Minor improvements in managing variants contexts
[Behat][API] Refactor scenarios of sorting variants to have the same for UI and API contexts
[Behat] Fix scenario of browsing accepted reviews for case-sensitive PostreSQL
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 |
| Bug fix? | kinda |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | related #15616 |
| License | MIT |
It's hacky as hell; caused by [this bug](https://github.com/api-platform/core/issues/1647), the only other way of fixing it is a migration but that sucks by itself. I'm guessing there are more convoluted ways as well but that's too much pain for the gain.
Commits
-------
[API][Admin] Allow using float for amount in tax rates
* 1.13:
[PromotionBundle] Add prefix to validation groups for promotion action/rule
[PromotionBundle][PromotionRule] Add available type to validation message
[PromotionBundle][PromotionAction] Add available type to validation message
Update upgrade file
[PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
[PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
Add prefix sylius_ to validation groups
Update upgrade file
[PromotionBundle] Remove constraints from FormType to avoid double constraints
[PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
[PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
[PromotionBundle] Add parameters validation groups for promotion action and promotion rule
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | N/A
| License | MIT
Commits
-------
e530c7d9ca [PromotionBundle] Add parameters validation groups for promotion action and promotion rule
235c7e0dd5 [PromotionBundle] Move logic from PromotionActionGroupValidator to PromotionActionValidator
53c31aa420 [PromotionBundle] Move logic from PromotionRuleGroupValidator to PromotionRuleValidator
36d2a5ac08 [PromotionBundle] Remove constraints from FormType to avoid double constraints
d56ce734c6 Update upgrade file
c021e3e3a1 Add prefix sylius_ to validation groups
99a94b92a3 [PromotionBundle] Split PromotionActionValidator to PromotionActionGroupValidator and PromotionActionTypeValidator
de77a13d2d [PromotionBundle] Split PromotionRuleValidator to PromotionRuleGroupValidator and PromotionRuleTypeValidator
eb4a50c92b Update upgrade file
dd50a6f3a6 [PromotionBundle][PromotionAction] Add available type to validation message
633cf30ab3 [PromotionBundle][PromotionRule] Add available type to validation message
1494fce8fe [PromotionBundle] Add prefix to validation groups for promotion action/rule
* 1.13:
[Admin] Change name of official support section in menu and adjust translations
Add all translations & change label
Add business support CTA to admin panel
[ECS] Apply types order changes
[ECS] Add union types ordering rule
[ECS] Apply ecs fixes
[ChannelsTest] use inArray to check locales
[ApiBundle] Add contract tests for ProductTaxon resource
[Behat] Add API test coverage for features/promotion/tracking_usage folder
[ApiBundle][CatalogPromotion] Add order filters
[ApiBundle][ProductTaxon] Move deleting productTaxon to productTaxon resource
Use HeadersBuilder in the Customer Statistics API test
Use query_bus instead of command_bus for query handlers
Add handling the GetCustomerStatistics query
Create the GetCustomerStatistics query and the GetCustomerStatisticsHandler
Remove fr translation
Add tests that form doesn't display Extra fields error after login in checkout
Update src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php
Prevent eager loading hundreds of countries
[Checkout] Prevent extra fields when login in on addressing page
* 1.12:
[Admin] Change name of official support section in menu and adjust translations
Add all translations & change label
Add business support CTA to admin panel
Remove fr translation
Add tests that form doesn't display Extra fields error after login in checkout
Update src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php
[Checkout] Prevent extra fields when login in on addressing page
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12|
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no|
| Related tickets | replaces #15436 |
| License | MIT |
<img width="248" alt="image" src="https://github.com/Sylius/Sylius/assets/6140884/2b58b7c1-7334-4e10-9bba-de393b525f05">
<!--
- Bug fixes must be submitted against the 1.12 branch
- Features and deprecations must be submitted against the 1.13 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
-------
Add business support CTA to admin panel
Add all translations & change label
[Admin] Change name of official support section in menu and adjust translations
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13 <!-- 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 |
Let's eliminate another ambiguous convention 🕺
Reference: https://github.com/Sylius/Sylius/pull/15598#discussion_r1419413777
Proposal:
- null at the end
- the remaining types in alphabetical order
Commits
-------
[ECS] Apply ecs fixes
[ECS] Add union types ordering rule
[ECS] Apply types order changes
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | N/A
| License | MIT
Commits
-------
9e8e797c81 [ApiBundle][ProductTaxon] Move deleting productTaxon to productTaxon resource
59c2798883 [ApiBundle][CatalogPromotion] Add order filters
4036f1f132 [Behat] Add API test coverage for features/promotion/tracking_usage folder
e8f1a0a831 [ApiBundle] Add contract tests for ProductTaxon resource
6de508c911 [ChannelsTest] use inArray to check locales
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | n/a
| License | MIT

Commits
-------
Create the GetCustomerStatistics query and the GetCustomerStatisticsHandler
Add handling the GetCustomerStatistics query
Use query_bus instead of command_bus for query handlers
Use HeadersBuilder in the Customer Statistics API test