Skip to content

Releases: Anteris-Dev/data-transfer-object-factory

v1.0.0

22 Apr 13:52
184ba8f
Compare
Choose a tag to compare

Added

  • Support for smart generation of properties. Faker will guess the type of data to be populated based on the property name (e.g. homeAddress property is populated with an address).
  • Support for states.
  • Support for sequences.
  • Support for PHP 8.
  • Support for the latest version of Spatie DTOs.

Changed

  • The factory API to be more fluent.
  • The entry point to the Anteris\DataTransferObjectFactory\Factory class.
  • Extensions to the property type generator are made through PropertyFactory::registerProvider()

Removed

  • Support for PHP 7.4.
  • Support for collections.

v0.1.2

04 Dec 14:50
1f3b11e
Compare
Choose a tag to compare

Fixed

  • Factory was not generating child DTOs for properties that were typed to a DTO.

v0.1.1

16 Nov 19:17
Compare
Choose a tag to compare

Added

  • Stricter type checks for phpDocumentor
  • Style checks with PHP CS

Changed

  • Faker requirements to fakerphp/faker
  • Composer requirements to be more compliant with semantic versioning
  • Location of this CHANGELOG

v0.1.0

04 Sep 23:07
Compare
Choose a tag to compare
Removed dev-master tag from install instructions.