Skip to content

Releases: tddwizard/magento2-fixtures

1.1.2

24 May 15:35
e9c92c1
Compare
Choose a tag to compare

🦾 Tech

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

1.1.1

28 Apr 07:29
639aca8
Compare
Choose a tag to compare

🦾 Tech

  • #76 Declare PHP 8.1 compatibility

1.1.0

05 May 06:37
82bcafd
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

0.9.0

07 Apr 18:29
511710b
Compare
Choose a tag to compare

This release contains the following community contributions:

#18 withDob() method for customer builder (Thanks @larsroettig )
#28 use a new quote for each order fixture (Thanks @Sebastian80 )
#33 Use faker to generate customer addresses (Thanks @mam08ixo & @moehrenzahn)
#34 Add 'Sales' Builders: Order, Shipment, Invoice, CreditMemo (Thanks @mam08ixo & @moehrenzahn)

Great work! 🎉

Also, Magento 2.1 compatibility has been dropped.