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 |
<!--
- 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
-------
f648e8d9c4 Cover 'order filtration' scenarios in API
0fd9270ae8 Add necessary filters
9e9ea63578 Adjust constract test response after 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 | based on #15504 |
| License | MIT |
<img width="910" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/ff02d8be-c365-4845-9bea-1e48dd07abde">
<!--
- 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
-------
[API][Admin] Add GET endpoints for product image resource
[Behat][API][Admin] Cover viewing images of product
[API][Shop] Adjust contract tests for product images
[API][Admin] Add POST endpoint for product image resource
[Behat][API][Admin] Cover adding images to existing product
[API][Admin] Add DELETE endpoint for product image resource
[Behat][API][Admin] Cover removing images of product
[API][Admin] Add PUT endpoint for product image resource
[API][Admin] Add missing owner field to contract tests responses of product images
[Behat][API][Admin] Cover changing images of product
[API] Fixes to managing product images according to the changes on managing taxon images
[API][Admin] Add managing product variants on product images
[API][Admin] Validate product variants on product images
[Behat][API][Admin] Add scenarios for managing product variants on product images
[API][Admin] Add filtering product images by product variant
Fix static analysis
[API][Admin] Add missing product variants of images to product response
[API][Admin] Fix problem with getting non-scalar value from parameter bag
[API][Admin] Improve request body schema for product image POST endpoint
[API] Extract controllers definitions to a separate file
[API] Fixes after PR review
[Core] Fix service id of validator for checking product images variants
* 1.12:
[CS][DX] Refactor
Resolve phpstan issues
Resolve psalm issues
Fix Spec tests
Update src/Sylius/Component/Product/Resolver/DefaultProductVariantResolver.php
Using findBy to avoid PSALM error
Add Scenario to test default variant
Add orderBy position and id to get the same sets used on ->getEnabledVariants()
mention about service new argument
Add deprecation notice mention by @diimpp
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
-------
[PromotionBundle] Add PromotionActionValidator class
[PromotionBundle] Add PromotionRuleValidator class
[CoreBundle] Add ChannelCodeCollectionValidator class
[CoreBundle] Add validators
[PromotionBundle] Add tests of PromotionActionValidator and PromotionRuleValidator
[ApiBundle] Add validation for PromotionAction
[ApiBundle] Add validation for PromotionRule
[CoreBundle] Add ProductCodeExistsValidator class
Add contract test for Promotion
Resolve psalm issues
Resolve phpstan issues
Add behat tests for Promotion
Resolve phpstan issues
Change check at PromotionActionGroupValidatorSpec
Add validation filters of PromotionAction
Change type at PromotionActionValidatorSpec
Resolve phpstan isssues
[ApiBundle][Promotion] Enable auto-increment of priority via API when set to -1
[CoreBundle] Rename no_exist to not_exist
[Behat][Api] Change default value to -1
Remove unnecessary comments
[Behat][Promotion] Add setting promotion to the lowest priority scenario.