Phalcon v5.22.0 and v6.0.0RC2 have been released. Annotations and Attributes!
A smaller release this time, focusing on adding the phalcon annotations router in v6, but also introducing PHP Attributes as an annotations reader. More information in our documentation.
We have also corrected our documentation (upgrade page), to highlight the changes between 5.20 and beyond.
Thanks
As always, thank you to everyone who reported an issue, opened a pull request, or tested a build before it shipped!
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]

