github phalcon/cphalcon v5.9.0

one day ago

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 use mget() when the Phalcon\Cache\Adapter\Redis is used. #16689
  • Changed Storage\Adapter\Redis to accept ssl in the options for secure connections. #16711

Added

  • Added dispatch:beforeCallAction and dispatch:afterCallAction to last-minute modifications to handler and method (mostly for debugging).

Fixed

  • Fixed Phalcon\Forms\Form and Phalcon\Filter\Validation to correctly handle the validate() response when using validation class beforeValidate() #16702
  • Fixed Phalcon\Support\Debug to use correct passed arguments in set_error_handler callback. PHP v7.2.0 deprecated errcontext and has been removed since php v8.0.0 #16649
  • Fixed Phalcon\Http\Response\Cookies, Phalcon\Http\Response\CookiesInterface and Phalcon\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 use strlen instead of mb_strlen for padding calculations #16642
  • Fixed Phalcon\Filter\Validation\Validator\File\MimeType::validate to close the handle when using finfo #16647
  • Fixed Phalcon\Mvc\Model\Manager::getRelationRecords to explicitly set the referencedModel in the conditions along with the referencedFields #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 prevent Unknown named parameter error.
  • Fixed Phalcon\Di\Injectable to reference the correct instance of Phalcon\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 with glob() #16713
  • Fixed Phalcon\Http\Request::getBasicAuth() to return a null password if not defined on the server #16668

Don't miss a new cphalcon release

NewReleases is sending notifications on new releases.