2.0.0 - 2021-11-29
- [BC break] Move source files to
src/
- [BC break] Move
ComposerOverloadClass
directory from source root tosrc/Bridge/ComposerOverloadClass
- [BC break] Change PHP version from
^5.4 || ^7.0
to^7.1 || ^8.0
- [BC Break] Rename root namespace from
steevanb
toSteevanb
- Add PHP 7.1 type hints
- Add
bin
,config
anddocker
directories - Add binaries to start the project, build Docker images, run CI tools etc
- Add
.gitattributes
1.4.0 - 2020-12-07
- Replace
Symfony\Bridge\Doctrine\RegistryInterface
(removed) byDoctrine\Common\Persistence\ManagerRegistry
inDoctrineStatsCollector
1.3.3 - 2017-12-07
- [Gemorroj] Fix template path for Symfony 4
- Add DoctrineStatsCollector::reset() for Symfony 4
1.3.2 - 2017-11-17
- [gsdevme] Use ManagerRegistry::getManagers() instead of getEntityManagers()
1.3.1 - 2017-08-09
- Fix ternary operator syntax in DoctrineStatsCollector
- Fix plural for Show identifiers and Hide identifiers in Symfony WebProfiler panel
1.3.0 - 2017-08-09
- [BC] Remove DoctrineCollectorInterface::addManagedEntity() : Doctrine do not always trigger postLoad event, so we can't use it to retrieve informations
- [BC] Remove DoctrineStatsCollector::addManagedEntity()
- steevanb/php-backtrace dependency could be ^1.1 or ^2.0 now (^1.1 before)
- Group backtraces in Show backtraces, instead of one Show backtrace #X per query
1.2.1 - 2017-04-13
- #4 Fix division by zero if query and hydration time equal 0
1.2.0 - 2016-11-10
- Disable panels when hydrators are not overloaded
- Add nice debug_backtrace() for each query
- Add SQL time, hydration time and Doctrine time for each query
- Add type (Manual / Lazy loading) for each query
- Add Show entity for each query
1.1.0 - 2016-08-17
- Add $identifiers type in DoctrineCollectorInterface::addManagedentity($className, array $identifiers)
- Add DoctrineCollectorInterface::addHydratedEntity($hydratorClassName, $className, $classIdentifiers)
- Add DoctrineStatsCollector::addHydratedEntity($hydratorClassName, $className, $classIdentifiers)
- All identifiers now shown with same graphism in Symfony profiler
- All class names now shown with same graphism in Symfony profiler
- Remove useless monolog.logger tag to doctrine_stats.event_subscriber.doctrine Symfony service
- Add postCreateEntity event
- Add hydrated entities to Symfony profiler, for all hydrators who dispatch postCreateEntity event (can't do that for Doctrine hydrators at the moment)
- Add HydrationEventsTrait::dispatchPostCreateEntityEvent(ClassMetadata $classMetaData, array $data)
- Add DoctrineEventSubscriber::postCreateEntity(PostCreateEntityEventArgs $eventArgs)
1.0.3 - 2016-08-10
- Fix division by zero in DoctrineStatsCollector::getHydrationTimePercent() and getQueriesTimePercent()
1.0.2 - 2016-08-08
- Add queries time in Symfony WebProfiler
- Add queries time percent and hydration time percent in Symfony WebProfiler
1.0.1 - 2016-08-05
- Fix DoctrineEventSubscriber::postLoad() call to addManagedEntity(), only managed entities will trigger this call
- Add steevanb\DoctrineStats\Doctrine\ORM\EntityManager to overload Doctrine\ORM\Proxy\ProxyFactory
- Add steevanb\DoctrineStats\Doctrine\ORM\Proxy\ProxyFactory to add postLazyLoad event
- Add steevanb\DoctrineStats\EventSubscriber\DoctrineEventSubscriber to collect doctrine statistics
- Add ArrayHydrator, ObjectHydrator, ScalarHydrator, SimpleObjectHydrator and SingleScalarHydrator to ComposerOverloadClass, to add preHydration and postHydration events
- Add Symfony2 and Symfony3 bridge with DoctrineStatsBundle