The changes of each release that this documentation covers, newest first. The source is CHANGELOG-5.0.md of the repository.
5.10.0 (2025-12-24)
Tools
- Zephir Parser v1.8.0
- Zephir 0.19.0 (development - 337c6f9f8)
Changed
- Changed
bind()andvalidate()method inPhalcon\Filter\ValidationandPhalcon\Filter\Validation\ValidationInterfaceto accept$whitelistarray of only allowed fields to be mutated when using entity #16800 - Changed
Phalcon\Storage\Adapters\Libmemcached::getAdapter()to use 50ms for\Memcached::OPT_CONNECT_TIMEOUT#16818 - Changed
Phalcon\Html\Helper\Input\*to honorDocblocdirectives #16778
Added
- Added
fails()method helper toPhalcon\Filter\Validationuseful for standalone validation #16798
Fixed
- Fixed
Phalcon\Config\Adapter\Yamlconstructor to handlenullreturn values fromyaml_parse_file(), ensuring empty configuration files are treated as empty arrays instead of throwing errors. - Fixed
Phalcon\Http\RequestmethodgetClientAddress(true)to return correct IP address from trusted forwarded proxy. #16777 - Fixed
Phalcon\Http\RequestmethodgetPost()to correctly return json data as well and unified bothgetPut()andgetPatch()to go through the same parsing method. #16792 - Fixed
Phalcon\Filter\Validationmethodbind()andvalidate()to correctly bind data when using entity as well as skip binding of fields not included in$whitelist#16800 - Fixed
Phalcon\Http\RequestmethodgetPostData()whenContent-Typeheader is not set #16804 - Fixed
Phalcon\Events\ManagerInterfaceadding priority property #16817 - Fixed
Phalcon\Storage\Adapters\Libmemcached::getAdapter()to correctly merge adapter options #16818 - Fixed
Phalcon\Encryption\CryptmethodcheckCipherHashIsAvailable(string $cipher, string $type)to correctly check thecipherorhashtype #16822 - Fixed
Phalcon\Mvc\Modeldocblocks #16825
5.9.3 (2025-04-22)
Tools
- Zephir Parser v1.6.1
- Zephir 0.18.0 (development - fdf88639b)
Changed
- Added Multi-Stage Dockerfile and Github action for release Docker images to ghcr.io and Docker Hub. #16752
Added
- Added
Phalcon\Mvc\Router::setUriSource()to allow URI processing from$_GET['url']or$_SERVER['REQUEST_URI']as it was in v3 #16741
Fixed
- Fixed
Phalcon\Mvc\Routerto correctly handle numeric URI parts as it was in v3 #16741 - Fixed
Phalcon\Mvc\Model\Binderto use ReflectionParameter::getType() instead of deprecated method, PHP 8.0 or higher issue. #16742 - Fixed
Phalcon\Mvc\Model\Queryto check if cache entry exists. #16747 - Fixed
Phalcon\Mvc\Routerto correctly match route when using query string URIs. #16749 - Fixed
Phalcon\Mvc\Model::cloneResultsetto properly parse fields that do not acceptnullvalues #16736
5.9.2 (2025-04-03)
Tools
- Zephir Parser v1.6.1
- Zephir 0.18.0 (development - fdf88639b)
Fixed
- Fixed
Phalcon\Translate\Adapter\Csvtheescapeargument is explicitly required in PHP 8.4 #16733 - Fixed
Phalcon\Mvc\Model\Queryto use the cacheOptions lifetime over the “cache” service lifetime
5.9.1 (2025-03-31)
Tools
- Zephir Parser v1.6.1
- Zephir 0.18.0 (development - fdf88639b)
Changed
- Changed
Phalcon\Storage\Adapter\AbstractAdapterand droppedhas()check before receiving the value. #16705
Added
- Added
Phalcon\Html\Helper\Breadcrumbscomponent to replace the oldPhalcon\Html\Breadcrumbscomponent. #16727 [doc]
Fixed
- Fixed
Phalcon\Mvc\Micro\LazyLoader::callMethodto preventUnknown named parametererror #16724
5.9.0 (2025-03-08)
Tools
- Zephir Parser v1.6.1
- Zephir 0.18.0 (development - fdf88639b)
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 #16686 - 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