All notable changes to this project will be documented in this file, in reverse chronological order by release. The format follows Keep a CHANGELOG as recommended by the Zend Framework Maintainers Guide. BC breaks shall be listed at the top of their respective sections. This project adheres to Semantic Versioning.
v0.3.0 - 2017-12-30
Migration from Zend Framework 2 to Zend Framework 3. This release updates the module to work with Zend Framework 3 (ZF3) projects, with intzone.com being its first deployment. Not all the components have been tested yet - it is still work in progress.
As of this point, the module will no longer maintain compatibility with Zend Framework 2 (ZF2).
For ZF2 projects, please use the v0.2.0
release.
- Nothing.
- Use Composer for installation, including specifying of individual Zend Framework components.
- Require PHP 7.0 and above.
- Use PSR-4 for autoloading and directory structure. Path in
ZnZend\Module::getConfig()
updated accordingly. - Short array syntax used to define arrays.
- Replace code such as
(isset($x) ? $x : $y)
with null coalescing operator??
. - Replace Sensio Labs PHP CS Fixer with PHP_CodeSniffer for checking compliance with coding standards.
- Replace PHPUnit with Zend\Test for tests.
- Replace all occurrences of
Zend\Stdlib\Hydrator\ArraySerializable
withZend\Hydrator\ArraySerializable
. - Add method argument
$priority
toZnZend\Listener\LogListener::attach()
due to method signature change inZend\EventManager\ListenerAggregateInterface::attach()
. - Replace
$eventManager->attach($logListener);
with$logListener->attach($eventManager);
in commented example for the log listener inZnZend\Module::onBootstrap()
.
ZnZend\Module
no longer implementsZend\ModuleManager\Feature\AutoloaderProviderInterface
norgetAutoloaderConfig()
.- Removed commented example for
Zend\Mvc\ModuleRouteListener
inZnZend\Module::onBootstrap()
.
- Lots of CS fixes :P
- Travis CI was failing due to support for PHP 5.3 and broken link for Sensio Lab's PHP CS Fixer. Now working.
- Pass each event as a string via a loop to
ZnZend\Listener\LogListener::attach()
for the 2nd argument asZend\EventManager\SharedEventManager::attach()
no longer accepts an array of events for the 2nd argument.
v0.2.0 - 2015-10-14
- This CHANGELOG file.
- BC Break Commit adds a new method
fetchIn()
inZnZend\Db\MapperInterface
. - Commit adds new method
fetchIn()
toZnZend\Db\AbstractMapper
as required byZnZend\Db\MapperInterface
. - Commit adds
$webRoot
optional method argument toZnZend\View\Helper\ZnZendResizeImage::__invoke()
.
- BC Break Commit adds a new
argument to
__invoke()
forZnZend\Mvc\Controller\Plugin\ZnZendDataTables
for use in global search but changes argument order. - BC Break Commit adds a new
argument to
ZnZend\Db\Generator\EntityGenerator::generate()
to allow different extending class but changes argument order. - BC Break Commit adds a new
argument to
ZnZend\Db\Generator\MapperGenerator::generate()
to allow different extending class but changes argument order. - Commit updates
ZnZend\Mvc\Controller\Plugin\ZnZendDataTables
to work with both version 1.9 and 1.10 of the jQuery DataTables plugin. - Commit updates
ZnZend\Mvc\Controller\Plugin\ZnZendDataTables
to process the global search in addition to the individual column filters. - Commit adds
annotations for priority to entity properties in
ZnZend\Db\Generator\EntityGenerator
. - Commit changes return values for
elements in
ZnZend\Form\View\Helper\ZnZendFormValue::render()
. No morenl2br()
for textarea value. - Commit updates
ZnZend\Mvc\Controller\Plugin\ZnZendDataTables
to allow specifying of search operators (DataTables 1.10 only). - Commit updates
ZnZend\Mvc\Controller\Plugin\ZnZendDataTables
to useZend\Db\Sql\Expression
when sorting columns.
- Commit fixes
ZnZend\Listener\LogListener::logException()
with a check on the existence of theexception
property in the result. In some instances where the call is forwarded to an error page, the result might give a 302 status without setting the exception. - Commit updates
ZnZend\Db\AbstractMapper::create()
not to re-create the entity if$set
is already of typeEntityInterface
. - Commit updates
ZnZend\Mvc\Controller\Plugin\ZnZendDataTables
to use the HAVING clause for global search and column filtering as column aliases are not allowed in the WHERE clause. - Commit fixes
annotations for priority in
ZnZend\Db\Generator\EntityGenerator
to correctly assign larger numbers for higher priority. - Commit adds check for empty
timestamp in
ZnZend\Db\AbstractEntity::set()
. - Commit fixes the return value for
the Select element in
ZnZend\Form\View\Helper\ZnZendFormValue
to return the corresponding option. - Commit fixes the mapping of the
decimal and real SQL types to PHP float type in
ZnZend\Db\Generator\EntityGenerator::$mapTypes
. - Commit adds
maxlength
attribute for CHAR types inZnZend\Db\Generator\EntityGenerator::generate()
. - Commit changes return value for
file element in
ZnZend\Form\View\Helper\ZnZendFormValue::render()
.
v0.1.0 - 2015-05-18
This is the first official release for the ZnZend module. Though it has been used in production for about 2 years, the developer deems it not appropriate to tag it as version 1.0.0 as the unit tests are not complete, yet the increasing use of it warrants versioning. A develop branch has been created at this point to accumulate changes before merging them into the master branch for a new release.