Releases: Brille24/SyliusSpecialPricePlugin
Releases · Brille24/SyliusSpecialPricePlugin
1.11.0
What's Changed
- Require Sylius ^1.11 by @JakobTolkemit in #21
- Update phpstan/phpstan-doctrine requirement from 1.3.33 to 1.3.36 by @dependabot in #22
- Update phpstan/phpstan-doctrine requirement from 1.3.36 to 1.3.37 by @dependabot in #23
- Fix migrations dir by @JakobTolkemit in #24
- Include variant special pricings as a tab by @JakobTolkemit in #25
- Run behat in the pipeline by @JakobTolkemit in #26
- Update vimeo/psalm requirement from 5.8.0 to 5.9.0 by @dependabot in #27
New Contributors
- @dependabot made their first contribution in #22
Full Changelog: 1.10.1...1.11.0
Template path fix
Merge pull request #20 from MyUtd4Life/master Fix unable to find templates
Update to Sylius 1.10
Merge pull request #19 from JakobTolkemit/update_1.10 Update 1.10
Fix behat service
Merge pull request #18 from JakobTolkemit/update_sylius_1.9 Fix behat
Sylius 1.9
Merge pull request #17 from JakobTolkemit/update_sylius_1.9 Update to Sylius 1.9
1.8.2: Merge pull request #16 from JakobTolkemit/active_check_on_entity
Added missing default value for active method
1.8.1: Merge pull request #15 from JakobTolkemit/active_check_on_entity
Added a method to check if the special price is active for a given date
Sylius 1.8
Merge pull request #13 from JakobTolkemit/update_1.8 Update to Sylius 1.8
Adding new initialization Method
If you want to have two traits at the same time with an alias like this
use SyliusSpecalPricePlugin {
__construct as private initSpecialPrices;
}
use SomeOtherPlugin {
__construct as private initOtherPlugin;
}
Then PHP will run the Constructor of the Special Price plugin for both of them:
initSpecialPrices => SyliusSpecalPricePlugin::__construct
initOtherPlugin => SyliusSpecalPricePlugin::__construct
This is why we now have a dedicated non constructor method.
Overlap validator fix
Merge pull request #12 from JakobTolkemit/fix_date_overlap_validator Fix date overlap validator