Releases: tddwizard/magento2-fixtures
Releases · tddwizard/magento2-fixtures
1.2.0: The PHP 8.4 Update
What's Changed
- Update checkout example by @tim-bezhashvyly in #90
- Make PHP 8.4 compatible by @Vinai in #94
New Contributors
- @tim-bezhashvyly made their first contribution in #90
- @Vinai made their first contribution in #94
Full Changelog: v1.1.2...v1.2.0
1.1.2
1.1.1
1.1.0
1.1.0-rc1
Merge pull request #67 from lfolco/fixture-objects return objects from fixture (#66)
1.0.0
Marking the first stable release as promised!
🎉 Feature
- Added
ConfigFixture#6
🐛 Bugfix
- Improved type safety
⚠️ Backwards incompatible changes
- The return type of
CustomerCheckout::placeOrder()andOrderBuilder::build()has been changed fromOrderInterfacetoOrdersince the Sales builders use methods that are not part of the interface. In case you use a custom implementation ofOrderInterface, the fixtures will not work.
⚙ Infrastructure
- Improvements for Travis CI
- Relax Faker requirement #46
0.12.1
🎉 Feature
- Product builder now can create virtual products (also works with cart and checkout/order)
🐛 Bugfix
- Fixture pool rollback did not work if non-numeric keys were used
0.12.0
🎉 New Features
- The
AddressBuildernow has new a factory methodaCompanyAddress()with additional parameter$vatId(#50, Thanks @bartoszkubicki !) - Fixture pools have been added for more convenient handling of multiple fixtures. See README for details (#52)
⚠️ Backwards incompatible changes
- Many type declarations have been added (#49)
if your tests usedeclare(strict_types=1), you will probably need to type cast some parameters - The arguable unnecessary ObjectManager parameter from factory methods has been removed (#55)
TheAddressBuilder::anAddress()method signature changed in an incompatible way, because the first parameter has been dropped
⚙ Infrastructure
- Tests for the package now run on Travis CI for current Magento versions (Magento 2.3 with PHP 7.3 and Magento 2.4 with PHP 7.4)