Releases: phalcon/cphalcon
Releases · phalcon/cphalcon
v5.9.3
5.9.3 (2025-04-19)
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
Removed
v5.9.2
v5.9.1
5.9.1 (2025-03-31)
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
Fixed
- Fixed
Phalcon\Mvc\Micro\LazyLoader::callMethodto preventUnknown named parametererror #16724
Removed
v5.9.0
5.9.0 (2025-03-08)
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
v5.8.0
5.8.0 (2024-07-09)
Changed
- Changed
Phalcon\Mvc\Model,Phalcon\Support\CollectionandPhalcon\Support\Registryto correctly implement\Serializableinterface. #16591 - Changed the
Phalcon\Mvc\Router\Group::getHostname()to returnnullalso. #16601 - Changed
Phalcon\Mvc\View\Engine\Volt\Compiler::compileSourceto also returnarray#16608
Added
- Added events and
Phalcon\Events\ManagerforPhalcon\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\Weak
Phalcon\Cache\AbstractCache. #16606
Fixed
- Fixed
Phalcon\Support\Helper\PascalCasecausing memory leak by anonymous function #16593 - Fixed
Phalcon\Mvc\Model\Queryto rollback failed transactions and re-throw exception for data consistency #16604
Removed
v5.7.0
5.7.0 (2024-05-17)
Changed
- Changed
Phalcon\Support\HelperFactoryto use the internal mapper for better memory management #16571
Added
- New ini setting
phalcon.form.strict_entity_property_checkforPhalcon\Forms\Formto enable strict entity property checking. #16567
Fixed
- Fixed
Phalcon\Mvc\Cli\Routerto extend thePhalcon\Mvc\Cli\RouterInterface#16551 - Fixed
Phalcon\Filter\Validation\Validator\StringLength::validate()to correctly use theincludeparameter #16560 - Fixed
Phalcon\Db\Column::TYPE_BINARYandPhalcon\Db\Column::TYPE_TINYINTEGERto have unique values #16532 - Fixed
Phalcon\Forms\Formto bind only existing properties on entities, based onphalcon.form.strict_entity_property_checksetting. #16567 - Fixed
Phalcon\Filter\Sanitize\BoolValto correctly handle integers. #16582
Removed
v5.6.2
v5.6.1
5.6.1 (2024-02-08)
Changed
- Changed
Phalcon\Cli\Router::setDefaultActionandPhalcon\Cli\Router::setDefaultModuleto return the object back for a fluent interface #16328
Added
Fixed
- Fixed
Phalcon\Db\Adapter\Pdo\Postgresql::describeColumns()to return the correct string back #16371 - Fixed
Phalcon/Filter/Validation::validate()andPhalcon/Filter/Validation/ValidationInterface::validate()to return alsobool#16337 - Fixed
Phalcon\Mvc\Model::toArrayto ignore getters when the field name issource. #16514 - Fixed
Phalcon\Http\Request::getPutto correctly get form encoded data #16519 - Fixed deprecation warning in callables
Use of "static" in callables is deprecatedfor PHP 8.2+ #16263
Removed
v5.6.0
5.6.0 (2024-01-09)
Changed
- Changed
Phalcon\Db\Adapter\Pdo\Mysqlto not use specific flags forPDO(PDO::ATTR_EMULATE_PREPARESorPDO::ATTR_STRINGIFY_FETCHES) for performance reasons #16474 - Merged
Phalcon\Db\AbstractDbwithPhalcon\Db\Adapter\AbstractAdaptersince the former was not used #16474
Added
- Added
resetColumns(),resetFrom(),resetWhere(),resetGroupBy(),resetHaving(),resetOrderBy(),resetLimit(),resetFlags()to thePhalcon\Datamapper\Query\AbstractQueryto allow resetting query filters.
Fixed
v5.5.0
5.5.0 (2023-12-25)
Changed
- Shifted minimal support from PHP 7.4 to PHP 8.0 #16477
- Changed
Phalcon\Mvc\Model::toArrayto use getters if present #16320 - Adjusted return types identical to original interface
int|falseinPhalcon\Session\Adapter\*::gc()#16477 - Changed return type of
Phalcon\Config\Adapter\Ini::cast()tomixed#16477
Added
- Added support for PHP 8.3 #16477