Skip to content

Changelog

The changes of each release of Phalcon 5.22.

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\FactoryDefault and faster shared service lookups in Phalcon\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 a bench Docker 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 with set(). #17610 [doc]
  • Phalcon\Mvc\Model\MetaData\Stream letting other processes read a partially written cache file. #17608 [doc]
  • Phalcon\Mvc\Model\MetaData storing a cached value that is not an array as the model meta-data. #17608 [doc]
  • Phalcon\Mvc\View::partial() and Phalcon\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\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]
Navigation

Type to search…

↑↓ navigate↵ selectEsc close