5.8.0 (2024-07-09)
Changed
- Changed
Phalcon\Mvc\Model
,Phalcon\Support\Collection
andPhalcon\Support\Registry
to correctly implement\Serializable
interface. #16591 - Changed the
Phalcon\Mvc\Router\Group::getHostname()
to returnnull
also. #16601 - Changed
Phalcon\Mvc\View\Engine\Volt\Compiler::compileSource
to also returnarray
#16608
Added
- Added events and
Phalcon\Events\Manager
forPhalcon\Storage\Adapter\Apcu
,
Phalcon\Storage\Adapter\Redis
,
Phalcon\Storage\Adapter\Memory
,
Phalcon\Storage\Adapter\Libmemcached
,
Phalcon\Storage\Adapter\Stream
,
Phalcon\Storage\Adapter\Weak
,
Phalcon\Cache\Adapter\Apcu
,
Phalcon\Cache\Adapter\Redis
,
Phalcon\Cache\Adapter\Memory
,
Phalcon\Cache\Adapter\Libmemcached
,
Phalcon\Cache\Adapter\Stream
,
Phalcon\Cache\Adapter\Weak
Phalcon\Cache\AbstractCache
. #16606
Fixed
- Fixed
Phalcon\Support\Helper\PascalCase
causing memory leak by anonymous function #16593 - Fixed
Phalcon\Mvc\Model\Query
to rollback failed transactions and re-throw exception for data consistency #16604