Phalcon v5.3.0 Released

Read time: 1 minute
Phalcon v5.3.0 Released

We are happy to announce that Phalcon v5.3.0 has been released!

This release fixes form-data handling for PUT requests, changes the dynamic update by default in the ORM, and fixes a memory leak in the Micro application, especially when one is using Swoole.

The biggest change comes in the Phalcon\Mvc\Micro, where the class is no longer automatically registered in the Phalcon\Di\Di container with the name application. This registration was responsible for numerous memory leaks, when using Swoole with Micro.

Along with those, some optimizations have been introduced as well as new methods in the Model, Metdata and Loader.

Once again, a huge thanks to our community for helping out with bug fixing and more importantly bug reporting!

Changelog

Added

  • Added Phalcon\Mvc\Model::appendMessagedFrom for code consistency and to add messages from another model #16391
  • Added Phalcon\Autoload\Loader::isRegistered for debugging purposes #16391
  • Added Phalcon\Mvc\Model\Metadata::initializeMetadata #16393
  • Added Phalcon\Mvc\Model\Metadata::getMetaDataUniqueKey #16393
  • Added Phalcon\Mvc\Model\Metadata::getColumnMapUniqueKey #16393
  • Added Phalcon\Encryption\Security\JWT\Builder::addHeader() to allow adding custom headers #16396

Changed

  • Refactored Phalcon\Mvc\Model::doLowUpdate and Phalcon\Mvc\Model::postSaveRelatedRecords for better code logic and a clearer separation of behaviour, although it lead to partially repeated code. #16391
  • Cleaned Phalcon\Mvc\Model\Metadata::initialize #16393

Fixed

  • Parse multipart/form-data from PUT request #16271
  • Set Dynamic Update by default system-wide #16343
  • Fixed memory leak in Micro application #16404

Upgrade

Developers can upgrade using PECL

pecl install phalcon-5.3.0

To compile from source, follow our installation document


Chat - Q&A

Support

Social Media

Videos

<3 Phalcon Team

Projects
We're a nonprofit organization that creates solutions for web developers. Our products are Phalcon, Zephir and others. If you would like to help us stay free and open, please consider supporting us.