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

Releases: Orbitale/DoctrineTools

v0.7.5

08 Mar 16:52
Compare
Choose a tag to compare
  • Make object manager and repository protected

v0.7.4

19 Feb 19:54
Compare
Choose a tag to compare

Changelog

  • Use doctrine/persistence instead of doctrine/common

v0.7.3

11 Jan 21:57
Compare
Choose a tag to compare

Changelog for v0.7.3:

  • Fix issue when number of iterated objects is zero and we want to flush it

v0.7.2

24 Mar 00:32
Compare
Choose a tag to compare

Changelog for v0.7.2:

  • Re-establish again the id generator override. This fixes the bug that prevented to manually insert custom IDs in database fixtures (in order to ease some tests for example)

v0.7.1

26 Feb 12:17
Compare
Choose a tag to compare

Changelog for v0.7.1

  • Fix big reflection bug in AbstractFixture

v0.7.0

26 Feb 10:25
Compare
Choose a tag to compare

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

v0.6.2

28 Sep 14:46
Compare
Choose a tag to compare

Changelog for v0.6.1...v0.6.2

  • Fix edge case when retrieving property data in newer Doctrine versions
  • Use root namespace for opcode optims in fixture

v0.6.1

07 Dec 22:29
Compare
Choose a tag to compare

Fixed an issue with indexBy in the Repository trait

v0.6.0

05 Dec 21:42
Compare
Choose a tag to compare

Changelog for v0.6.0

  • Move to PHP 7.1 and changed travis build (yeah, it's still empty, need to write tests, yolo)
  • Rename the repository helper, make it a Trait and use PHP 7.1
  • Refactored fixture helper to use PHP7.1 and discard useless properties

Edit: don't use this version, it contains a big bug in the "indexBy" method of the Repository helper trait. Upgrade to 0.6.1.

v0.5.6

13 Jul 11:02
Compare
Choose a tag to compare

Retrieve id for entity reference in data even after hydration