DoctrineORMModule\Form\Annotation\ElementAnnotationsListener
andDoctrineORMModule\Form\Annotation\AnnotationBuilder
were updated to properly handle 'empty_option'. According to ZF2 docs, setting empty_option to NULL instructs a \Zend\Form\Element\Select that it should not add an "empty option" to a select list. #281- Added possibility to define a specific form element in annotations. It now overrides the one defined by the listener when explicitly asked. It also reintroduces the DoctrineModule\Form\Element\ObjectSelect behavior of v0.7.0, that permitted to set an ObjectSelect on an entity's attribute when no association was defined (OneToMany etc.) #272
- The required PHP version is bumped to
5.3.23
#306 - Add support for second level cache (see docs about how to configure it)
DoctrineORMModule\Form\Annotation\AnnotationBuilder
does now also handle associations #193DoctrineORMModule\Module
does not implementZend\ModuleManager\Feature\AutoloaderProviderInterface
anymore. Please switch to composer autoloading.DoctrineORMModule\Form\Annotation\ElementAnnotationsListener
was updated to properly handle input specs for elements and changed the default elements for datetime and date to Zend\Form\Element\DateTime and Zend\Form\Element\Date respectively.
Version 0.4.0
has been rewritten from scratch using the new ServiceManager component of ZF2. This allows for
drastically increased performance and reduced complexity of setup.
An alias has been set to reference Doctrine\ORM\EntityManager to help with BC but it is deprecated and will be removed in the future. The new service name is doctrine.entitymanager.orm_default.
The module.doctrine_orm.local.config.php.dist has been removed. Please review the README.md to setup your connection.
Version 0.3.1
integrated CLI with composer's CLI scripts registration method. To do so without conflicting with
Doctrine ORM's CLI, you now have to access it either via ./vendor/bin/doctrine-module
or
./vendor/doctrine/DoctrineModule/bin/doctrine-module
.
After version 0.2.1
, submodules have been dropped as they were too heavy and complex to manage. If you now want to use
this module, please use composer, as described in
README.md