The changes of each release that this documentation covers, newest first. The source is CHANGELOG-5.0.md of the repository.
5.22.1 (2026-10-01)
Tools
- Zephir 1.5.0
Changed
- Faster
Phalcon\Support\Settings::get(). #17620 - Faster creation of
Phalcon\Di\FactoryDefaultand faster shared service lookups inPhalcon\Di\Di. #17617 - Faster creation of
Phalcon\Filter\Filter. #17617 - Faster route definition and route index build in
Phalcon\Mvc\Router. #17618 - Faster service definition and alias lookups in
Phalcon\Container\Container. #17619
Added
- Benchmark suite in
tests/benchmarks(PHPBench, instruction counts, memory, reference apps) and abenchDocker service to compare builds of the extension. #17613 - Own-cost attribution and static scan tools for the benchmark suite (
tests/benchmarks/bin). #17615
Fixed
Phalcon\Filter\Filter::sanitize()not calling array callables registered withset(). #17610 [doc]Phalcon\Mvc\Model\MetaData\Streamletting other processes read a partially written cache file. #17608 [doc]Phalcon\Mvc\Model\MetaDatastoring a cached value that is not an array as the model meta-data. #17608 [doc]Phalcon\Mvc\View::partial()andPhalcon\Mvc\View\Simple::render()dropping a..path segment instead of resolving it. #17606 [doc]Phalcon\Mvc\View::partial()not detecting a Windows absolute path (C:\...) as absolute. #17606 [doc]
5.22.0 (2026-09-22)
Tools
- Zephir 1.5.0
Changed
Phalcon\Annotations\ReaderInterfaceno longer declares the staticparseDocBlock(); it stays a public static method ofPhalcon\Annotations\Reader. #17601 [doc]Phalcon\Mvc\Model\MetaData\Strategy\AnnotationsreadsskipOnInsert,skipOnUpdate,allowEmptyStringanddefaultValuenext to theskip_on_insert,skip_on_update,allow_empty_stringanddefaultit already read. #17601 [doc]
Added
Phalcon\Annotations\AttributesReaderreads PHP attributes instead of docblocks;setReader()on the annotations adapter selects it andPhalcon\Annotations\Readerstays the default. #17601 [doc]Phalcon\Annotations\Router\Route,Connect,Delete,Get,Head,Options,Patch,Post,Purge,Put,Trace,RoutePrefixandPhalcon\Annotations\Models\MetaData\Column,Identity,Primary,Sourcegive the attribute form of the router and model metadata annotations. #17601 [doc]