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
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? | 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.
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
-------
04dc0b504d [API] Cover payment method management
b213efbc80 [Behat] Cover API scenarios
116d2dead0 Prevent removing payment method that is in use
9c462870eb Add contract tests
80be385cfe Adjust existing tests to changes
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
-------
a0b29867eb Cover editing and deleting channels
f8222e5a4c [Behat] Add api tag to managing channel scenarios
67761b9626 [Behat] Add replaceRequestData method to ApiPlatformClient
6e0edf1db3 Prevent from deleting last available channel
4b9df1dc0b Add put operation to ShopBillingDataResource
3b7a343ddb Update ChannelDenormalizer to create ShopBillingData by default
53a120af07 Update upgrade file
14a94c043b [Behat] Create shopBillingData by default in channel setup step
8d4214d18c Refactor checking whether the channel can be deleted
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
-------
2df7d79909 [ApiBundle] Add customer resource to APIP2, admin scope
b962bfb6fc [ApiBundle] Add behat tests for customer resources
df266cc161 ApiBundle] Add customer modification feature to APIP2
1549c9d4b8 [ApiBundle] Add behat tests for customer resources
3801a7c293 [ApiBundle] Remove unused field
f2cae6f456 [ApiBundle][Swagger] Hide shop user get endpoint
b287891ca2 [ApiBundle] Add filtering customers by groups
fa0ad8d3a7 [ApiBundle] Add contract tests for Customer Api resources
a84513bb19 [ApiBundle] Add validation group to put action on customer
d53ed1413e [ApiBundle] Add notified password step to ManagingCustomersContext
0ccbcf8943 [ApiBundle] ManagingCustomersContext - refactor methods for simplicity
0cd1fa74d2 [ApiBundle] Unify behat tests for customer management
90f7a1b788 [ApiBundle] Remove endpoint subresource order for customer and use endpoint order with customer filter
2d50bd66a8 [ApiBundle] Fix seeing customer's basic information test
ba5c4e8ffb [ApiBundle] Fix seeing customer's basic information test
dddf3c5198 [ApiBundle] Remove order property from customer
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 |
| 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][Admin] Extend GET endpoints for getting product variants
[API][Admin] Extend POST endpoint for creating a product variant
[API][Admin] Extend PUT endpoint for updating the product variant
[API][Admin] Add DELETE endpoint for product variant resource
[Behat][API] Cover scenarios for adding a product variant
[Behat][API] Cover scenarios for browsing product variants
[Behat][API] Cover scenarios for deleting a product variant
[API][Behat] Mark scenarios for generating product variants as no-api
[API][Behat] Cover scenarios for editing and validating product variants
[API] Validate option values on product variants
Fix CS and static analysis
[API] Fix contract tests after changing fixtures for product variants
[Behat][API] Extract some steps to separate contexts to resolve duplications
[Behat][API] Change setting code on option value to resolve problem with case sensitive PostgreSQL
* 1.12:
[PostgreSQL] Handle DriverException gracefully with 22P02 SQLState
[Orders][Shop] Improve order item quantity change validation
[Unit][Orders] Add tests for items quantity change
[Orders][Shop] Add checkout completion validation
[Unit][Orders] Add tests for checkout completion
[Unit][Orders] Add tests for preventing from order completion
[Orders][Shop] Add shipment validation when trying to assign shipping method
[Unit][Orders] Add test for validating shipmentId when trying to assign shipping method
[Unit][Utils] Introduce ContentType helper class
[Orders] Add missing order payment configuration endpoint validation
[Unit][Orders][Shop] Add test for validation invalid payment param
[Unit][Orders][Shop] Add test for invalid uri param validation
[Unit][Orders][Shop] Extract helper methods