Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 2.53 KB

UPGRADE.md

File metadata and controls

35 lines (32 loc) · 2.53 KB

0.9.0

  • Minimum PHP version has been bumped to 5.3.23 #376
  • Minimum zendframework/zendframework version has been bumped to 2.3 #376

0.8.0

  • Dependency to zendframework has been bumped from 2.* to ~2.2
  • Dependency to doctrine/common has been bumped from >=2.3-dev,<2.5-dev to >=2.4,<2.6-dev
  • It is now possible to define a callable for option label_generator in DoctrineModule\Form\Element\Proxy as of #219
  • DoctrineModule\Authentication\Adapter\ObjectRepository now inherits logic from Zend\Authentication\Adapter\AbstractAdapter as of #156. Methods setIdentityValue, getIdentityValue, setCredentialValue, getCredentialValue are 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 by DoctrineModule\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.php in a standard zf2 skeleton application and the tools will be available in there. The console in ./vendor/bin/doctrine-module is now deprecated.
  • The module does not implement Zend\ModuleManager\Feature\AutoloaderProviderInterface anymore. Please use composer autoloading or setup autoloading yourself.
  • Service doctrine.cache.zendcachestorage was removed from the pre-configured services as of #226.
  • Instantiating a DoctrineModule\Stdlib\Hydrator\DoctrineObject does not require a targetClass anymore. 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)