This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Releases: Orbitale/DoctrineTools
Releases · Orbitale/DoctrineTools
v0.7.5
v0.7.4
Changelog
- Use
doctrine/persistence
instead ofdoctrine/common
v0.7.3
Changelog for v0.7.3:
- Fix issue when number of iterated objects is zero and we want to flush it
v0.7.2
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
Changelog for v0.7.1
- Fix big reflection bug in AbstractFixture
v0.7.0
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
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
Fixed an issue with indexBy
in the Repository trait
v0.6.0
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
Retrieve id for entity reference in data even after hydration