Skip to content

Releases: tddwizard/magento2-fixtures

1.2.0: The PHP 8.4 Update

24 Oct 09:33
d1c2e68

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0

1.1.2

24 May 15:35
e9c92c1

Choose a tag to compare

🦾 Tech

  • #81 Replace faker with maintained fork - PHP 8.1 compatible

1.1.1

28 Apr 07:29
639aca8

Choose a tag to compare

🦾 Tech

  • #76 Declare PHP 8.1 compatibility

1.1.0

05 May 06:37
82bcafd

Choose a tag to compare

🎉 Feature

#70 Add withMiddlename() and withSuffix() methods to AddressBuilder Thanks @jvaughan
#67 Return objects from fixture Thanks @lfolco

🐛 Bugfix

#72 Ignore products in order rollback if already deleted

1.1.0-rc1

18 Feb 09:55
61751c2

Choose a tag to compare

1.1.0-rc1 Pre-release
Pre-release
Merge pull request #67 from lfolco/fixture-objects

return objects from fixture (#66)

1.0.0

03 Oct 19:50
b559d60

Choose a tag to compare

Marking the first stable release as promised!

🎉 Feature

  • Added ConfigFixture #6

🐛 Bugfix

  • Improved type safety

⚠️ Backwards incompatible changes

  • The return type of CustomerCheckout::placeOrder() and OrderBuilder::build() has been changed from OrderInterface to Order since the Sales builders use methods that are not part of the interface. In case you use a custom implementation of OrderInterface, the fixtures will not work.

⚙ Infrastructure

  • Improvements for Travis CI
  • Relax Faker requirement #46

0.12.1

03 Sep 16:21
70dc223

Choose a tag to compare

🎉 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

27 Aug 15:27
2df6360

Choose a tag to compare

🎉 New Features

  • The AddressBuilder now has new a factory method aCompanyAddress() 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 use declare(strict_types=1), you will probably need to type cast some parameters
  • The arguable unnecessary ObjectManager parameter from factory methods has been removed (#55)
    The AddressBuilder::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)

0.11.0

28 Jul 14:43
2579407

Choose a tag to compare

Updated for compatibility with Magento 2.4. Also Magento 2.2 compatibility has been dropped as it is unsupported now.

Thanks again to @mam08ixo 🎉

0.10.0

08 May 21:27
32fb867

Choose a tag to compare

This release contains several bugfixes for the checkout (order builder), thanks to @mam08ixo

#40 fix address ids in customer checkout
#41 fix placing multiple orders
#42 Fix building addresses with province

And one improvement for the category builder

#43 save category with global scope