
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\Email
to allow UTF8 in local part. #16637 - Changed
Phalcon\Cache\Cache::getMultiple()
to usemget()
when thePhalcon\Cache\Adapter\Redis
is used. #16689 - Changed
Storage\Adapter\Redis
to acceptssl
in the options for secure connections. #16711
Added
- Added
dispatch:beforeCallAction
anddispatch:afterCallAction
to last-minute modifications to handler and method (mostly for debugging).
Fixed
- Fixed
Phalcon\Forms\Form
andPhalcon\Filter\Validation
to correctly handle thevalidate()
response when using validation classbeforeValidate()
#16702 - Fixed
Phalcon\Support\Debug
to use correct passed arguments inset_error_handler
callback. PHP v7.2.0 deprecatederrcontext
and has been removed since php v8.0.0 #16649 - Fixed
Phalcon\Http\Response\Cookies
,Phalcon\Http\Response\CookiesInterface
andPhalcon\Http\Cookie
to use correct cookie default arguments, avoid deprecated null assign warning when trying to assign the same cookie twice #16649 - Fixed
Phalcon\Encryption\Crypt
to usestrlen
instead ofmb_strlen
for padding calculations #16642 - Fixed
Phalcon\Filter\Validation\Validator\File\MimeType::validate
to close the handle when usingfinfo
#16647 - Fixed
Phalcon\Mvc\Model\Manager::getRelationRecords
to explicitly set thereferencedModel
in the conditions along with thereferencedFields
#16655 - Fixed
Phalcon\Image\Adapters\AbstractAdapter::watermark
to correctly calculate the Y offset #16658 - Fixed
Phalcon\Dispatcher\AbstractDispatcher
when calling action methods that do not define parameters to preventUnknown named parameter
error. - Fixed
Phalcon\Di\Injectable
to reference the correct instance ofPhalcon\Di\Di
in the docblock property #16634 - Fixed
Phalcon\Filter\Filter
to have the correct docblock for IDE completion - Fixed
Phalcon\Mvc\Model\Query
to 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 anull
password 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