![Phalcon v5.8.0 Released](/assets/files/2024-07-10-phalcon-5.8.0-release.png)
We are happy to announce that Phalcon v5.8.0 has been released!
This release fixes memory leaks, several bugs and introduces events in Storage and Cache.
A huge thanks to our community for helping out with bug fixing and more importantly bug reporting!
Changelog
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
Upgrade
Developers can upgrade using PECL
pecl install phalcon-5.8.0
To compile from source, follow our installation document
Chat - Q&A
Support
Social Media
Videos
<3 Phalcon Team