Phalcon v5.22.0 / v6.0.0RC2 Released

Read time: 1 minute
Phalcon v5.22.0 / v6.0.0RC2 Released

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\ReaderInterface no longer declares the static parseDocBlock(); it stays a public static method of Phalcon\Annotations\Reader. #17601 [doc]
  • 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 [doc]

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 [doc]
  • 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 [doc]
Supporters
Sponsors
Partners
Projects
We're a nonprofit organization that creates  solutions for web developers. Our products are PhalconZephir and others.  If you would like to help us stay free and open,  please consider supporting us.