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

The Community for IaC Practitioners

The Community for IaC Practitioners

Join IaCConf on August 27 for a virtual event that dives into the security and governance challenges of managing infrastructure as code at scale.

Join us August 27

Top comments (0)

For IaC Practitioners, By IaC Practitioners

For IaC Practitioners, By IaC Practitioners

Learn how to embed security from day one using policy-as-code, AI-driven scanning, and strong collaboration between engineering and cybersecurity teams at IaCConf on Wednesday August 27, 2025.

Join us on August 27

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay