We are happy to announce that Phalcon v5.9.0 has been released!
This release contains a fair amount of changes and bug fixes
PHP 8.4
Support for PHP 8.4 is finally here. After months of background work on Zephir, we are happy to announce that Phalcon can be compiled and run on PHP 8.4.
Due to the nature of the changes, we had to increase the minimum version to PHP 8.1. Users that wish to install Phalcon on PHP 8.0 or earlier, will need to use earlier versions of Phalcon. Please note, that older medium versions are no longer supported for bug fixes.
v6.0.0 update
We are finally seeing light at the end of the tunnel as they say. The only major item to fix for v6.0.0 is the PHQL parser. Work is already underway on this and we are hoping to complete this last task soon, so that we can release an alpha version.
You can always check our efforts in the phalcon/phalcon repository.
Community
A huge thanks to our community for helping out with bug fixing and more importantly bug reporting!
Changelog
Changed
- Changed
Phalcon\Filter\Validation\Validator\Emailto allow UTF8 in local part. #16637 - Changed
Phalcon\Cache\Cache::getMultiple()to usemget()when thePhalcon\Cache\Adapter\Redisis used. #16689 - Changed
Storage\Adapter\Redisto acceptsslin the options for secure connections. #16711
Added
- Added
dispatch:beforeCallActionanddispatch:afterCallActionto last-minute modifications to handler and method (mostly for debugging).
Fixed
- Fixed
Phalcon\Forms\FormandPhalcon\Filter\Validationto correctly handle thevalidate()response when using validation classbeforeValidate()#16702 - Fixed
Phalcon\Support\Debugto use correct passed arguments inset_error_handlercallback. PHP v7.2.0 deprecatederrcontextand has been removed since php v8.0.0 #16649 - Fixed
Phalcon\Http\Response\Cookies,Phalcon\Http\Response\CookiesInterfaceandPhalcon\Http\Cookieto use correct cookie default arguments, avoid deprecated null assign warning when trying to assign the same cookie twice #16649 - Fixed
Phalcon\Encryption\Cryptto usestrleninstead ofmb_strlenfor padding calculations #16642 - Fixed
Phalcon\Filter\Validation\Validator\File\MimeType::validateto close the handle when usingfinfo#16647 - Fixed
Phalcon\Mvc\Model\Manager::getRelationRecordsto explicitly set thereferencedModelin the conditions along with thereferencedFields#16655 - Fixed
Phalcon\Image\Adapters\AbstractAdapter::watermarkto correctly calculate the Y offset #16658 - Fixed
Phalcon\Dispatcher\AbstractDispatcherwhen calling action methods that do not define parameters to preventUnknown named parametererror. - Fixed
Phalcon\Di\Injectableto reference the correct instance ofPhalcon\Di\Diin the docblock property #16634 - Fixed
Phalcon\Filter\Filterto have the correct docblock for IDE completion - Fixed
Phalcon\Mvc\Model\Queryto use the lifetime in the “cache” service if none has been supplied by the options #16696 - Fixed
Phalcon\Session\Adapter\Stream::gc()to throw an exception if something is wrong withglob()#16713 - Fixed
Phalcon\Http\Request::getBasicAuth()to return anullpassword if not defined on the server #16668
Upgrade
Developers can upgrade using PECL
pecl install phalcon-5.9.0
To compile from source, follow our installation document
Chat - Q&A
Support
Social Media
Videos
<3 Phalcon Team