DEV Community

Nikolaos Dimopoulos for Phalcon PHP Framework

Posted on • Originally published at blog.phalcon.io on

Phalcon v5.8.0 Released

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 and Phalcon\Support\Registry to correctly implement \Serializable interface. #16591
  • Changed the Phalcon\Mvc\Router\Group::getHostname() to return null also. #16601
  • Changed Phalcon\Mvc\View\Engine\Volt\Compiler::compileSource to also return array #16608

Added

  • Added events and Phalcon\Events\Manager for Phalcon\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\WeakPhalcon\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

Enter fullscreen mode Exit fullscreen mode

To compile from source, follow our installation document

Top comments (0)