- Minimum PHP version has been bumped to
5.3.23#376 - Minimum
zendframework/zendframeworkversion has been bumped to2.3#376
- Dependency to zendframework has been bumped from
2.*to~2.2 - Dependency to doctrine/common has been bumped from
>=2.3-dev,<2.5-devto>=2.4,<2.6-dev - It is now possible to define a callable for option
label_generatorinDoctrineModule\Form\Element\Proxyas of #219 DoctrineModule\Authentication\Adapter\ObjectRepositorynow inherits logic fromZend\Authentication\Adapter\AbstractAdapteras of #156. MethodssetIdentityValue,getIdentityValue,setCredentialValue,getCredentialValueare now deprecated.- It is now possible to set the cache namespace in the cache configuration as of #164
- All services named with the
doctrine.<something>.<name>pattern are now handled byDoctrineModule\ServiceFactory\AbstractDoctrineServiceFactory, which simplifies the instantiation logic for different occurrences of<name>as of #226 and #76 - The CLI tools are now also available as a standard ZF2 console as of
#226,
#200 and
#137. From now on, you can simply run
php ./public/index.phpin a standard zf2 skeleton application and the tools will be available in there. The console in./vendor/bin/doctrine-moduleis now deprecated. - The module does not implement
Zend\ModuleManager\Feature\AutoloaderProviderInterfaceanymore. Please use composer autoloading or setup autoloading yourself. - Service
doctrine.cache.zendcachestoragewas removed from the pre-configured services as of #226. - Instantiating a
DoctrineModule\Stdlib\Hydrator\DoctrineObjectdoes not require atargetClassanymore. This means you have to modify the way you create hydrator by replacing this:$hydrator = new Hydrator($objectManager, 'Application\Entity\User', true)by$hydrator = new Hydrator($objectManager, true)