Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

v0.7.0

Compare
Choose a tag to compare
@Pierstoval Pierstoval released this 26 Feb 10:25

Changelog for v0.7.0

  • Refactor AbstractFixture. Lots of BC breaks:
  • Disable SQL logger by default (for performances)
  • Remove symfony/property-access dependency
  • Remove searchForMatchingIds method: we no longer search in the database, it's always regenerated, and it's your job to truncate the database before inserting the fixtures).
  • Remove setGeneratorBasedOnId method: either you let the database do it for yourself, or you use other types of ID generation (like UUID). The problem comes when an object has an id and another does not: generation is metadata-related, not specific-object-related.
  • Entity instantiation now uses doctrine/instantiator
  • Entity hydration is now possible ONLY with a PHP array.
  • Entity hydration uses Reflection instead of using ( 💩 ) getters and setters