* 2.0:
[Inventory] Fix deprecation note of sylius_inventory.checker configuration
[Inventory] Add deprecation for sylius_inventory.checker config
Add note to the UPGRADE file about changing the service argument
Using the service name for the availibilty checker
[API][Test] Minor updating of functions name
[Payum] Move validation groups configuration to PayumBundle
Move config to Core, SyliusPaymentBundle do not requires SyliusPayumBundle
[Api][Admin] Add ChannelNotFoundException to OrderAddressRequirementValidator
[Api][Admin] Change validation message of address requirement
[Api][Admin] Fix get channels test
[Api][Checkout] Add validation for required address
[Maintenance][API] Secure and cleanup openapi documentation modifiers
* 2.0: (776 commits)
Add missing validation for the customers first and last name
[CS][DX] Refactor
Bring back all Sylius' state machines to Winzou
Add overriding the Resource's state machine with the one from the Sylius abstraction
Add missing locales to contract test
[Taxon][Behat] validate translations with unexisting locales
[ShippingMethod][Behat] validate translations with unexisting locales
[Promotion][Behat] validate translations with unexisting locales
[Product][Behat] validate translations with unexisting locales
[PaymentMethod][Behat] validate translations with unexisting locales
Validate all translatable objects for unexisiting locales
Validate customer's password reset
Validate customer creation and edit
Make the validation trait more generic
[Api] Change namespace of TaxonImagesTest class
[Api] Remove _response suffix
[Behat] Minor improvments of viewing_taxon_image scenario
[Api][ProductImage] Add https prefix check
[Api][Admin] Allow using float for ratio in exchange rate
SYL-3329 Fix behat test for SyliusPayPalPlugin
...
This PR was merged into the 1.13 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.13
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | N/A
| License | MIT
Commits
-------
[Api][Shop] Get only accepted review in product
[API] Add DoctrineCollectionArrayValuesNormalizer class
[Api][Shop] Rename collection_array_values to collection_values
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<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | related to #15872 |
| 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
-------
[API][Shop] Add missing contract test for getting only locales from current channel
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<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | |
| 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
-------
[API][Shop] Minor clean up of address contract tests
[API][Admin] Fix address contract tests
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 | #13475
| License | MIT
Based on #15375, I have split this PR into "Archiving Cart Promotion" and "Archiving Catalog Promotion"
There are two cases to consider:
- Priority: it cannot be null and is assigned a "gedmo:sortable-position". This means that when we archive cart promotion, it still influences the position of all promotions.
- API changes: I have added added PATCH operations, which removes all null values from responses in promotions. So we need to decide whether to add `skip_null_values: false` across all operations or not?
Commits
-------
[Promotion] Add archivedAt to Promotion
[Promotion] Add promotion archiving
[Promotion][Behat] Add promotion archiving tests
[Promotion] Add PromotionArchivalEligibilityChecker class
[Api][Promotion] Add archivedAt to promotion
Fix phpstan
[Behat][Ui] Add a method to check if a promotion exists without opening the index page
[Behat][Ui] Add missing method
[Behat] Move archived promotion test to receiving_discount folder
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
-------
Cover handling order shipment
Cover accessing order from payments and shipments
Cover preventing to view customers cart from the orders resource
Remove no more valid scenarios
Use SectionProvider in OrderExtension
Move applyToCollection logic to private method and use in both cases
Rename fulfilled_order file to fulfilled
Add parameter for order state to filter out and fix the OrdrerExtension logic
* 2.0: (172 commits)
[Admin] Change name of official support section in menu and adjust translations
Add all translations & change label
Add business support CTA to admin panel
[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
[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
...
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