5.9.0 (2025-03-08)
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