* 2.0: (547 commits)
[Admin][UX] Filter translatable autocomplete results based on current locale [Admin][DX] Extract translatable autocomplete processing to a separate form type
[Behat] Add possibility to accepting null as value in response checker
[Maintenance] Enable non-UI tests in CI
Fixes after CR
Changes after CR
[Admin][Product] Enable and fix tests
[Admin][Product] Add view in store button
Remove final from the Zone's form component
Review fixes
[Admin][UI] Add error indicators for form tabs and accordions
[Admin][Taxon] Rename FormImageElement to ImageFormElement
[Admin][Taxon] Split media more granularly
[Admin][Taxon] Remove unnecessary code
[Taxon][Behat] Extract management of image to separate form element.
[Behat] Extract waitForFormUpdate function to CrudFormElement
[Behat] Submit live component before submitting the form
[Admin][Taxon][Image] Enable behat tests
[Admin][Taxon] Implements media management
[Admin][Product][Inventory] Enable behat tests
[Admin][Zone] Move FormComponent
...
* 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
...
* 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
...
* 2.0:
[ShipmentBundle] Add symfony workflow configuration for Shipment
[CoreBundle] Add Shipment transition listeners
[CoreBundle] Add symfony workflow configuration for Shipment
Fix failing phpspec scenario on Symfony 6.3.5 and above
Fix failing phpspec scenario on Symfony 6.3.5 and above
Fix failing phpspec scenario on Symfony 6.3.5 and above
Services definition fix after review
Fixes after review
[Bunnyshell] Bump the PHP version to 8.2 in the php Dockerfile
[ECS] Apply ecs fixes
[ShippingBundle] Change deprecated Calendar class
[Maintenance] Deprecate using `parentId` in TaxonSlugController
Add newline to align with other public method
* 1.13:
[ECS] Apply ecs fixes
[ShippingBundle] Change deprecated Calendar class
[Maintenance] Deprecate using `parentId` in TaxonSlugController
Add newline to align with other public method
* 1.12:
Provide post-CR fixes
Fix static analysis
Adjust scenarios to use less technical language
Prevent placing an order with not available shipping method
Add behat scenario covering preventing a placing an order with a disabled shipping method
Add behat scenario covering expires session while cart updating
[API] Fix CommandDenormalizer ignoring custom property names
Update OrderController.php with early return
check before refreshing from db
* 1.11:
[PHPStan] Exclude SqlWalker because of a memory issue
[Core][Configuration] Add sylius_core.order_by_identifier parameter
[PHPUnit] Test OrderByIdentifierSqlWalker
Default order by in to-many associations
Add OrderByIdentifierSqlWalker
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<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | partially #14019 |
| License | MIT |
Written during the journey to the SyliusCon, so lit 🔥😆
Commits
-------
67004338e1 [PHPStan] Bump to level 3 (#14019)
This PR was merged into the 1.11 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.11 |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | |
| License | MIT |
It's the highest time 🖖
Commits
-------
5bebfc5490 Revert ReflectionExtractor hot-fix
This PR was merged into the 1.12-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | 1.11
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | none
| License | MIT
While in Symfony 5 the `Symfony\Bundle\FrameworkBundle\Templating\EngineInterface` was removed, in Sylius there were still references to that interface in docblock comments.
With Sylius 1.11 ([with this commit](ced91b9bd6)) the type hint has been promoted to a PHP type hint. This normally does not cause any problem because apparently the class loading is lazy and does not try to load the non-existent interface.
But if PHP OPCache preload is used, like suggested [here](https://symfony.com/doc/current/performance.html#use-the-opcache-class-preloading), it appears that PHP switches to eager class loading and you get the following fatal error:
```
NOTICE: PHP message: PHP Fatal error: Failed to load class Symfony\Bundle\FrameworkBundle\Templating\EngineInterface used by typed property Sylius\Bundle\ShopBundle\Controller\SecurityWidgetController::$templatingEngine during preloading in Unknown on line 0
```
With this PR we propose to remove all references to the old interface as Symfony 4 is not supported anymore by Sylius.
Commits
-------
1b555f948d Remove references to old Symfony FrameworkBundle EngineInterface