---
title: "Changelog"
description: "The changes of each release of Phalcon 6.0."
version: "6.0"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.phalcon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

The changes of each release that this documentation covers, newest first. The source is [`CHANGELOG.md`](https://github.com/phalcon/phalcon/blob/v6.0.x/CHANGELOG.md) of the repository.

## [6.0.0](https://github.com/phalcon/phalcon/releases/tag/v6.0.0) (2026-11-28)

### Changed

- A callback that cannot be called throws `TypeError` instead of a warning and `null`, the same as cphalcon with Zephir 1.9.0. [#17766](https://github.com/phalcon/cphalcon/issues/17766)
- Faster ACL build in `Phalcon\Acl\Adapter\Memory`. [#17701](https://github.com/phalcon/cphalcon/issues/17701)
- Faster HTML output of the `Phalcon\Flash` messages with no icon classes. [#17712](https://github.com/phalcon/cphalcon/issues/17712)
- Faster HTML output of the `Phalcon\Flash` messages. [#17704](https://github.com/phalcon/cphalcon/issues/17704)
- Faster `Phalcon\Acl\Adapter\Memory::isAllowed()`. [#17711](https://github.com/phalcon/cphalcon/issues/17711)
- Faster `Phalcon\Cache\Cache`, the `Phalcon\Storage` adapters and `Phalcon\Acl\Adapter\Memory::isAllowed()` when no events manager is set. [#17703](https://github.com/phalcon/cphalcon/issues/17703)
- Faster `Phalcon\Config\Config::path()`. [#17714](https://github.com/phalcon/cphalcon/issues/17714)
- Faster `Phalcon\Logger` calls with no excluded adapters. [#17713](https://github.com/phalcon/cphalcon/issues/17713)
- Faster `Phalcon\Mvc\Micro` requests with the default router service. [#17715](https://github.com/phalcon/cphalcon/issues/17715)
- Faster base64url decode in the JWT parser and `Phalcon\Encryption\Crypt::decryptBase64()`. [#17705](https://github.com/phalcon/cphalcon/issues/17705)
- Faster construction of `Phalcon\Config\Config` and its adapters when the config has no type. [#17702](https://github.com/phalcon/cphalcon/issues/17702)
- Faster construction of the validators in `Phalcon\Filter\Validation`. [#17697](https://github.com/phalcon/cphalcon/issues/17697)
- Faster item storage, lookup, removal and JSON serialization in `Phalcon\Support\Collection`. [#17683](https://github.com/phalcon/cphalcon/issues/17683)
- Faster route index build in `Phalcon\Mvc\Router` for routes with no host name. [#17693](https://github.com/phalcon/cphalcon/issues/17693)
- Faster service registration in `Phalcon\Factory\AbstractFactory` and the factories that extend it. [#17696](https://github.com/phalcon/cphalcon/issues/17696)
- `Phalcon\Mvc\Model::serialize()` now stores the snapshot also when it is empty, for a model that keeps snapshots, the same as cphalcon. [#17750](https://github.com/phalcon/cphalcon/issues/17750)
- `Phalcon\Mvc\Model\Query` parses through `Phalcon\Mvc\Model\Query\Lang`; its protected `$parser` property was removed. [#800](https://github.com/phalcon/phalcon/issues/800)
- `Phalcon\Queue\Consumer\Worker::handleSignal()` now has a second optional parameter, `?array $info`. [#17719](https://github.com/phalcon/cphalcon/issues/17719)

### Added

- `Phalcon\Mvc\Model\Query\Lang::parsePHQL()`, as in cphalcon: it caches each statement's AST and tags it with an `id` (settings `orm.cache_level` and `orm.unique_cache_id`, both `3` by default), so `Phalcon\Mvc\Model\Query` caches its intermediate representation per statement again. The cache lives as long as the PHP process; `Query::clean()` empties it, e.g. between requests of a long-running worker. `orm.unique_cache_id` is read once, at the first parse. [#800](https://github.com/phalcon/phalcon/issues/800)
- `Phalcon\Mvc\View\Engine\AbstractEngine::withScope()`, `getScope()` and `setScope()` for the variables that the templates share. [#810](https://github.com/phalcon/phalcon/issues/810)

### Fixed

- PHP 8.6 deprecation for session handlers without `create_sid()`: `Phalcon\Session\Adapter\AbstractAdapter` and `Phalcon\Session\Adapter\Noop` now implement `SessionIdInterface` and `create_sid()`. [#17687](https://github.com/phalcon/cphalcon/issues/17687)
- PHP 8.6 deprecation of `doubleval()`: `Phalcon\Encryption\Security\Uuid\Version1` and `Phalcon\Encryption\Security\Uuid\Version6` now use `floatval()`. [#17687](https://github.com/phalcon/cphalcon/issues/17687)
- PHP 8.6 deprecation of `spl_object_hash()`: `Phalcon\Dispatcher\AbstractDispatcher` and `Phalcon\Html\Link\AbstractLinkProvider` now use `spl_object_id()`; the keys returned by `getLinks()` are now integers. [#17687](https://github.com/phalcon/cphalcon/issues/17687)
- `Phalcon\ADR\Router\AttributeFilter::filter()` and `Phalcon\ADR\Router\Router::pathFor()` throwing an `Error` for an Action with a `params()` method that cannot be called; they now throw the `TypeError` of `call_user_func()`, the same as cphalcon. [#815](https://github.com/phalcon/phalcon/issues/815)
- `Phalcon\ADR\Router\AttributeFilter`, `Phalcon\Auth\Mvc\AuthDispatcherListener`, `Phalcon\Db\Dialect`, `Phalcon\Mvc\Model\Behavior\Timestampable`, `Phalcon\Mvc\Model\Eager\Loader`, `Phalcon\Mvc\Router` and `Phalcon\Mvc\View\Engine\Volt` behaving differently than cphalcon in rare cases, such as a `null` value in an options array. [#821](https://github.com/phalcon/phalcon/issues/821)
- `Phalcon\ADR`, `Phalcon\Acl\Adapter\Memory`, `Phalcon\Cli\Dispatcher`, `Phalcon\Cli\Router`, `Phalcon\Container`, `Phalcon\Di`, `Phalcon\Dispatcher\AbstractDispatcher`, `Phalcon\Events\Manager`, `Phalcon\Filter`, `Phalcon\Html\TagFactory`, `Phalcon\Mvc\Application`, `Phalcon\Mvc\Micro`, `Phalcon\Mvc\Model::cloneResult()`, `Phalcon\Mvc\Router`, `Phalcon\Support\Collection`, `Phalcon\Support\Helper\Arr\Group`, `Phalcon\Support\HelperFactory` and `Phalcon\Tag\Select` throwing a `TypeError` for a value that cphalcon converts, such as `'42'` for an `int` parameter of a handler, listener, action, callback or service; they now call user code with the PHP weak type rules, the same as cphalcon. [#805](https://github.com/phalcon/phalcon/issues/805)
- `Phalcon\ADR`, `Phalcon\Autoload\Loader`, `Phalcon\Config\ConfigFactory`, `Phalcon\Container`, `Phalcon\DataMapper`, `Phalcon\Events\Manager`, `Phalcon\Flash`, `Phalcon\Forms\Form`, `Phalcon\Html`, `Phalcon\Messages\Messages`, `Phalcon\Paginator\PaginatorFactory`, `Phalcon\Support` and `Phalcon\Tag` throwing a `TypeError` for an `int` value where a string is expected, such as an `int` textarea value, a numeric column name or a numeric `$_ENV` value, which cphalcon converts. [#887](https://github.com/phalcon/phalcon/issues/887)
- `Phalcon\Acl\Adapter\Memory::addRole()` and `addComponent()` accepting a custom `RoleInterface` or `ComponentInterface` name with the `!` delimiter, which let one role, component and access tuple share the access key of another. [#17800](https://github.com/phalcon/cphalcon/issues/17800)
- `Phalcon\Acl\Adapter\Memory::isAllowed()` granting the access of a rule whose callback cannot be called, for example a function that does not exist or a private method. [#17800](https://github.com/phalcon/cphalcon/issues/17800)
- `Phalcon\Acl\Adapter\Memory::isAllowed()` not firing `acl:afterCheckAccess` for a role that does not exist. [#17800](https://github.com/phalcon/cphalcon/issues/17800)
- `Phalcon\Acl\Adapter\Memory::isAllowed()` throwing `ReflectionException` for a rule parameter whose class does not exist. [#17800](https://github.com/phalcon/cphalcon/issues/17800)
- `Phalcon\Acl\Adapter\Memory`, `Phalcon\Annotations`, `Phalcon\Autoload\Loader`, `Phalcon\DataMapper`, `Phalcon\Db`, `Phalcon\Di\Di`, `Phalcon\Forms\FormsLocator` and `Phalcon\Storage\Adapter\Weak` throwing a `TypeError` for a numeric array key where a string is expected, such as a numeric role with `allow('*', ...)`, a numeric index name or a list of connection factories, which cphalcon converts. [#900](https://github.com/phalcon/phalcon/issues/900)
- `Phalcon\Acl\Adapter\Memory`, `Phalcon\Db\Dialect`, `Phalcon\Db\Profiler\Item`, `Phalcon\Mvc\Micro\Collection`, `Phalcon\Mvc\Model\Relation` and `Phalcon\Mvc\View\Engine\Volt\Compiler` throwing an `Error` for a property that is read before it is set, instead of using the cphalcon default value. [#838](https://github.com/phalcon/phalcon/issues/838)
- `Phalcon\Acl\Adapter\Storage` giving an "Array to string conversion" warning for a snapshot version that is not an integer or a string. [#17800](https://github.com/phalcon/cphalcon/issues/17800)
- `Phalcon\Acl`, `Phalcon\Assets\Manager`, `Phalcon\Encryption`, `Phalcon\Filter` and `Phalcon\Http` throwing a `TypeError` for an `int` value where a string is expected, such as an `int` role name, a numeric field name in a validation or `$_SERVER['REQUEST_TIME']`, which cphalcon converts. [#886](https://github.com/phalcon/phalcon/issues/886)
- `Phalcon\Annotations\Adapter\Apcu`, `Phalcon\Storage\Adapter\AbstractAdapter`, `Phalcon\Storage\Adapter\Redis` and `Phalcon\Storage\Adapter\RedisCluster` throwing a `TypeError` for an option with a numeric string, such as `'lifetime' => '3600'` from a configuration file, which cphalcon converts. [#865](https://github.com/phalcon/phalcon/issues/865)
- `Phalcon\Annotations\Adapter\Stream::read()` returning the content of a cache file that does not hold a `Reflection` object, or throwing a `TypeError` for it; it now returns `false`, the same as cphalcon. [#17773](https://github.com/phalcon/cphalcon/issues/17773)
- `Phalcon\Annotations\Adapter\Stream::write()` writing the cache files with no PHP opening tag, so that a web request to a file in a folder that the web server can reach showed the serialized annotations. [#17812](https://github.com/phalcon/cphalcon/issues/17812)
- `Phalcon\Annotations\Adapter\Stream` using one cache file for the anonymous classes of a file whose path has no `_`, so that a class got the annotations of another class. [#17810](https://github.com/phalcon/cphalcon/issues/17810)
- `Phalcon\Annotations\Annotation::getArgument()`, `hasArgument()` and the `Phalcon\Annotations\Router` attributes throwing a `TypeError` for a parameter value that cphalcon accepts, such as a `bool` position or an object `beforeMatch`. [#845](https://github.com/phalcon/phalcon/issues/845)
- `Phalcon\Annotations\AnnotationsFactory`, `Phalcon\DataMapper\Pdo\Connection\AbstractConnection`, `Phalcon\Db\Adapter\AbstractAdapter`, `Phalcon\Di\Di`, `Phalcon\Encryption\Security\JWT\Builder`, `Phalcon\Filter\Validation`, `Phalcon\Mvc\Micro`, `Phalcon\Mvc\Router\Annotations`, `Phalcon\Mvc\View`, `Phalcon\Storage\Serializer\Php`, `Phalcon\Support\Helper\Arr\FirstKey` and `Phalcon\Support\Helper\Arr\LastKey` using return types that differ from cphalcon, thus a subclass that overrides the method with the cphalcon signature gave a fatal error. [#841](https://github.com/phalcon/phalcon/issues/841)
- `Phalcon\Annotations`, `Phalcon\Cache`, `Phalcon\Logger\LoggerFactory`, `Phalcon\Queue\Adapter\Stream`, `Phalcon\Session`, `Phalcon\Storage` and `Phalcon\Translate` throwing a `TypeError` for an `int` value where a string is expected, such as `'prefix' => 2024` from an `.ini` file or an `int` cache key, which cphalcon converts. [#883](https://github.com/phalcon/phalcon/issues/883)
- `Phalcon\Assets\Asset::getRealTargetPath()` accepting a symbolic link to a file that does not exist, which let `Phalcon\Assets\Manager` write an asset outside the target folder. [#17802](https://github.com/phalcon/cphalcon/issues/17802)
- `Phalcon\Auth\AbstractAuthDispatcherListener`, `Phalcon\Container\Resolver\Lazy\Call`, `Phalcon\Filter\Validation\Validator\Uniqueness` and `Phalcon\Mvc\Router` throwing a different error than cphalcon for a value that cannot be called. [#817](https://github.com/phalcon/phalcon/issues/817)
- `Phalcon\Auth\Adapter\Model::retrieveByCredentials()` accepting a credential key with a newline at the end, instead of throwing `InvalidCredentialKey`. [#17804](https://github.com/phalcon/cphalcon/issues/17804)
- `Phalcon\Auth\Internal\ContainerResolver::resolveFresh()` returning the same object for a non-shared `Phalcon\Di\Di` service whose definition is a built object, so that two activations of an access gate could share one instance. [#17806](https://github.com/phalcon/cphalcon/issues/17806)
- `Phalcon\Auth\Manager`, `Phalcon\Cli\Router\Route`, `Phalcon\Di\Injectable`, `Phalcon\Dispatcher\AbstractDispatcher`, `Phalcon\Filter\Validation\AbstractValidator` and its validators, `Phalcon\Filter\Validation\AbstractValidatorComposite`, `Phalcon\Forms\Element\AbstractElement`, `Phalcon\Forms\Form` and `Phalcon\Mvc\Model` giving a fatal error for a subclass that declares a property with no type or with the cphalcon type, such as `public $transaction` in a model. [#840](https://github.com/phalcon/phalcon/issues/840)
- `Phalcon\Auth` (`Guard\AbstractGuard::hasValidCredentials()`, `Guard\Session::__construct()`, `Guard\UserRemember` and `Exceptions\ConfigRequiresNonEmptyValue::assert()`) throwing a `TypeError` for a parameter value that cphalcon accepts, such as a `null` session guard configuration. [#848](https://github.com/phalcon/phalcon/issues/848)
- `Phalcon\Cache\CacheFactory`, `Phalcon\Cli\Dispatcher`, `Phalcon\Db\Adapter\Pdo\AbstractPdo`, `Phalcon\Db\Dialect`, `Phalcon\Db\Dialect\Sqlite`, `Phalcon\Db\Result\PdoResult`, `Phalcon\Di\ServiceProviderInterface`, `Phalcon\Http\Request`, `Phalcon\Support\Registry` and `Phalcon\Tag` using parameter names that differ from cphalcon, thus a call with named arguments failed. [#832](https://github.com/phalcon/phalcon/issues/832)
- `Phalcon\Cli\Dispatcher::callActionMethod()`, `Phalcon\Cli\Router::handle()` (converters), `Phalcon\Container\Resolver\Lazy\FunctionCall`, `GetCall`, `NewCall` and `StaticCall`, `Phalcon\DataMapper\Pdo\Connection::__call()`, `Phalcon\Di\Di::get()` (a static closure), `Phalcon\Dispatcher\AbstractDispatcher::callActionMethod()`, `Phalcon\Mvc\Application::handle()` (match callback), `Phalcon\Mvc\Micro::handle()` (handler), `Phalcon\Mvc\Micro\LazyLoader::callMethod()`, `Phalcon\Mvc\Model\Resultset::filter()`, `Phalcon\Mvc\View::getRender()` (config callback) and `Phalcon\Mvc\View\Engine\Volt\Compiler::fireExtensionEvent()` throwing a `TypeError` or an `Error` for a value that cannot be called; they now give a warning and return `null`, the same as cphalcon. [#815](https://github.com/phalcon/phalcon/issues/815)
- `Phalcon\Cli\Router` and `Phalcon\Mvc\Micro` checking the result of a callback differently than cphalcon. [#820](https://github.com/phalcon/phalcon/issues/820)
- `Phalcon\Cli\Router`, `Phalcon\Db\Adapter\Pdo\AbstractPdo`, `Phalcon\Db\Column`, `Phalcon\Html\Helper\Doctype` and `Phalcon\Logger\AbstractLogger` missing constants, protected properties or the constructor that cphalcon has. [#833](https://github.com/phalcon/phalcon/issues/833)
- `Phalcon\Cli`, `Phalcon\Di`, `Phalcon\Dispatcher`, `Phalcon\Mvc\Micro`, `Phalcon\Mvc\Router`, `Phalcon\Mvc\Url` and `Phalcon\Mvc\View` throwing a `TypeError` for an `int` value where a string is expected, such as `'pattern' => 2024` or a route converter that returns an int, which cphalcon converts. [#885](https://github.com/phalcon/phalcon/issues/885)
- `Phalcon\Container\Definition\Processor\ObjectProcessor::process()` setting a factory closure with no parameters, although the factory is called with the container. [#17777](https://github.com/phalcon/cphalcon/issues/17777)
- `Phalcon\Container\Resolver\Lazy` (`CallableGet`, `CallableNew`, `Get`, `NewInstance`, `ArrayValues::merge()`) and `Phalcon\Di` (`Di::setAlias()`, `Service::resolve()`, `Service\Builder::build()`) throwing a `TypeError` for a parameter value that cphalcon accepts, such as a `null` service id or alias. [#849](https://github.com/phalcon/phalcon/issues/849)
- `Phalcon\Container`, `Phalcon\DataMapper\Pdo\ConnectionLocator`, `Phalcon\Db\Dialect`, `Phalcon\Forms\FormsLocator`, `Phalcon\Html\TagFactory`, `Phalcon\Mvc\Model\Manager`, the `Phalcon\Queue` adapters, `Phalcon\Support\Collection` and `Phalcon\Support\Helper\Arr\Group` throwing a `TypeError` for a parameter or return value that cphalcon accepts. [#818](https://github.com/phalcon/phalcon/issues/818)
- `Phalcon\Db\Adapter\AbstractAdapter::fetchColumn()` returning `false` instead of `null` for a `NULL` value, and `Phalcon\Contracts\Db\Adapter\Adapter::fetchColumn()` documenting `bool|string` as the return type. [#17755](https://github.com/phalcon/cphalcon/issues/17755)
- `Phalcon\Db\Adapter\AbstractAdapter::update()` and `updateAsDict()` changing every row for an empty where condition (`''`, `[]` or `'0'`), and not throwing `Phalcon\Db\Exceptions\InvalidWhereConditions` for a condition that is not a string or an array. [#831](https://github.com/phalcon/phalcon/issues/831)
- `Phalcon\Db\Adapter\Pdo\Postgresql::describeColumns()` reporting `mediumblob` columns as `Column::TYPE_TEXT`. [#17724](https://github.com/phalcon/cphalcon/issues/17724)
- `Phalcon\Db\Adapter\Pdo\Postgresql::describeReferences()` returning wrong column pairs for composite foreign keys. [#17680](https://github.com/phalcon/cphalcon/issues/17680)
- `Phalcon\Db\Adapter\Pdo\Sqlite::describeColumns()` reporting `tinyint(1)` columns as `Column::TYPE_INTEGER`. [#17724](https://github.com/phalcon/cphalcon/issues/17724)
- `Phalcon\Db\Adapter\Pdo\Sqlite::describeColumns()` reporting blob columns as `Column::TYPE_VARCHAR`. [#17724](https://github.com/phalcon/cphalcon/issues/17724)
- `Phalcon\Db\Adapter\Pdo\Sqlite::describeColumns()` using `Column::TYPE_DECIMAL` as the bind type of `float` columns, which stored their values as blobs. [#17724](https://github.com/phalcon/cphalcon/issues/17724)
- `Phalcon\Db\Adapter\Pdo\Sqlite::describeReferences()` giving `null` referenced columns for a foreign key with no referenced columns, which references the primary key of the referenced table. [#17815](https://github.com/phalcon/cphalcon/issues/17815)
- `Phalcon\Db\Adapter\Pdo\Sqlite::describeReferences()` giving one reference for each column of a composite foreign key. [#17814](https://github.com/phalcon/cphalcon/issues/17814)
- `Phalcon\Db\Dialect::escapeSchema()` not escaping the quote character in the schema name, which all the dialects use for the schema of a table, for example in `Phalcon\Db\Dialect\Postgresql::truncateTable()`. [#17808](https://github.com/phalcon/cphalcon/issues/17808)
- `Phalcon\Db\Dialect::getSqlExpression()` dropping the table name of an `object` expression (`alias.*` in a PHQL subquery) and giving an `Undefined array key "domain"` warning. [#897](https://github.com/phalcon/phalcon/issues/897)
- `Phalcon\Db\Dialect::prepareColumnAlias()`, `prepareQualified()` and `prepareTable()` declaring `string` instead of `?string` for the `$alias` and `$domain` parameters, and `getSqlColumn()`, `getSqlTable()` and the `*` and qualified expressions passing `""` instead of `null` for no domain or no alias; a subclass that overrides these methods now has the same signature and gets the same values as in cphalcon. [#821](https://github.com/phalcon/phalcon/issues/821)
- `Phalcon\Db\Dialect\Mysql::listTables()` returning MariaDB sequences and `Phalcon\Db\Dialect\Postgresql::listTables()` returning partitions. [#17769](https://github.com/phalcon/cphalcon/issues/17769)
- `Phalcon\Db\Dialect\Mysql::truncateTable()` and `Phalcon\Db\Dialect\Sqlite::truncateTable()` not escaping the quote character in the table and schema names. [#17808](https://github.com/phalcon/cphalcon/issues/17808)
- `Phalcon\Db\Dialect\Postgresql::describeReferences()` giving the name of the database as the referenced schema, instead of the schema of the referenced table. [#17816](https://github.com/phalcon/cphalcon/issues/17816)
- `Phalcon\Db\Dialect` (`getSqlColumn()`, `getSqlTable()` and the SQL expression parts) and `Phalcon\Db\Result\PdoResult` throwing a `TypeError` for a parameter value that cphalcon accepts, such as `null` or the column number of `setFetchMode(Enum::FETCH_COLUMN, 0)`. [#847](https://github.com/phalcon/phalcon/issues/847)
- `Phalcon\Db` and `Phalcon\Mvc\Model` throwing a `TypeError` for an `int` value where a string is expected, such as `'order' => 1` or a numeric column name, which cphalcon converts. [#884](https://github.com/phalcon/phalcon/issues/884)
- `Phalcon\Di\Service\Builder::build()` throwing an `Error` or a `TypeError` for a `calls` method that cannot be called; it now gives a warning and returns `null`, the same as cphalcon. [#808](https://github.com/phalcon/phalcon/issues/808)
- `Phalcon\Encryption\Security::hash()` giving the deprecation "Implicit conversion from float-string" for a fractional numeric string `cost` option. [#17779](https://github.com/phalcon/cphalcon/issues/17779)
- `Phalcon\Encryption\Security::hash()`, `Phalcon\Filter\Validation\AbstractValidator` and its validators, and `Phalcon\Filter\Validation\Validator\Url` throwing a `TypeError` for an option with a numeric string, such as `'code' => '5'`, which cphalcon converts. [#871](https://github.com/phalcon/phalcon/issues/871)
- `Phalcon\Events\Manager`, `Phalcon\Flash\Session`, `Phalcon\Html` and `Phalcon\Http` throwing a `TypeError` for a numeric array key where a string is expected, such as an uploaded file with a numeric form field name or a numeric header name, which cphalcon converts. [#898](https://github.com/phalcon/phalcon/issues/898)
- `Phalcon\Filter\Filter::__call()`, `Phalcon\Filter\Filter::sanitize()`, `Phalcon\Html\TagFactory::__call()` and `Phalcon\Support\HelperFactory::__call()` throwing a `TypeError` for a sanitizer or helper that cannot be called; they now give a warning and return `null`, the same as cphalcon. `Phalcon\Filter\Filter::__call()` now calls the `__invoke()` method of the sanitizer, as cphalcon does. [#808](https://github.com/phalcon/phalcon/issues/808)
- `Phalcon\Forms\Form::bind()` and `Phalcon\Mvc\Model` (`__set()`, `assign()`, `writeAttribute()`, the setters, the hydration and `unserialize()`) throwing a `TypeError` for a value that cphalcon converts, such as `'42'` for an `int` property; they now use the PHP weak type rules, the same as cphalcon. [#804](https://github.com/phalcon/phalcon/issues/804)
- `Phalcon\Forms\Form::getValue()` returning the tag factory for the name `tagFactory`. [#17727](https://github.com/phalcon/cphalcon/issues/17727)
- `Phalcon\Forms` (`Element\AbstractElement::setFilters()`, `Element\Select::setOptions()`, `Form::bind()`, `Form::clear()`, `Manager::create()`, `Manager::loadForm()`) throwing a `TypeError` for a parameter value that cphalcon accepts, and `getFilters()` / `Form::getEntity()` overrides with no return type giving a fatal error. [#851](https://github.com/phalcon/phalcon/issues/851)
- `Phalcon\Http\Request\Bag\AbstractBag` and `Phalcon\Http\Response` throwing a `TypeError` for a parameter value that cphalcon accepts, such as a `null` bag key, a string status code or the route parameters of `redirect()`. [#844](https://github.com/phalcon/phalcon/issues/844)
- `Phalcon\Image\Adapter\AbstractAdapter::crop()`, `Phalcon\Encryption\Security\Random`, `Phalcon\Encryption\Security\JWT\Validator::validateClaim()`, `Phalcon\Storage\Serializer\Php::setAllowedClasses()`, `Phalcon\Queue\Adapter\Beanstalk\BeanstalkConnection::reserve()` and `Phalcon\DataMapper\Pdo\Connection\AbstractConnection::__call()` throwing a `TypeError` for a parameter value that cphalcon accepts, such as a string crop offset or reserve timeout. [#850](https://github.com/phalcon/phalcon/issues/850)
- `Phalcon\Image\ImageFactory::load()` and `Phalcon\Paginator\Adapter\AbstractAdapter` throwing a `TypeError` for an option with a numeric string, such as `'page' => '2'` from a request, which cphalcon converts. [#873](https://github.com/phalcon/phalcon/issues/873)
- `Phalcon\Logger\Adapter\Syslog` and `Phalcon\Translate\Adapter\Gettext` throwing a `TypeError` for an option with a numeric string, such as `'facility' => '8'` from a configuration file, which cphalcon converts. [#867](https://github.com/phalcon/phalcon/issues/867)
- `Phalcon\Mvc\Controller` returning `null` for `$this->eventsManager` and `getEventsManager()` instead of the `eventsManager` service of the container, and `setEventsManager()` of `Phalcon\Db\Adapter\AbstractAdapter`, `Phalcon\Mvc\Micro`, `Phalcon\Mvc\Model\Manager`, `Phalcon\Mvc\Router`, `Phalcon\Mvc\View`, `Phalcon\Mvc\View\Engine\AbstractEngine` and `Phalcon\Mvc\View\Simple` replacing that service. [#835](https://github.com/phalcon/phalcon/issues/835)
- `Phalcon\Mvc\Micro::handle()` throwing a `TypeError` instead of `Phalcon\Mvc\Micro\Exceptions\ErrorHandlerNotCallable` for an error handler that cannot be called. [#815](https://github.com/phalcon/phalcon/issues/815)
- `Phalcon\Mvc\Model::doLowInsert()` not reading back the generated id on MySQL when the identity property is `0`. [#17689](https://github.com/phalcon/cphalcon/issues/17689)
- `Phalcon\Mvc\Model::find()`, `Phalcon\Mvc\Model\Query\Builder` and `Phalcon\Mvc\Model\Relation::isReusable()` throwing a `TypeError` for an option with a numeric string, such as `'offset' => '20'`, which cphalcon converts. [#869](https://github.com/phalcon/phalcon/issues/869)
- `Phalcon\Mvc\Model::save()` leaving the transaction of the related records open when an exception is thrown during the save; the transaction is now rolled back before the exception is thrown again. [#17756](https://github.com/phalcon/cphalcon/issues/17756)
- `Phalcon\Mvc\Model::setup()`, `Phalcon\Tag::formLegacy()`, `Phalcon\Tag::getEscaper()` and `Phalcon\Tag\Select` ignoring an option with a `null` value, which cphalcon uses as a value. [#837](https://github.com/phalcon/phalcon/issues/837)
- `Phalcon\Mvc\Model\Query::getIntermediate()` throwing a `TypeError` after `parse()` got the intermediate representation from the cache. [#800](https://github.com/phalcon/phalcon/issues/800)
- `Phalcon\Mvc\Model\Query` giving an "Undefined array key" warning for a join with no `ON` condition when `enable_implicit_joins` is disabled; the query still throws `Phalcon\Db\Exceptions\InvalidSqlExpression`. [#816](https://github.com/phalcon/phalcon/issues/816)
- `Phalcon\Mvc\Model\Query` reusing a cached intermediate representation that was built with the other value of the `enable_implicit_joins` option. [#800](https://github.com/phalcon/phalcon/issues/800)
- `Phalcon\Mvc\Model\Query` throwing `Phalcon\Phql\Exception` instead of `Phalcon\Mvc\Model\Exception` for PHQL errors; PHQL statements now parse exactly as in cphalcon (error messages, string escape sequences, nesting limit, empty statements), with the parser from `phalcon/phql`. [#800](https://github.com/phalcon/phalcon/issues/800)
- `Phalcon\Mvc\Model\Resultset::delete()` and `Phalcon\Mvc\Model\Resultset::update()` throwing a `TypeError` instead of `Phalcon\Mvc\Model\Exceptions\InvalidReturnedRecord` for a resultset with `HYDRATE_ARRAYS`. [#880](https://github.com/phalcon/phalcon/issues/880)
- `Phalcon\Mvc\Model\Resultset\Complex::serialize()` and `Phalcon\Mvc\Model\Resultset\Simple::serialize()` throwing a `TypeError` when the `serializer` service does not return a string, such as `Phalcon\Storage\Serializer\None`. [#879](https://github.com/phalcon/phalcon/issues/879)
- `Phalcon\Mvc\Model\Resultset\Complex` and `Phalcon\Mvc\Model\Resultset\Simple` putting their cache in the serialized data, which failed for a cache that cannot be serialized, such as a Redis connection. A resultset from the cache now has no cache (`getCache()` returns `null`). [#17766](https://github.com/phalcon/cphalcon/issues/17766)
- `Phalcon\Mvc\Model\Resultset\Simple` throwing a `TypeError` with `HYDRATE_ARRAYS` or `HYDRATE_OBJECTS`. [#819](https://github.com/phalcon/phalcon/issues/819)
- `Phalcon\Mvc\Model` getting the `modelsManager` and `modelsMetadata` services with `get()` instead of `getShared()`, thus a service that is not shared gave a new instance for each call. [#839](https://github.com/phalcon/phalcon/issues/839)
- `Phalcon\Mvc\Model`, `Phalcon\Mvc\Model\Binder`, `Phalcon\Mvc\Model\Eager\Loader`, `Phalcon\Mvc\Model\Query`, `Phalcon\Mvc\View` and `Phalcon\Mvc\View\Simple` throwing a `TypeError` for a numeric array key where a string is expected, such as an `int` column map value, a numeric relation alias or a numeric PHQL alias, which cphalcon converts. [#899](https://github.com/phalcon/phalcon/issues/899)
- `Phalcon\Mvc\Model`, `Phalcon\Mvc\Model\MetaData`, `Phalcon\Mvc\Router` and `Phalcon\Mvc\View` throwing a different exception than cphalcon, or none, for a column that is not in the column map, metadata that is not an array, or not-found paths or a views directory of the wrong type; with `orm.ignore_unknown_columns`, `Phalcon\Mvc\Model::save()` gave a warning and a `TypeError` for such a column. [#834](https://github.com/phalcon/phalcon/issues/834)
- `Phalcon\Mvc\Router::handle()` throwing a `TypeError` instead of `Phalcon\Mvc\Router\Exceptions\WrongPathsKey` for an `int` paths key. [#881](https://github.com/phalcon/phalcon/issues/881)
- `Phalcon\Mvc\View\Engine\Php` and `Phalcon\Mvc\View\Engine\Volt` not sharing the variables of a template with its layout and partials, as cphalcon does. [#810](https://github.com/phalcon/phalcon/issues/810)
- `Phalcon\Mvc\View\Engine\Php` and `Phalcon\Mvc\View\Engine\Volt` skipping a render parameter named `this`, where cphalcon throws `Error: Cannot re-assign $this`. [#921](https://github.com/phalcon/phalcon/issues/921)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compile()` ignoring the deprecated options `compileAlways`, `compiledPath`, `compiledSeparator` and `compiledExtension`, and using the default value for an option set to `null`. [#836](https://github.com/phalcon/phalcon/issues/836)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compile()` rendering serialized blocks for the second child of a layout when `stat` is `false`. [#17674](https://github.com/phalcon/cphalcon/issues/17674)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compileCall()` silently dropping `{% call %}` blocks instead of throwing an exception. [#17676](https://github.com/phalcon/cphalcon/issues/17676)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compileEcho()` escaping the output of the escape filters (`e`, `escape`, `escape_attr` and others) a second time when `autoescape` is on. [#17678](https://github.com/phalcon/cphalcon/issues/17678)
- `Phalcon\Mvc\View\Engine\Volt\Compiler` throwing `Phalcon\Volt\Exception` instead of `Phalcon\Mvc\View\Exception` for template syntax errors; Volt templates now parse exactly as in cphalcon (error messages, line numbers, nesting limit), with the parser from `phalcon/volt`. [#801](https://github.com/phalcon/phalcon/issues/801)
- `Phalcon\Storage\Adapter\Libmemcached` setting the failover defaults and the `client` options on the wrong Memcached options. [#863](https://github.com/phalcon/phalcon/issues/863)
- `Phalcon\Support\Debug::debugVar()` storing the arguments and objects of each backtrace frame. [#17746](https://github.com/phalcon/cphalcon/issues/17746)
- `Phalcon\Support\Debug::onUncaughtException()` discarding only one output buffer level. [#17739](https://github.com/phalcon/cphalcon/issues/17739)
- `Phalcon\Support\Debug::onUncaughtException()` turning a warning raised while rendering into a fatal error and echoing later exception messages without escaping. [#17733](https://github.com/phalcon/cphalcon/issues/17733)
- `Phalcon\Support\Debug::setBlacklist()` filtering only the top-level keys of the request and server data. [#17736](https://github.com/phalcon/cphalcon/issues/17736)
- `Phalcon\Support\Debug\Dump::variable()` not escaping public property names in the HTML output. [#17729](https://github.com/phalcon/cphalcon/issues/17729)
- `Phalcon\Support\Debug\Dump::variable()` printing the key after a skipped key on the same line. [#17746](https://github.com/phalcon/cphalcon/issues/17746)
- `Phalcon\Support\Debug\Dump::variable()` throwing an `Error` in detailed mode for typed properties that have no value. [#17735](https://github.com/phalcon/cphalcon/issues/17735)
- `Phalcon\Support\Debug\Renderer\HtmlRenderer::render()` dropping invalid UTF-8 text and not escaping quotes, class names and file paths. [#17731](https://github.com/phalcon/cphalcon/issues/17731)
- `Phalcon\Support\Debug\Renderer\HtmlRenderer::render()` not showing the previous exceptions, and showing files in a Windows `\vendor\` folder as application code. [#17746](https://github.com/phalcon/cphalcon/issues/17746)
- `Phalcon\Support\Debug\Renderer\HtmlRenderer::render()` stopping the debug page for objects with a `dump()` method that is not public, is static, has required parameters or does not return an array. [#17735](https://github.com/phalcon/cphalcon/issues/17735)
- `Phalcon\Support\Debug\ReportBuilder::build()` reading a file again for each frame, and linking Phalcon classes to API pages that do not exist. [#17746](https://github.com/phalcon/cphalcon/issues/17746)
- `Phalcon\Support` (`Settings`, `Collection::sort()`, `AbstractLocator`, `Debug\Report\BacktraceItem`, the `Arr` helpers and `Str\Friendly`) throwing a `TypeError` for a parameter value that cphalcon accepts, such as a string from `Db\Adapter\AbstractAdapter::setup(["forceCasting" => "1"])`. [#846](https://github.com/phalcon/phalcon/issues/846)
- `Phalcon\Tag` and `Phalcon\Tag\Select` throwing a `TypeError` for a parameter value that cphalcon accepts, such as `null` or an `int` for the parameters of a helper, the title, the link text or the `local` flag of `linkTo()`; `checkField()`, `formLegacy()`, `getValue()`, `radioField()` and `textArea()` also give the cphalcon result for some parameter arrays, such as a `textArea()` with only an `id`. [#843](https://github.com/phalcon/phalcon/issues/843)
- `Phalcon\Translate\Adapter\Csv` throwing a `TypeError` for a blank line in the translation file. [#882](https://github.com/phalcon/phalcon/issues/882)
- `composer cs-fixer-fix` adding `declare(strict_types=1)` to `Phalcon\Support\Traits\WeakTypesTrait`, which must use the PHP weak type rules. [#875](https://github.com/phalcon/phalcon/issues/875)

### Removed

- Removed the unused `mode` key from the code fragment of `Phalcon\Support\Debug\Report\BacktraceItem::getFragment()`. [#17748](https://github.com/phalcon/cphalcon/issues/17748)
- Removed the unused protected `Phalcon\Db\Dialect\Traits\TextTrait::getExistsSql()`, which did not escape the view name; use `viewExists()` or `tableExists()` of the dialect. [#919](https://github.com/phalcon/phalcon/issues/919)

## [6.0.0 RC 4](https://github.com/phalcon/phalcon/releases/tag/v6.0.0RC4) (2026-10-15)

### Changed

- Faster SQL generation in `Phalcon\Db\Dialect` and select execution in `Phalcon\Mvc\Model\Query`. [#17660](https://github.com/phalcon/cphalcon/issues/17660) [[doc]](https://docs.phalcon.io/6.0/db-layer/) [[doc]](https://docs.phalcon.io/6.0/db-phql/)
- Faster event dispatch in `Phalcon\Events\Manager`, method detection in `Phalcon\Http\Request` and header sending in `Phalcon\Http\Response`. [#17633](https://github.com/phalcon/cphalcon/issues/17633) [[doc]](https://docs.phalcon.io/6.0/events/) [[doc]](https://docs.phalcon.io/6.0/request/) [[doc]](https://docs.phalcon.io/6.0/response/)
- Faster model hydration in `Phalcon\Mvc\Model` and `Phalcon\Mvc\Model\Resultset\Complex`. [#17632](https://github.com/phalcon/cphalcon/issues/17632) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Faster rendering and template compilation in `Phalcon\Mvc\View` and `Phalcon\Mvc\View\Engine\Volt\Compiler`. [#17668](https://github.com/phalcon/cphalcon/issues/17668) [[doc]](https://docs.phalcon.io/6.0/views/) [[doc]](https://docs.phalcon.io/6.0/volt/)
- Faster route matching and route index build in `Phalcon\Mvc\Router`. [#17628](https://github.com/phalcon/cphalcon/issues/17628) [[doc]](https://docs.phalcon.io/6.0/routing/)
- Faster router setup in `Phalcon\Mvc\Micro`: the default router is created without its default routes. [#17630](https://github.com/phalcon/cphalcon/issues/17630) [[doc]](https://docs.phalcon.io/6.0/application-micro/)
- Faster service registration and resolution in `Phalcon\Container\Container`. [#17631](https://github.com/phalcon/cphalcon/issues/17631) [[doc]](https://docs.phalcon.io/6.0/container/)
- Faster service resolution in `Phalcon\Di\Di` for service names with no alias. [#17629](https://github.com/phalcon/cphalcon/issues/17629) [[doc]](https://docs.phalcon.io/6.0/di/)

### Fixed

- `Phalcon\Mvc\Model::__set()` skipping the user-defined setter when `null` is assigned to a relationship alias. [#17662](https://github.com/phalcon/cphalcon/issues/17662) [[doc]](https://docs.phalcon.io/6.0/db-models-relationships/)
- `Phalcon\Mvc\Router::getMatches()` and `Phalcon\Cli\Router::getMatches()` returning the matches of an earlier request after a static-route match or no match. [#17646](https://github.com/phalcon/cphalcon/issues/17646) [[doc]](https://docs.phalcon.io/6.0/routing/) [[doc]](https://docs.phalcon.io/6.0/application-cli/)
- `Phalcon\Mvc\Router::getMatches()` returning the internal `MARK` key after a combined-regex match. [#17634](https://github.com/phalcon/cphalcon/issues/17634) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` combined-regex matching changing the meaning of a route pattern with `|` outside a group. [#17645](https://github.com/phalcon/cphalcon/issues/17645) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` combined-regex matching failing to compile or mixing matches for routes with named groups. [#17636](https://github.com/phalcon/cphalcon/issues/17636) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` combined-regex matching returning a wrong route when a route pattern in the same chunk does not compile. [#17644](https://github.com/phalcon/cphalcon/issues/17644) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` combined-regex matching skipping a route after a `beforeMatch` veto and calling the callback two times. [#17635](https://github.com/phalcon/cphalcon/issues/17635) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` static-route matching calling a `beforeMatch` callback two times after a veto. [#17638](https://github.com/phalcon/cphalcon/issues/17638) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` static-route matching ignoring a later-attached regex route of the request method. [#17642](https://github.com/phalcon/cphalcon/issues/17642) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\Router` static-route matching passing over a regex route when a later static route is skipped by its host name or `beforeMatch`. [#17643](https://github.com/phalcon/cphalcon/issues/17643) [[doc]](https://docs.phalcon.io/6.0/routing/)
- `Phalcon\Mvc\View\Engine\Volt\Compiler` using the blocks and the `{% extends %}` state of an earlier template when one compiler compiles more than one template. [#17668](https://github.com/phalcon/cphalcon/issues/17668) [[doc]](https://docs.phalcon.io/6.0/volt/)

## [6.0.0 RC 3](https://github.com/phalcon/phalcon/releases/tag/v6.0.0RC3) (2026-10-01)

### Changed

- Faster creation of `Phalcon\Di\FactoryDefault` and faster shared service lookups in `Phalcon\Di\Di`. [#17617](https://github.com/phalcon/cphalcon/issues/17617)
- Faster creation of `Phalcon\Filter\Filter`. [#17617](https://github.com/phalcon/cphalcon/issues/17617)
- Faster route definition and route index build in `Phalcon\Mvc\Router`. [#17618](https://github.com/phalcon/cphalcon/issues/17618)
- Faster service definition and alias lookups in `Phalcon\Container\Container`. [#17619](https://github.com/phalcon/cphalcon/issues/17619)

### Fixed

- `Phalcon\Mvc\View::partial()` and `Phalcon\Mvc\View\Simple::render()` dropping a `..` path segment instead of resolving it. [#17606](https://github.com/phalcon/cphalcon/issues/17606) [[doc]](https://docs.phalcon.io/6.0/views/)
- `Phalcon\Mvc\View::partial()` not detecting a Windows absolute path (`C:\...`) as absolute. [#17606](https://github.com/phalcon/cphalcon/issues/17606) [[doc]](https://docs.phalcon.io/6.0/views/)
- `Phalcon\Mvc\Model\MetaData\Stream` letting other processes read a partially written cache file. [#17608](https://github.com/phalcon/cphalcon/issues/17608) [[doc]](https://docs.phalcon.io/6.0/db-models-metadata/)
- `Phalcon\Mvc\Model\MetaData` storing a cached value that is not an array as the model meta-data. [#17608](https://github.com/phalcon/cphalcon/issues/17608) [[doc]](https://docs.phalcon.io/6.0/db-models-metadata/)
- `Phalcon\Filter\Filter::sanitize()` not calling array callables registered with `set()`. [#17610](https://github.com/phalcon/cphalcon/issues/17610) [[doc]](https://docs.phalcon.io/6.0/filter-filter/)

## [6.0.0 RC 2](https://github.com/phalcon/phalcon/releases/tag/v6.0.0RC2) (2026-09-22)

### Changed

- `Phalcon\Annotations\ReaderInterface` no longer declares the static `parseDocBlock()`; it stays a public static method of `Phalcon\Annotations\Reader`. [#17601](https://github.com/phalcon/cphalcon/issues/17601) [[doc]](https://docs.phalcon.io/6.0/annotations/)
- `Phalcon\Mvc\Model\MetaData\Strategy\Annotations` reads `skipOnInsert`, `skipOnUpdate`, `allowEmptyString` and `defaultValue` next to the `skip_on_insert`, `skip_on_update`, `allow_empty_string` and `default` it already read. [#17601](https://github.com/phalcon/cphalcon/issues/17601) [[doc]](https://docs.phalcon.io/6.0/db-models-metadata/)

### Added

- `Phalcon\Annotations\AttributesReader` reads PHP attributes instead of docblocks; `setReader()` on the annotations adapter selects it and `Phalcon\Annotations\Reader` stays the default. [#17601](https://github.com/phalcon/cphalcon/issues/17601) [[doc]](https://docs.phalcon.io/6.0/annotations/)
- `Phalcon\Annotations\Router\Route`, `Connect`, `Delete`, `Get`, `Head`, `Options`, `Patch`, `Post`, `Purge`, `Put`, `Trace`, `RoutePrefix` and `Phalcon\Annotations\Models\MetaData\Column`, `Identity`, `Primary`, `Source` give the attribute form of the router and model metadata annotations. [#17601](https://github.com/phalcon/cphalcon/issues/17601) [[doc]](https://docs.phalcon.io/6.0/annotations/)

## [6.0.0 RC 1](https://github.com/phalcon/phalcon/releases/tag/v6.0.0RC1) (2026-09-18)

### Changed

- `Phalcon\Db\Adapter\Pdo\AbstractPdo::commit()` and `rollback()` now throw `Phalcon\Db\Exceptions\NoActiveTransaction` when the connection has no active transaction, instead of sending a commit, rollback or savepoint statement to the server. [#17546](https://github.com/phalcon/cphalcon/issues/17546) [[doc]](https://docs.phalcon.io/6.0/db-layer/)

### Added

- `Phalcon\Mvc\Model::findFirst()` now recognizes the `eager` parameter, so relations can be eagerly loaded. [#17534](https://github.com/phalcon/cphalcon/issues/17534) [[doc]](https://docs.phalcon.io/6.0/db-models/)

### Fixed

- PHQL `WITH` naming a model instead of a relation alias always throwing `RelationshipNotFound`; the fallback checked `Phalcon\Mvc\Model\Manager::getRelationsBetween()` for an object, but it returns an array. Ambiguous pairs now throw `AmbiguousJoinRelation`. [#17554](https://github.com/phalcon/cphalcon/issues/17554) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- PHQL string literals not resolving their escape sequences, so `\n` reached the database as a backslash and an `n`. [#17585](https://github.com/phalcon/cphalcon/issues/17585) [[doc]](https://docs.phalcon.io/6.0/db-phql/)
- `Phalcon\Db\Adapter\Pdo\AbstractPdo` leaving the transaction nesting level wrong when `begin()`, `commit()` or `rollback()` fails. [#17546](https://github.com/phalcon/cphalcon/issues/17546) [[doc]](https://docs.phalcon.io/6.0/db-layer/)
- `Phalcon\Filter\Validation\Validator\File\AbstractFile::checkUpload()` reporting success when the field value is not an uploaded file array; a missing file or a plain string now fails validation. [#17541](https://github.com/phalcon/cphalcon/issues/17541) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- `Phalcon\Filter\Validation\Validator\File\Resolution\Equal`, `Max`, `Min` and `AspectRatio` not checking the `false` returned by `getimagesize()`; a file that is not a readable image is now rejected. [#17542](https://github.com/phalcon/cphalcon/issues/17542) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- `Phalcon\Filter\Validation\Validator\Ip` ignoring per-field `allowPrivate` and `allowReserved` arrays; the option is now resolved for the field before it becomes a filter flag. [#17548](https://github.com/phalcon/cphalcon/issues/17548) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- `Phalcon\Forms\Element\CheckGroup` and `RadioGroup` storing their choices in the property `Phalcon\Forms\Element\AbstractElement` uses for user options, so `setUserOption()` added a choice and `setOptions()` removed every user option. [#17536](https://github.com/phalcon/cphalcon/issues/17536) [[doc]](https://docs.phalcon.io/6.0/forms/)
- `Phalcon\Forms\Element\Select::addOption()` writing with an offset into an object or `null` options value; the write now happens only when the options value is an array (`null` becomes an empty array). [#17536](https://github.com/phalcon/cphalcon/issues/17536) [[doc]](https://docs.phalcon.io/6.0/forms/)
- `Phalcon\Mvc\Model::__construct()` raising `TypeError` on a non-array `data` argument; it is ignored, as cphalcon does.
- `Phalcon\Mvc\Model\Manager::getRelationRecords()` raising `TypeError` on a compound through-relation marked `reusable`, and reusing one key for every record. The key is now built from every field the relation covers. [#17560](https://github.com/phalcon/cphalcon/issues/17560) [[doc]](https://docs.phalcon.io/6.0/db-models-relationships/)
- `Phalcon\Mvc\Model\Manager` relation guards throwing `TypeError` on a string field list, and the second check in `addHasManyToMany()` / `addHasOneThrough()` comparing the same pair twice. [#17556](https://github.com/phalcon/cphalcon/issues/17556) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- `Phalcon\Mvc\Model\MetaData::getColumnMap()` and `getReverseColumnMap()` raising `TypeError` from the reader on a corrupt column-map slot, so their `CorruptedMetaData` guard could never fire, as it does in cphalcon.
- `Phalcon\Mvc\Model\Resultset::valid()` reporting no row for a resultset restored from cache; `Phalcon\Mvc\Model\Resultset\Complex` stores rows that are already hydrated, so they are objects and not arrays. [#17574](https://github.com/phalcon/cphalcon/issues/17574) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- `Phalcon\Mvc\Model\Resultset\Simple::current()` giving back `false` on a second call at a position with no row; the `false` it caches is a sentinel, and `null` is returned as the declared type says. [#17568](https://github.com/phalcon/cphalcon/issues/17568) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- `Phalcon\Mvc\Model` raising `TypeError` on a composite virtual foreign key violation, and when the case-insensitive column-map lookup ran without a column map. [#17558](https://github.com/phalcon/cphalcon/issues/17558) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- `Phalcon\Mvc\Router::loadFromConfig()` silently configuring nothing when the config was neither an array nor a `Phalcon\Config\ConfigInterface`; `InvalidConfigSource` is thrown, as cphalcon does.
- `Phalcon\Mvc\View\Engine\Volt::isIncluded()` raising `TypeError` on a haystack that is neither an array nor a string; `InvalidHaystack` is thrown, as cphalcon does. A missing `mb_strpos()` falls back to `strpos()`.
- `Phalcon\Mvc\View\Engine\Volt::preload()` raising an error when the engine has no container; the href is given back unchanged. `Phalcon\Mvc\View\Engine\Volt\Compiler::compileSource()` returning `null` in extends mode when the template contributes no blocks. [#17565](https://github.com/phalcon/cphalcon/issues/17565) [[doc]](https://docs.phalcon.io/6.0/volt/)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::$prefix` and `$extendedBlocks` typed more narrowly than the cphalcon properties, so a closure prefix generator could not be stored and an extends-mode sub-compilation raised `TypeError`.
- `Phalcon\Storage\Adapter\Stream` and `Phalcon\Queue\Adapter\Stream\StreamContext` reporting a `mkdir(): File exists` warning when a different process makes the directory first. [#17561](https://github.com/phalcon/cphalcon/issues/17561) [[doc]](https://docs.phalcon.io/6.0/storage/)
- `Phalcon\Support\Traits\FilePathTrait::prepareVirtualPath()` raising `TypeError` when `realpath()` returned `false` for a missing Volt template, before `TemplateFileNotFound` could be thrown.

### Removed

- `Phalcon\Mvc\Model\Query::ormSingleQuotes()`, private and unused since escaping moved into the dialect. It has no cphalcon counterpart.

## [6.0.0 beta 11](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta11) (2026-08-26)

### Changed

- ACL role, component and access names can no longer contain `!`, the internal key delimiter; `Phalcon\Acl\Exceptions\ForbiddenDelimiter` is thrown instead.
- Cache file names of `Phalcon\Annotations\Adapter\Stream`, `Phalcon\Mvc\Model\MetaData\Stream` and `Phalcon\Storage\Adapter\Stream` get a hash suffix when the key contains the character that the separator replacement produces (`_` for class names; `/`, `\`, `:` for storage keys), so two different keys can no longer share one file. Names of all other keys are unchanged.
- `Phalcon\Auth\Guard\Session` sets the `Secure` flag of the remember-me cookie from the new `rememberSecure` option (default `true`) instead of the request scheme, so a TLS-terminating proxy that reports plain HTTP to the backend cannot downgrade it.
- `Phalcon\Auth\Guard\Session` validates the "remember me" token against the user agent of the current request instead of the one stored in the cookie; a browser user-agent change now ends a remembered session.
- `Phalcon\Encryption\Security::CRYPT_MD5`, `CRYPT_SHA256` and `CRYPT_SHA512` are documented as weak legacy algorithms to be removed in a future major version; use bcrypt or Argon2 and rehash on login.
- `Phalcon\Storage\Adapter\Stream` creates its shard directories with mode `0755` instead of `0777`. Thanks to [Ilia Alshanetsky](https://ilia.ws)

### Added

- Optional fifth argument `stopOnFalse` on `Phalcon\Events\Manager::fire()` (not on the interface), a per-call override of `setStopOnFalse()`; `EventsAwareTrait::fireManagerEvent()` gained a matching fourth argument.
- `Phalcon\Acl\Exceptions\ForbiddenDelimiter`, thrown when an ACL role, component or access name contains `!`.
- `Phalcon\Auth\Exceptions\InvalidCredentialKey`, thrown when a credential key passed to `Phalcon\Auth\Adapter\Model::retrieveByCredentials()` is not a plain identifier.
- `Phalcon\Http\Request\Bag\AbstractBag::clear()`, removing all elements of a request bag.
- `allowedClasses` option for the Storage adapters (`true`, `false` or a list of class names), forwarded to the new `Phalcon\Storage\Serializer\Php::setAllowedClasses()`: restricts the classes `unserialize()` may instantiate for stored values, including the nested content of the `Stream` adapter. A class outside the list makes the read fail instead of building an object. Thanks to [Ilia Alshanetsky](https://ilia.ws)
- `rememberSecure` option for the session guard (`Phalcon\Auth\Guard\Config\SessionGuardConfig`, `Session::fromOptions()`).

### Fixed

- "Remember me" cookie of another account surviving `Phalcon\Auth\Guard\Session::logout()` when the current user does not implement `AuthRemember`.
- A `false` returned by a listener of `acl:beforeCheckAccess`, `dispatch:beforeDispatch`, `dispatch:beforeExecuteRoute`, `micro:beforeHandleRoute` or `micro:beforeExecuteRoute` being overwritten by a later listener that returned a non-null value; these boundaries now fire with stop-on-false, so a denial is final.
- Asset output following a symbolic link at the target file and writing outside the assets directory.
- Backslash path traversal in `Phalcon\Mvc\View::partial()` and `Phalcon\Mvc\View\Simple::render()` on Windows.
- Cached user surviving `Phalcon\Auth\Guard\Token::setRequest()`, so a replaced request inherited the previous authentication.
- Column comment concatenated unescaped into the `CREATE TABLE` / `ALTER TABLE` DDL of the MySQL dialect; it is now escaped like the DEFAULT clause. Thanks to [Ilia Alshanetsky](https://ilia.ws)
- Credential keys interpolated unvalidated into the PHQL built by `Phalcon\Auth\Adapter\Model::retrieveByCredentials()`.
- Distinct ACL tuples colliding on the same internal key when a role, component or access name contained `!`.
- JWT audience validated with a loose comparison, so a numeric or boolean `aud` claim satisfied a string audience.
- Length-dependent HMAC work on the CBC decrypt failure path of `Phalcon\Encryption\Crypt`, which could still tell a padding failure from a MAC mismatch by timing.
- Malformed ACL snapshot loaded by `Phalcon\Acl\Adapter\Storage` raising `TypeError` or leaving the adapter half loaded, and deep or cyclic object graphs recursing without limit; `InvalidSnapshot` is now thrown before any state changes.
- Namespace middleware bypass in the ADR `Router` through case-variant or separator-injected paths that PHP resolves to the canonical Action class; only the exact declared class name is a match.
- Non-string elements passed to `Phalcon\Acl\Adapter\Memory::addInherit()` raising a warning and a `TypeError` instead of `InvalidRoleType`.
- Request attributes of the previous route surviving on a reused request in `Phalcon\ADR\Application::handle()`.
- Scheme allow-list bypass in the Filter `url` sanitizer through HTML-entity obfuscated schemes (`java&#115;cript:`) and URLs that `parse_url()` cannot parse; the sanitizer now fails closed. Thanks to [Ilia Alshanetsky](https://ilia.ws)
- Validators `Alpha`, `Alnum`, `Confirmation`, `CreditCard`, `Digit`, `Numericality`, `Regex`, `StringLength\Min` and `StringLength\Max` cast an array value to the constant `"Array"`, so `field[]=x` passed alphabetic, alphanumeric, length and confirmation checks; a value that cannot be a string is now rejected with the validator's message. Thanks to [Ilia Alshanetsky](https://ilia.ws)
- View parameters named `path` or `compiledTemplatePath` replacing the file included by the `Php` and `Volt` view engines.
- Volt extends-mode cache unserialized without a class restriction.
- `Phalcon\Tag::getEscaper()` treated every value other than `true` as escaping disabled, so `1` or `"1"` silently switched escaping off; it now matches cphalcon (only a falsy value disables it).
- `ReflectionException` / `TypeError` from ACL rule callbacks with builtin-typed parameters, array callables or static-method strings.
- `acl:afterCheckAccess` reporting the static rule instead of the final `isAllowed()` decision (rule callback and default action were not applied).
- `only()` / `except()` action filters leaking between `Phalcon\Auth\Manager::access()` activations when the access gate was registered as a shared service in the legacy `Di`.

## [6.0.0 beta 10](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta10) (2026-08-25)

### Changed

- Added regression tests for the security hardening changes that had no failing-on-revert coverage.
- The PHPUnit configuration now fails the run on notices, deprecations and PHPUnit deprecations, and prints the details of every triggering test.

### Fixed

- `Phalcon\Db\Dialect\Mysql::getColumnDefinition()` appended `VARCHAR` to a custom string type and ignored `typeValues`, so ENUM/SET columns rendered as `ENUMVARCHAR` instead of `ENUM('a', 'b')`; the method now mirrors cphalcon, including the escaping of the values.
- Stale shadow flag clean-up in `Phalcon\Mvc\Router` now checks the entry exists before removing it, in sync with cphalcon [#17527](https://github.com/phalcon/cphalcon/issues/17527).

## [6.0.0 beta 9](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta9) (2026-08-24)

### Fixed

- Attribute name and empty-option injection in the legacy Tag / Forms Select element.
- Attribute name and tag name injection in the Html Tag helpers.
- Attribute name splitting in the Html Escaper `attributes()` array keys.
- Backslash breakout in the Html Escaper `js()` output.
- Broken string-literal escaping of column defaults and ENUM/SET values in the Db dialects.
- CBC padding-oracle exposure in `Crypt::decrypt()`, where a padding failure was distinguishable from a MAC mismatch.
- Command injection via CR/LF in Beanstalk queue tube names.
- CORS credentials paired with a reflected wildcard origin in the ADR Cors middleware.
- Dangerous URL scheme (`javascript:`, `data:`) passthrough in the Filter `url` sanitizer.
- Format-string denial of service in the Translate indexed-array interpolator.
- Log injection via unescaped control characters in the Logger line formatter.
- Missing Secure and HttpOnly flags on the Auth "remember me" cookie.
- Non-constant-time credential comparison in the Auth memory and stream adapters.
- Non-cryptographic randomness in the ISO-10126 padding scheme.
- Object injection through unrestricted `unserialize()` in the Storage Stream payload read.
- Only the first configured trusted proxy checked when resolving the Request client address.
- Open redirect in the ADR redirect responder bypassing the Http Response `redirect()` gate.
- Open redirect via absolute and protocol-relative targets in the Http Response `redirect()`.
- Path traversal in the View `partial()` and Simple `render()` paths.
- Path traversal via the cache key in the Storage Stream adapter.
- Path traversal via the session id in the Session Stream adapter.
- Reflected XSS via unescaped array keys in the Debug dump and exception renderer.
- SQL injection in the Db Dialect schema-introspection methods.
- SQL injection via uncast LIMIT and OFFSET values in the Db Dialect `limit()`.
- Session fixation in the Auth Session guard login.
- Session id not regenerated on the Auth Session guard logout.
- Unbounded image dimensions (decompression bomb / pixel flood) in the GD and Imagick image adapters.
- Unbounded recursion in the WKB geometry parser.
- Unescaped CSS class in Flash messages.
- Unescaped identifier quoting in the DataMapper PDO connection.
- Unescaped label and link in the deprecated Html Breadcrumbs.
- Unescaped label text in the Html checkbox and radio helpers.
- Unescaped link in the Html breadcrumbs helper.
- Wrong route dispatched by the Router fast path when a static route follows a shadowing regex.

## [6.0.0 beta 8](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta8) (2026-08-22)

### Fixed

- Single-quoted string emission in Volt Compiler.
- Quoted parameters in PHQL/Query

## [6.0.0 beta 7](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta7) (2026-08-19)

### Changed

- Changed `Phalcon\Filter\Validation\Validator\Callback` to stop binding the callback closure to the validator; to set the message from inside the callback ([#17255](https://github.com/phalcon/cphalcon/issues/17255)), declare a second parameter and call `$validator->setTemplate()` instead of `$this->setTemplate()` [#17499](https://github.com/phalcon/cphalcon/issues/17499) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Changed `Phalcon\Filter\Validation\Validator\StringLength`, `Phalcon\Filter\Validation\Validator\StringLength\Min` and `Phalcon\Filter\Validation\Validator\StringLength\Max` to treat `min` and `max` as inclusive when the `included` option is not set, matching the class documentation and the behavior before 5.7.0; set `included` to `false` for exclusive boundaries [#17503](https://github.com/phalcon/cphalcon/issues/17503) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)

### Added

- Added `includedMinimum` and `includedMaximum` as aliases of the `included` option in `Phalcon\Filter\Validation\Validator\StringLength\Min` and `Phalcon\Filter\Validation\Validator\StringLength\Max`, so the option names of the `StringLength` container also work on the two validators directly. `included` has precedence if you set both [#17503](https://github.com/phalcon/cphalcon/issues/17503) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Added lifecycle events to the DataMapper connections, fired through `Phalcon\Events\Manager` and named on the new `Phalcon\DataMapper\Pdo\Events` class: `dm:beforeConnect`/`dm:afterConnect`, `dm:beforeDisconnect`/`dm:afterDisconnect`, `dm:beforePerform`/`dm:afterPerform`, `dm:beforeExec`/`dm:afterExec`, `dm:beforeQuery`/`dm:afterQuery`, `dm:beforeBeginTransaction`/`dm:afterBeginTransaction`, `dm:beforeCommit`/`dm:afterCommit`, `dm:beforeRollBack`/`dm:afterRollBack` and `dm:connectionLost`. `prepare()` has no events of its own because `perform()` calls it, which would report one operation twice. The connect, disconnect and connectionLost events report a change of the connection state and fire whichever method causes it, so an automatic reconnect reports the lost connection and the new one. `Phalcon\DataMapper\Pdo\Connection\Decorated` does not fire the connect and disconnect events because it never connects and cannot disconnect. [#17501](https://github.com/phalcon/cphalcon/issues/17501) [[doc]](https://docs.phalcon.io/6.0/datamapper/)
- Added `getEventsManager()` and `setEventsManager()` to `Phalcon\DataMapper\Pdo\Connection\AbstractConnection`, and therefore to `Phalcon\DataMapper\Pdo\Connection` and `Phalcon\DataMapper\Pdo\Connection\Decorated`, and to `Phalcon\DataMapper\Pdo\ConnectionLocator`, which gives its events manager to every connection it returns, including the ones it builds on demand. The two classes now carry the `Phalcon\Contracts\Events\EventsAware` contract. `Phalcon\DataMapper\Pdo\Connection\ConnectionInterface` is unchanged, so classes that implement it directly keep working [#17501](https://github.com/phalcon/cphalcon/issues/17501) [[doc]](https://docs.phalcon.io/6.0/datamapper/)
- Added `Phalcon\DataMapper\Pdo\Exception\OperationCancelled`, thrown when a listener cancels one of the `before*` events. The operation does not run. To cancel, a listener must call `$event->stop()` and also return `false`: `stop()` alone returns the value of the listener, which the connection cannot tell apart from "no listeners", and `false` alone is replaced by any later listener that returns a value while the events manager is not in `stopOnFalse` mode. The `after*` events are not cancelable [#17501](https://github.com/phalcon/cphalcon/issues/17501) [[doc]](https://docs.phalcon.io/6.0/datamapper/)

### Fixed

- Fixed `Phalcon\Filter\Validation\Validator\Callback` rebinding `$this` in callback closures; the validator is now passed as a second argument to closures that declare one [#17499](https://github.com/phalcon/cphalcon/issues/17499) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Fixed `Phalcon\Filter\Validation\Validator\StringLength\Min` and `Phalcon\Filter\Validation\Validator\StringLength\Max` rejecting a string with a length exactly equal to `min` or `max` when the `included` option was not set, a regression introduced in 5.7.0 [#17503](https://github.com/phalcon/cphalcon/issues/17503) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Fixed `Phalcon\Filter\Validation\Validator\StringLength` giving the `includedMinimum`/`includedMaximum` and `messageMinimum`/`messageMaximum` option of one boundary to the validator of the other boundary [#17503](https://github.com/phalcon/cphalcon/issues/17503) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Fixed `Phalcon\Html\Helper\Input\Generic`, `Phalcon\Html\Helper\Input\Checkbox` and `Phalcon\Html\Helper\Input\Radio` throwing an error when you build them directly without a `Phalcon\Html\Helper\Doctype`, which their constructor accepts as optional. `Phalcon\Html\Helper\Input\AbstractInput::__toString()` now renders HTML5 when there is no doctype, the same as `Phalcon\Html\Helper\VoidTag` and the same as a default `Doctype`. Helpers that come from `Phalcon\Html\TagFactory` always get a doctype, so their output does not change [#17507](https://github.com/phalcon/cphalcon/issues/17507) [[doc]](https://docs.phalcon.io/6.0/html-tagfactory/)
- Fixed `Phalcon\Image\Adapter\Imagick::background()`, `reflection()`, `text()` and `watermark()` discarding any opacity below 100, and `sharpen()` rounding its amount down, because the division by 100 was stored back in the integer parameter; `watermark()` left the image unchanged for every opacity except 100 [#17510](https://github.com/phalcon/cphalcon/issues/17510) [[doc]](https://docs.phalcon.io/6.0/image/)
- Fixed `Phalcon\Image\Adapter\Imagick` never coalescing the frames of a GIF, because the constructor compared `getImageType()`, an Imagick `IMGTYPE_*` value, against `IMAGETYPE_GIF`; the width and the height of an animated GIF now describe the canvas instead of whichever sub frame the cursor was on [#17510](https://github.com/phalcon/cphalcon/issues/17510) [[doc]](https://docs.phalcon.io/6.0/image/)
- Fixed `Phalcon\Image\Adapter\Imagick::render()` returning the current frame alone for a GIF, and `save()` failing with `no encode delegate for this image format` after an operation that rebuilds the image; both now mark every frame with the format, which `setImageFormat()` applies to the current frame only [#17510](https://github.com/phalcon/cphalcon/issues/17510) [[doc]](https://docs.phalcon.io/6.0/image/)

## [6.0.0 beta 6](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta6) (2026-08-02)

### Fixed

- Fixed `Phalcon\Mvc\View::partial()` and `render()` throwing `ViewNotFound` for absolute paths [#17426](https://github.com/phalcon/cphalcon/issues/17426)

## [6.0.0 beta 5](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta5) (2026-07-31)

### Changed

- Changed `Phalcon\Mvc\Model\Resultset::refresh()` to reset the cursor - position, current row, buffered rows and active row - after replaying the statement. [#17399](https://github.com/phalcon/cphalcon/issues/17399) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Changed `Phalcon\Events\Manager::getEventTypes()` to `getListenerMap()`, which now returns each event type mapped to its listeners. [#17416](https://github.com/phalcon/cphalcon/issues/17416) [[doc]](https://docs.phalcon.io/6.0/events/)

### Added

- Added `Phalcon\ADR\Front\AbstractHttpFront::boot()`, which builds the container, loads the environment and registers the providers, then returns the container - for consumers that need it before, or instead of, `run()`. The container is built once and cached, so `boot()` and `run()` share the same instance. A bootstrap file can now be `return (new AppFront(dirname(__DIR__)))->boot();`. [#17413](https://github.com/phalcon/cphalcon/issues/17413) [[doc]](https://docs.phalcon.io/6.0/adr/)
- Added `Phalcon\Contracts\Container\Service\Enumerable` implemented in `Phalcon\Container\Container`. [#17416](https://github.com/phalcon/cphalcon/issues/17416) [[doc]](https://docs.phalcon.io/6.0/container/)
- Added `Phalcon\Contracts\Events\Enumerable`, implemented in `Phalcon\Events\Manager`. [#17416](https://github.com/phalcon/cphalcon/issues/17416) [[doc]](https://docs.phalcon.io/6.0/events/)
- Added `methodFor()` to the `Phalcon\Contracts\ADR\Router\Router` contract and to `Phalcon\ADR\Router\Router`. It names the HTTP method an Action class answers, the counterpart to `pathFor()`. [#17416](https://github.com/phalcon/cphalcon/issues/17416) [[doc]](https://docs.phalcon.io/6.0/adr/)

### Fixed

- Fixed `Phalcon\Mvc\Model\Resultset` costing two statements for every resultset on SQLite. [#17399](https://github.com/phalcon/cphalcon/issues/17399) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed `Phalcon\Db\Result\PdoResult::numRows()` failing on multi-line statements. [#17399](https://github.com/phalcon/cphalcon/issues/17399)
- Fixed `Phalcon\Mvc\Model\Resultset::seek()` leaving the previous row in place as the current one when seeking past the end of a resultset held in memory. [#17399](https://github.com/phalcon/cphalcon/issues/17399) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed `Phalcon\Db\Adapter\Pdo\Mysql::describeColumns()` returning string, date and time defaults still wrapped in quotes on MariaDB, e.g. `'fi'` instead of `fi`. MariaDB reports `COLUMN_DEFAULT` as the DDL source rather than the resolved literal. Expression defaults are unaffected. Note that on MariaDB this changes what `Phalcon\Db\Column::getDefault()` returns and what the model layer writes into an unset `NOT NULL` column on save; if you were stripping the quotes yourself, remove that workaround. MySQL is unaffected. [#17417](https://github.com/phalcon/cphalcon/issues/17417) [[doc]](https://docs.phalcon.io/6.0/db-layer/)
- Fixed `Phalcon\Db\Adapter\Pdo\Mysql::describeColumns()` reporting a column declared `DEFAULT NULL` as the literal string `"NULL"` on MariaDB, which was then written back onto the model attribute on save. [#17176](https://github.com/phalcon/cphalcon/issues/17176) [[doc]](https://docs.phalcon.io/6.0/db-layer/)

## [6.0.0 beta 4](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta4) (2026-07-28)

### Changed

- Changed `Phalcon\ADR\Router\Router` to derive exactly one Action class per path: the class name is the verb followed by every static segment concatenated. [#17410](https://github.com/phalcon/cphalcon/issues/17410) [[doc]](https://docs.phalcon.io/6.0/adr/)

### Added

- Added `classFor()` to the `Phalcon\Contracts\ADR\Router\Router` contract and to `Phalcon\ADR\Router\Router`. It names the Action class the convention would use for a static path. [#17410](https://github.com/phalcon/cphalcon/issues/17410) [[doc]](https://docs.phalcon.io/6.0/adr/)

### Fixed

- Fixed `Phalcon\Mvc\Model::find()` and `Phalcon\Mvc\Model::findFirst()` raising an error `Call to undefined method static::getpreparedquery()`. Using `self` vs. `static` for the internal calls. [#17409](https://github.com/phalcon/cphalcon/issues/17409) [[doc]](https://docs.phalcon.io/6.0/db-models/)

## [6.0.0 beta 3](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta3) (2026-07-27)

### Changed

- Changed `Phalcon\ADR\Router\Router` from a candidate chain to a namespace descent: a path segment becomes a namespace segment only if the matching directory exists, after which at most two Action classes are probed instead of five. An Action can no longer be silently shadowed by an earlier candidate. Requires `setActionDirectory()`. [#17405](https://github.com/phalcon/cphalcon/issues/17405) [[doc]](https://docs.phalcon.io/6.0/adr/)

### Added

- Added `pathFor()`, `setActionDirectory()` and `setWordSeparator()` to the `Phalcon\Contracts\ADR\Router\Router` contract and to `Phalcon\ADR\Router\Router`; the two setters are also on `Phalcon\ADR\Application`. `pathFor()` is the inverse of the routing convention, returning the canonical path an Action answers or `null`. Added `Phalcon\ADR\Exceptions\ActionDirectoryNotSet`. [#17405](https://github.com/phalcon/cphalcon/issues/17405) [[doc]](https://docs.phalcon.io/6.0/adr/)
- Added `Phalcon\Container\Container::getServiceNames()`, returning the names of every registered service definition. Names that only exist as an alias, a pre-set instance or a parameter are not included. [#17406](https://github.com/phalcon/cphalcon/issues/17406) [[doc]](https://docs.phalcon.io/6.0/container/)
- ~~Added `Phalcon\Events\Manager::getEventTypes()`, returning the event types that currently have at least one listener attached, including those contributed by subscribers. Listeners attached with `attach()` were previously not enumerable at all, since `getListeners()` requires a known event type. [#17406](https://github.com/phalcon/cphalcon/issues/17406) [[doc]](https://docs.phalcon.io/6.0/events/)~~

### Fixed

- Fixed `Phalcon\ADR\Router\Router` treating `-` and `_` as the same delimiter, so `/forgot-password` and `/forgot_password` resolved to the same Action and the path-to-class map had no inverse. A single separator now applies in both directions, default `-` and settable with `setWordSeparator()`; `_` is literal. [#17405](https://github.com/phalcon/cphalcon/issues/17405) [[doc]](https://docs.phalcon.io/6.0/adr/)

## [6.0.0 beta 2](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta2) (2026-07-26)

### Changed

- Changed `Phalcon\Mvc\Model::getRelated()` and `Phalcon\Mvc\Model::isRelationshipLoaded()` to test the relation cache with `array_key_exists()` instead of `isset()`, so a to-one relation that resolves to no record is no longer re-queried on every access [#17331](https://github.com/phalcon/cphalcon/issues/17331) [[doc]](https://docs.phalcon.io/6.0/db-models-relationships/)
- Changed `Phalcon\Mvc\Model\Manager::mergeFindParameters()` from `final protected` to `final public static` [#17331](https://github.com/phalcon/cphalcon/issues/17331)

### Added

- Added `Phalcon\ADR\Responder\ViewResponder`, which renders a `.phtml` template and returns it as an HTML response. The action picks the template with `withTemplate()`, and the view receives `result`, `messages` and `status`. Any renderer implementing the new `Phalcon\Contracts\View\Renderer` can be used - `Phalcon\Mvc\View\Simple` now does. [#17379](https://github.com/phalcon/cphalcon/issues/17379) [[doc]](https://docs.phalcon.io/6.0/adr/)
- Added opt-in route-parameter pre-filtering to the ADR convention router via the new `Phalcon\ADR\Router\AttributeFilter`. An Action that declares a static `params()` method has its positional route segments validated against a regex, cast to a scalar type (`int`, `float`, `string`) and optionally passed through a converter closure, then written to the request as named attributes - all before the Action runs. A regex miss is treated as a route miss (404). [#17393](https://github.com/phalcon/cphalcon/issues/17393) [[doc]](https://docs.phalcon.io/6.0/adr/)
- Added eager loading of model relations: `Phalcon\Mvc\Model::find()` accepts an `eager` parameter - an array of dot-delimited relation paths, optionally `path => options` - which pre-loads the named relations with one query per relation instead of one per record. `Phalcon\Mvc\Model\Criteria::eager()` exposes the same on the criteria surface. [#17331](https://github.com/phalcon/cphalcon/issues/17331) [[doc]](https://docs.phalcon.io/6.0/db-models-relationships/)
- Added `candidatesFor()` to the `Phalcon\Contracts\ADR\Router\Router` contract and to `Phalcon\ADR\Router\Router`. It returns every Action class the convention router would try for a given HTTP method and path, in the order it tries them. [#17403](https://github.com/phalcon/cphalcon/issues/17403) [[doc]](https://docs.phalcon.io/6.0/adr/)

### Fixed

- Fixed `Phalcon\Http\Response\Cookies::delete()` not deleting a cookie that was not set in the same request; it now falls back to the `$_COOKIE` superglobal. `Phalcon\Http\Cookie::delete()` expires the cookie with its stored `path` and `domain` instead of the defaults. [#17395](https://github.com/phalcon/cphalcon/issues/17395) [[doc]](https://docs.phalcon.io/6.0/response/)

## [6.0.0 beta 1](https://github.com/phalcon/phalcon/releases/tag/v6.0.0beta1) (2026-07-24)

### Fixed

- Fixed `Phalcon\Mvc\Model::assign()` skipping any value that is `null`, because the incoming data was tested with `isset()`. A `null` is a value the caller asked to assign, so `refresh()` could not restore a column to `NULL` and `assign(["column" => null])` was a no-op; the check now uses `array_key_exists()`. [#17331](https://github.com/phalcon/cphalcon/issues/17331) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed `Phalcon\Container\Definition\ServiceDefinition::resolveArgs()` treating any constructor-argument object that merely exposes a `resolve()` method as a lazy value, using `method_exists()`. Because `Phalcon\Container\Container` defines a private `resolve()`, autowiring a service whose constructor receives the container - for example `__construct(?Container $container)`, as `Phalcon\ADR\Application` does - mistook the injected container for a lazy resolvable and called its private `resolve()`, raising `Error: Call to private method Phalcon\Container\Container::resolve() from scope Phalcon\Container\Definition\ServiceDefinition`. The lazy check now tests `instanceof Phalcon\Contracts\Container\Resolver\Resolvable`. [#17391](https://github.com/phalcon/cphalcon/issues/17391)

## [6.0.0 alpha 6](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha6) (2026-07-22)

### Changed

- Changed `Phalcon\ADR\Application` into a self-contained composition root: it owns (or accepts) a `Phalcon\Container\Container` and exposes a small registration surface - `bind()`, `define()`, `factory()`, `set()`, `extend()` and `getContainer()` - plus `setBaseNamespace()` and `secureWith()` for convention-router and namespace-prefix guard configuration. `Phalcon\ADR\Front\AbstractHttpFront` gained a protected `getApplication()` hook returning `Phalcon\Contracts\ADR\Application`, so a front controller can configure the application or wire a different implementation. [#17389](https://github.com/phalcon/cphalcon/issues/17389) [[doc]](https://docs.phalcon.io/6.0/adr/)

## [6.0.0 alpha 5](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha5) (2026-07-21)

### Added

- Added the Action-Domain-Responder (ADR) HTTP stack under `Phalcon\ADR`, an alternative to MVC that splits request handling into three focused roles: an _Action_ (one invokable class per route) drives a _Domain_ (your business logic, which returns a `Phalcon\ADR\Payload\Payload` and never touches HTTP) and hands the result to a _Responder_ that turns it into a response. `Phalcon\ADR\Application::handle()` routes the request with the convention-based `Phalcon\ADR\Router\Router` - the HTTP method, resource and optional operation resolve the Action class (e.g. `GET /invoices/list` maps to `MyApp\Action\Invoices\GetInvoicesList`), with no route table - writes the matched positional attributes onto the request, and runs the Action through `Phalcon\ADR\Dispatcher`, which resolves it from the container and wraps it in a middleware pipeline (`Phalcon\ADR\Middleware\CorsMiddleware`, `MethodOverrideMiddleware`, `RequestIdMiddleware` and `TimingMiddleware` ship built-in). The Action reads request data through the extendable `Phalcon\ADR\Input\Input` bag and returns a response built by a responder - `Phalcon\ADR\Responder\JsonResponder`, `TextResponder`, `RedirectResponder`, `StatusResponder` and the composable `ChainResponder`/`FormatResponder` - each mapping the payload's `Phalcon\ADR\Payload\Status` to an HTTP status via `Phalcon\ADR\Responder\StatusMapper`. Any escaping `Throwable` is turned into a response by the always-wired `Phalcon\ADR\ErrorResponder`, and `Phalcon\ADR\Emitter\SapiEmitter` sends it to the client. `Phalcon\ADR\Front\HttpFront` - a `Phalcon\Contracts\Front\FrontController` following the front-interop contract - boots the whole stack with a single `run()`, and `Phalcon\ADR\Container\AdrProvider` registers every service. Because route attributes are positional, `Phalcon\Http\Request\Bag\AbstractBag` now accepts integer keys alongside string keys. Contracts live under `Phalcon\Contracts\ADR`. [#17341](https://github.com/phalcon/cphalcon/issues/17341) [[doc]](https://docs.phalcon.io/6.0/adr/)
- Added request attributes support to `Phalcon\Http\Request`. `Phalcon\Http\Request::getAttributes()` returns a `Phalcon\Http\Request\Bag\AttributeBag`, a mutable, string-keyed bag of arbitrary application-defined values attached to the request during its lifecycle (router, dispatcher, security components etc.). Writing with a `null` key (the `$bag[] = ...` append form) throws the new `Phalcon\Http\Request\Exceptions\NullKeyException`, since bag elements are always string-keyed. [#17367](https://github.com/phalcon/cphalcon/issues/17367) [[doc]](https://docs.phalcon.io/6.0/request/)

### Fixed

- Fixed `Phalcon\Mvc\Model` ignoring attributes registered with `skipAttributes()`, `skipAttributesOnCreate()` and `skipAttributesOnUpdate()`, so a skipped column was emitted in the generated `INSERT`/`UPDATE` (breaking, for instance, inserts into a table with a MySQL generated column). The skip list is keyed with `null` values, which `isset()` reports as absent, so every skipped attribute read as not registered; the checks in `doLowInsert()`, `doLowUpdate()` and the not-null validation now use `array_key_exists()`. [#17382](https://github.com/phalcon/cphalcon/issues/17382) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed `Phalcon\Mvc\Model` inserting a literal `null` for a column the database can supply a value for, instead of the `DEFAULT` keyword (or omitting the column on an adapter without `DEFAULT` support, such as SQLite). A nullable column carrying no explicit default is registered in the metadata default values with a `null` value, which the `isset()` check in `doLowInsert()` read as absent; it now uses `array_key_exists()`. This makes inserts work against a MySQL `GENERATED ALWAYS AS (...) STORED` column, which rejects an explicit `null` with `SQLSTATE[HY000]: General error: 3105` but accepts `DEFAULT`. [#17382](https://github.com/phalcon/cphalcon/issues/17382) [[doc]](https://docs.phalcon.io/6.0/db-models/)

## [6.0.0 alpha 4](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha4) (2026-07-13)

### Changed

- Converted the internal test suite to the `phalcon/talon` testing framework and added octocov coverage reporting. [#769](https://github.com/phalcon/phalcon/issues/769)

### Added

- Added `Phalcon\Encryption\Security\JWT\Validator::validateSubject()`, which compares the token's `sub` claim against the expected subject and reports `Validation: incorrect subject` on a mismatch. A `null` subject expresses no expectation and is skipped. [#17361](https://github.com/phalcon/cphalcon/issues/17361) [[doc]](https://docs.phalcon.io/6.0/encryption-security-jwt/)
- Added `Phalcon\Filter\Validation::setDefaultMessages()` and `Phalcon\Filter\Validation::getDefaultMessage()` for registering global default validator failure messages keyed by validator class name (e.g. `Validation::setDefaultMessages([PresenceOf::class => 'Default message :field is required'])`). A registered default overrides a validator's built-in class default message, while a message set on the validator instance (the constructor `message`/`template` option or `setTemplate()`) still takes precedence; it applies to validators whose message is produced through `getTemplate()`/`messageFactory()`. [#17257](https://github.com/phalcon/cphalcon/issues/17257) [[doc]](https://docs.phalcon.io/6.0/filter-validation/)
- Added `Phalcon\Mvc\Model\Query::setResultsetRowClass()` and `Phalcon\Mvc\Model\Query::getResultsetRowClass()` to control the class used to hydrate rows that are not mapped to a model (custom-column `SELECT`s and joins). When set, those result rows are built as the given subclass of `Phalcon\Mvc\Model\Row` instead of `Row` itself, on both the simple and complex resultset paths. The class must exist and be a subclass of `Phalcon\Mvc\Model\Row`, otherwise `Phalcon\Mvc\Model\Query\Exceptions\ResultsetRowClassNotFound` or `Phalcon\Mvc\Model\Query\Exceptions\InvalidResultsetRowClass` is thrown. [#17337](https://github.com/phalcon/cphalcon/issues/17337) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Added `Phalcon\Mvc\Model\Query\Builder::setResultsetRowClass()` and `Phalcon\Mvc\Model\Query\Builder::getResultsetRowClass()` so the custom resultset row class can be set on a query builder, which forwards it to the `Phalcon\Mvc\Model\Query` it produces in `getQuery()`. Because `Phalcon\Paginator\Adapter\QueryBuilder` builds its query through the builder, `paginate()` now returns the given `Phalcon\Mvc\Model\Row` subclass for its non-model result rows. [#17337](https://github.com/phalcon/cphalcon/issues/17337) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Added an opt-in "sticky" read/write connection mode to `Phalcon\Mvc\Model\Manager`. After `Phalcon\Mvc\Model\Manager::setSticky(true)`, once a model has written to its write connection during the current request cycle, any further reads for that write service are served from the write connection, so data written earlier in the request can be read back immediately. Writes are recorded via the new `Phalcon\Mvc\Model\Manager::registerWrite()` (called internally on a successful insert/update/delete), and `Phalcon\Mvc\Model\Manager::resetConnectionState()` clears the per-request tracking for long-running runtimes (e.g. Swoole, RoadRunner) that reuse the manager across requests. Sticky is off by default, preserving the existing read/write split; the transaction connection still takes precedence. The three methods are added to `Phalcon\Mvc\Model\ManagerInterface`. [#17256](https://github.com/phalcon/cphalcon/issues/17256) [[doc]](https://docs.phalcon.io/6.0/db-models/)

### Fixed

- Fixed the model `Annotations` metadata strategy (`Phalcon\Mvc\Model\MetaData\Strategy\Annotations`) to read the `#[Column]` skip and empty-string flags using the attribute constructor's camelCase argument names (`skipOnInsert`, `skipOnUpdate`, `allowEmptyString`); it previously looked for snake_case keys (`skip_on_insert`, `skip_on_update`, `allow_empty_string`) that never match a valid `#[Column]` usage, so those flags had no effect. [[doc]](https://docs.phalcon.io/6.0/annotations/)
- Fixed `Phalcon\Annotations\Router\Route` (and its `#[Get]`, `#[Post]`, ... subclasses) to declare the `beforeMatch` constructor argument that `Phalcon\Mvc\Router\Annotations` already applies; instantiating the attribute with `beforeMatch:` previously raised an unknown-named-parameter error. [[doc]](https://docs.phalcon.io/6.0/annotations/)
- Fixed `Phalcon\Encryption\Security\JWT\Token\Token::validate()` throwing `Phalcon\Encryption\Security\JWT\Exceptions\InvalidAudienceType` when handed a freshly constructed `Phalcon\Encryption\Security\JWT\Validator`, which made a default `Validator` impossible to pass to it. [#17361](https://github.com/phalcon/cphalcon/issues/17361) [[doc]](https://docs.phalcon.io/6.0/encryption-security-jwt/)
- Fixed `Phalcon\Encryption\Security\JWT\Validator::validateIssuedAt()` and `Phalcon\Encryption\Security\JWT\Validator::validateNotBefore()` rejecting a token whose `iat`/`nbf` claim falls on exactly the validated timestamp. [#17361](https://github.com/phalcon/cphalcon/issues/17361) [[doc]](https://docs.phalcon.io/6.0/encryption-security-jwt/)
- Fixed `Phalcon\Mvc\Model\Query::executeUpdate()` raising a PDO `Invalid parameter number: mixed named and positional parameters` error for a PHQL `UPDATE` whose `SET` clause is an expression carrying a bound placeholder (e.g. `SET col = col + :inc:`): the named placeholder is now resolved from the bind parameters and inlined into the expression before the `Phalcon\Db\RawValue` is built, so it no longer collides with the positional `?` marker of the primary-key `WHERE` clause, and the placeholder is removed from the bind parameters forwarded to the pre-update `SELECT`. [#16976](https://github.com/phalcon/cphalcon/issues/16976) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed the PHP 8.4/8.5 deprecation notices raised by the framework: removed the `imagedestroy()` calls in `Phalcon\Image\Adapter\Gd` (a no-op since PHP 8.0), the `finfo_close()` calls in `Phalcon\Http\Request\File` and `Phalcon\Filter\Validation\Validator\File\MimeType` and the `ReflectionProperty::setAccessible()` call in `Phalcon\Support\Debug\Dump` (no-ops since PHP 8.1), clamped the random pad byte in `Phalcon\Encryption\Crypt\Padding\Iso10126` to `chr(rand() % 256)` to avoid the out-of-range `chr()` deprecation on PHP 8.5, and guarded `Phalcon\Messages\Messages::offsetSet()` against an implicit `null` array offset. [#17253](https://github.com/phalcon/cphalcon/issues/17253) [[doc]](https://docs.phalcon.io/6.0/)

### Removed

- Removed the deprecated `Serializable` interface from `Phalcon\Mvc\Model` and `Phalcon\Mvc\Model\Resultset` (deprecated by PHP 8.1); the `__serialize()` and `__unserialize()` magic methods remain, so model and resultset serialization is unchanged. [#17253](https://github.com/phalcon/cphalcon/issues/17253) [[doc]](https://docs.phalcon.io/6.0/db-models/)

## [6.0.0 alpha 3](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha3) (2026-06-29)

### Changed

- Changed `Phalcon\Acl\Adapter\Memory` so a freshly constructed adapter returns an empty array instead of `null` from `getRoles()`, `getComponents()` and `getInheritedRoles()`. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/acl/)
- Deprecated `Phalcon\Acl\Adapter\Memory::getActiveKey()` (use `getActiveRole()`, `getActiveComponent()` and `getActiveAccess()`) and the legacy ACL interfaces `Phalcon\Acl\Adapter\AdapterInterface`, `Phalcon\Acl\RoleInterface`, `Phalcon\Acl\ComponentInterface`, `Phalcon\Acl\RoleAwareInterface` and `Phalcon\Acl\ComponentAwareInterface` in favour of their `Phalcon\Contracts\Acl\...` equivalents. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/acl/)
- Changed the `Phalcon\Auth` layer to throw granular `Phalcon\Auth\Exceptions\*` subclasses instead of the base `Phalcon\Auth\Exception`: `AccessNotRegistered`, `ActiveAccessRequired`, `DefaultGuardNotRegistered` and `GuardNotDefined` (`Phalcon\Auth\Manager`), `UnknownAdapter` and `UnknownGuard` (`Phalcon\Auth\ManagerFactory`), `OptionRequiresArray` and `OptionRequiresString` (`fromOptions()` option parsing), `SessionNamesMustDiffer` (`Phalcon\Auth\Guard\Config\SessionGuardConfig`), and `MissingHandlerContext` (`Phalcon\Auth\Access\Acl`). Each extends `Phalcon\Auth\Exception`, so existing `catch` blocks keep working. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/auth/)
- Changed the `Phalcon\Auth` array adapters (`Memory`, `Stream`) to compare non-password credential fields against configured row values as strings, so string input from a request (e.g. `'1'`) matches a typed row value (e.g. `1` or `true`) instead of failing a strict type comparison. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/auth/)
- Note: `Phalcon\Auth\ManagerFactory` validates the required guard configuration up front and throws a `Phalcon\Auth\Exception` subclass on a missing key, where earlier versions emitted a PHP notice followed by a `TypeError`; handlers that caught `TypeError` there should catch `Phalcon\Auth\Exception` instead. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/auth/)
- Changed `Phalcon\Support\Debug` into a thin coordinator that delegates exception-data collection to the new `Phalcon\Support\Debug\ReportBuilder` and HTML rendering to a `Phalcon\Contracts\Support\Debug\Renderer` (default `Phalcon\Support\Debug\Renderer\HtmlRenderer`), and exposes `getRenderer()`/`setRenderer()` to swap the renderer. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Changed `Phalcon\Support\Debug` and `Phalcon\Support\Debug\Dump` to render from named, overridable template strings (the new `Phalcon\Contracts\Support\Debug\TemplateAware` contract with `getTemplate()`/`setTemplate()`) filled by the interpolator, instead of inline string concatenation. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Changed the `Phalcon\Support\Debug` exception page to a redesigned, asset-driven layout (masthead with the Phalcon logo, error card, tabbed Request/Server/Included Files/Memory/Variables context, and collapsible backtrace frames); `getCssSources()` and `getJsSources()` now reference a single `debug.css` and `debug.js` instead of the bundled jQuery, jQuery-UI and prettify assets. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Changed `Phalcon\Support\Debug::getVersion()` to return a compact version badge anchor (`v<version>`) instead of the previous "Phalcon Framework" version block. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Changed the `Phalcon\Support\Debug` Memory panel to report both real and peak memory usage. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Refactored the read path of model hydration by extracting `Phalcon\Mvc\Model::cloneResultMapHydrate()` into the dedicated `Phalcon\Mvc\Model\Hydration\CloneResultMapHydrate` class and the case-insensitive column-map lookup into `Phalcon\Mvc\Model\Hydration\CaseInsensitiveColumnMap`. [#17228](https://github.com/phalcon/cphalcon/issues/17228) [[doc]](https://docs.phalcon.io/6.0/db-models/)

### Added

- Added `Phalcon\Acl\Adapter\Storage`, a storage-backed ACL adapter that persists the entire policy as a versioned, serializer-agnostic snapshot to any `Phalcon\Storage` backend (Redis, Apcu, Stream, Memcached) and reloads it on construction, defined by the new `Phalcon\Contracts\Acl\Adapter\Persistable` contract (`save()`/`load()`). Callable (closure) rules are not serializable, so they are persisted as `DENY` (fail closed) and must be re-registered after `load()`; `load()` returns `false` for a snapshot without a version marker and throws `Phalcon\Acl\Exceptions\InvalidSnapshot` on an incompatible version or a malformed structure. Single-writer contract: `save()` writes the whole snapshot (last-write-wins; use external locking for concurrent writers). [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/acl/)
- Added `Phalcon\Acl\Exceptions\InvalidSnapshot`, thrown by `Phalcon\Acl\Adapter\Storage::load()` on an incompatible or malformed policy snapshot. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/acl/)
- Added the `Phalcon\Contracts\Acl` contracts - `Phalcon\Contracts\Acl\Adapter\Adapter`, `Phalcon\Contracts\Acl\Adapter\Persistable`, `Phalcon\Contracts\Acl\Role`, `Phalcon\Contracts\Acl\Component`, `Phalcon\Contracts\Acl\RoleAware` and `Phalcon\Contracts\Acl\ComponentAware` - as the canonical homes for the ACL interfaces; the legacy `Phalcon\Acl\...\*Interface` types remain as deprecated bridges that extend them. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/acl/)
- Added the granular `Phalcon\Auth\Exceptions\*` exceptions `AccessNotRegistered`, `ActiveAccessRequired`, `DefaultGuardNotRegistered`, `GuardNotDefined`, `MissingHandlerContext`, `OptionRequiresArray`, `OptionRequiresString`, `SessionNamesMustDiffer`, `UnknownAdapter` and `UnknownGuard`. [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/auth/)
- Added the `Phalcon\Contracts\Support\Debug\TemplateAware` and `Phalcon\Contracts\Support\Debug\Renderer` contracts, the `Phalcon\Support\Debug\ReportBuilder` and `Phalcon\Support\Debug\Renderer\HtmlRenderer` classes, the `Phalcon\Support\Debug\Traits\TemplateAwareTrait` trait, and the value objects `Phalcon\Support\Debug\Report\ExceptionReport` and `Phalcon\Support\Debug\Report\BacktraceItem`. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Added `Phalcon\Support\Debug::getRenderer()` and `Phalcon\Support\Debug::setRenderer()`. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Added the `Phalcon\Queue` component, a first-class queue/messaging layer modeled on the queue-interop contracts, with the `Phalcon\Contracts\Queue\*` interfaces (`ConnectionFactory`, `Context`, `Destination`, `Queue`, `Topic`, `Producer`, `Consumer`, `SubscriptionConsumer`, `Message`, `Processor`, `VisibilityAware`) and the `Phalcon\Queue\Exceptions\*` hierarchy (`QueueThrowable`, `Exception` and the typed `Invalid*` / `*NotSupportedException` exceptions). [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the Memory and Stream queue adapters (`Phalcon\Queue\Adapter\Memory\*`, in-process FIFO; `Phalcon\Queue\Adapter\Stream\*`, file-per-queue with `flock`). [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the Redis queue adapter (`Phalcon\Queue\Adapter\Redis\*`) with list-backed FIFO delivery (`LPUSH`/`BRPOP`), sorted-set delivery delay and native blocking receive. [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the Beanstalk queue adapter (`Phalcon\Queue\Adapter\Beanstalk\*`) over a dependency-free socket client, with native delivery delay and priority and a `VisibilityAware` consumer (`touch()`). [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the `Phalcon\Contracts\Queue\Inspectable` contract (`getStats(Queue $queue): array`), implemented by `Phalcon\Queue\Adapter\Beanstalk\BeanstalkContext`, exposing the Beanstalkd `stats-tube` fields (`current-jobs-ready`, `current-jobs-reserved`, `current-jobs-delayed`, `current-jobs-buried`, `current-jobs-urgent`, `total-jobs`, the `cmd-*` counters, ...) for queue backlog/depth monitoring. The returned array is adapter-native; the `current-jobs-*` keys are always present (zero for an unknown tube) and the read runs on its own short-lived connection. Backed by a new `Phalcon\Queue\Adapter\Beanstalk\BeanstalkConnection::statsTube()` wire command. [#17209](https://github.com/phalcon/cphalcon/issues/17209) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the `Phalcon\Queue\AdapterFactory` and `Phalcon\Queue\QueueFactory` factories, and registered the `queueFactory` service in `Phalcon\Di\FactoryDefault` and `Phalcon\Di\FactoryDefault\Cli`. [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added the queue consumer runner (`Phalcon\Queue\Consumer\QueueConsumer`, `Worker`, `WorkerOptions`, `BoundProcessor`, `Events`) and the CLI consumer task `Phalcon\Queue\Cli\ConsumerTask`. [#17051](https://github.com/phalcon/cphalcon/issues/17051) [[doc]](https://docs.phalcon.io/6.0/queue/)
- Added connection-liveness and opt-in auto-reconnect support to `Phalcon\Db\Adapter\Pdo\AbstractPdo`: `ping()` (a `SELECT 1` probe), `ensureConnection()` (reconnect in place when the probe fails), and `setAutoReconnect()`/`getAutoReconnect()` (also settable via the `autoReconnect` descriptor key). When auto-reconnect is enabled and a query fails on a lost ("gone away") connection outside a transaction, `execute()` and `query()` fire the new `db:connectionLost` event, reconnect, and retry the statement once; a loss inside a transaction is re-thrown without retry. "Gone away" detection is provided per driver by `Phalcon\Db\Adapter\Pdo\Mysql` (error codes 2006/2013) and `Phalcon\Db\Adapter\Pdo\Postgresql` (SQLSTATE 08003/08006/57P01-03), with a message fallback. [#17204](https://github.com/phalcon/cphalcon/issues/17204) [[doc]](https://docs.phalcon.io/6.0/db-layer/)
- Added the same liveness and opt-in auto-reconnect support to `Phalcon\DataMapper\Pdo\Connection` (`ping()`, `ensureConnection()`, `setAutoReconnect()`/`getAutoReconnect()`), wrapping `exec()`, `perform()`, `prepare()`, and `query()` with the single-retry behavior. This connection has no events manager, so no `db:connectionLost` event is fired; "gone away" detection is driver-agnostic and the in-transaction guard uses a locally tracked transaction level. [#17204](https://github.com/phalcon/cphalcon/issues/17204) [[doc]](https://docs.phalcon.io/6.0/db-layer/)

### Fixed

- Fixed `Phalcon\Auth` login timing leaking account existence: the credential adapters now perform a throwaway password hash on the user-not-found path, so an attempt for an unknown identifier costs the same as one for a real account with a wrong password (mitigates login-timing user enumeration). [#17220](https://github.com/phalcon/cphalcon/issues/17220) [[doc]](https://docs.phalcon.io/6.0/auth/)
- Fixed `Phalcon\Mvc\Model::cloneResultMap()` calling model setters during ORM hydration unconditionally (introduced in 5.12.0 via [#14810](https://github.com/phalcon/cphalcon/issues/14810)), which ran user setters on every record hydrated by `find()`/`findFirst()`; a setter that issued an ORM query (e.g. `self::findFirstByEmail()`) recursed infinitely, as `findFirst()` re-entered `cloneResultMap()`, which re-invoked the setter, which called `findFirst()` again. Hydration setters are now gated by a dedicated `orm.call_setters_on_hydration` setting (default `false`), decoupled from `orm.disable_assign_setters` (which still governs `assign()`); this restores the pre-5.12.0 hydration behavior by default and makes setter execution during hydration opt-in. [#17214](https://github.com/phalcon/cphalcon/issues/17214) [[doc]](https://docs.phalcon.io/6.0/db-models/)
- Fixed `Phalcon\Mvc\View\Engine\Volt\Compiler::resolveFilter()` building the `join` filter by splicing the raw separator and array argument token values into the generated PHP - the separator dropped between two literal single quotes and the array emitted unquoted - instead of compiling them through `expression()` as every other Volt literal is. A `join` separator literal containing a single quote closed the generated `join('...')` call and injected arbitrary statements into the compiled template, which the Volt engine then ran when the view was rendered. Both arguments are now emitted through `expression()`, which quotes and escapes the separator. [[doc]](https://docs.phalcon.io/6.0/volt/)
- Fixed `Phalcon\Support\Debug` ignoring the `request` entry of `setBlacklist()`: `$_REQUEST` is now filtered against the `request` blacklist, where previously both superglobals were filtered against the `server` blacklist only. [#17202](https://github.com/phalcon/cphalcon/issues/17202) [[doc]](https://docs.phalcon.io/6.0/support-debug/)
- Fixed `Phalcon\Tag\Select::selectField()` to invoke the resultset `using` render callback only when it is a `Closure` (previously any object), keeping the dynamically invoked callable out of reach of user-controlled data. [#17210](https://github.com/phalcon/cphalcon/issues/17210)
- Fixed `Phalcon\Forms\Element\AbstractElement::render()` to cast a non-`null` element value to `string` before passing it to the input helper, so a numeric default set via `setDefault()` (e.g. `setDefault(10)` or `setDefault(10.5)` on a `Phalcon\Forms\Element\Numeric`) renders as `value="10"` instead of raising a `TypeError` for passing an `int`/`float` to the helper's `string` `$value` parameter. [#17232](https://github.com/phalcon/cphalcon/issues/17232) [[doc]](https://docs.phalcon.io/6.0/forms/)
- Fixed `Phalcon\Http\Response::getStatusCode()` and `Phalcon\Http\Response::getReasonPhrase()` raising a `TypeError` (`substr(): Argument #1 ($string) must be of type string, bool given`) when no `Status` header had been set (e.g. a response built with only `setContent()`), because `Phalcon\Http\Response\Headers::get('Status')` returns `false` for an absent header; the header value is now cast to string before `substr()`, so both methods return `null` as documented. [#17248](https://github.com/phalcon/cphalcon/issues/17248) [[doc]](https://docs.phalcon.io/6.0/response/)

## [6.0.0 alpha 2](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha2) (2026-06-19)

## [6.0.0 alpha 1](https://github.com/phalcon/phalcon/releases/tag/v6.0.0alpha1) (2026-06-19)

Source: https://docs.phalcon.io/6.0/changelog/index.mdx
