Skip to content

Changelog

The changes of each release of Phalcon 5.9.

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() and validate() method in Phalcon\Filter\Validation and Phalcon\Filter\Validation\ValidationInterface to accept $whitelist array 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 honor Docbloc directives #16778

Added

  • Added fails() method helper to Phalcon\Filter\Validation useful for standalone validation #16798

Fixed

  • Fixed Phalcon\Config\Adapter\Yaml constructor to handle null return values from yaml_parse_file(), ensuring empty configuration files are treated as empty arrays instead of throwing errors.
  • Fixed Phalcon\Http\Request method getClientAddress(true) to return correct IP address from trusted forwarded proxy. #16777
  • Fixed Phalcon\Http\Request method getPost() to correctly return json data as well and unified both getPut() and getPatch() to go through the same parsing method. #16792
  • Fixed Phalcon\Filter\Validation method bind() and validate() to correctly bind data when using entity as well as skip binding of fields not included in $whitelist #16800
  • Fixed Phalcon\Http\Request method getPostData() when Content-Type header is not set #16804
  • Fixed Phalcon\Events\ManagerInterface adding priority property #16817
  • Fixed Phalcon\Storage\Adapters\Libmemcached::getAdapter() to correctly merge adapter options #16818
  • Fixed Phalcon\Encryption\Crypt method checkCipherHashIsAvailable(string $cipher, string $type) to correctly check the cipher or hash type #16822
  • Fixed Phalcon\Mvc\Model docblocks #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\Router to correctly handle numeric URI parts as it was in v3 #16741
  • Fixed Phalcon\Mvc\Model\Binder to use ReflectionParameter::getType() instead of deprecated method, PHP 8.0 or higher issue. #16742
  • Fixed Phalcon\Mvc\Model\Query to check if cache entry exists. #16747
  • Fixed Phalcon\Mvc\Router to correctly match route when using query string URIs. #16749
  • Fixed Phalcon\Mvc\Model::cloneResultset to properly parse fields that do not accept null values #16736

5.9.2 (2025-04-03)

Tools

  • Zephir Parser v1.6.1
  • Zephir 0.18.0 (development - fdf88639b)

Fixed

  • Fixed Phalcon\Translate\Adapter\Csv the escape argument is explicitly required in PHP 8.4 #16733
  • Fixed Phalcon\Mvc\Model\Query to 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\AbstractAdapter and dropped has() check before receiving the value. #16705

Added

  • Added Phalcon\Html\Helper\Breadcrumbs component to replace the old Phalcon\Html\Breadcrumbs component. #16727 [doc]

Fixed

  • Fixed Phalcon\Mvc\Micro\LazyLoader::callMethod to prevent Unknown named parameter error #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\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 #16686
  • 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
Navigation

Type to search…

↑↓ navigate↵ selectEsc close