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

> 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-5.0.md`](https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md) of the repository.

## [5.22.1](https://github.com/phalcon/cphalcon/releases/tag/v5.22.1) (2026-10-01)

### Tools

- Zephir 1.5.0

### Changed

- Faster `Phalcon\Support\Settings::get()`. [#17620](https://github.com/phalcon/cphalcon/issues/17620)
- 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)

### Added

- Benchmark suite in `tests/benchmarks` (PHPBench, instruction counts, memory, reference apps) and a `bench` Docker service to compare builds of the extension. [#17613](https://github.com/phalcon/cphalcon/issues/17613)
- Own-cost attribution and static scan tools for the benchmark suite (`tests/benchmarks/bin`). [#17615](https://github.com/phalcon/cphalcon/issues/17615)

### Fixed

- `Phalcon\Filter\Filter::sanitize()` not calling array callables registered with `set()`. [#17610](https://github.com/phalcon/cphalcon/issues/17610) [[doc]](https://docs.phalcon.io/5.22/filter-filter/)
- `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/5.22/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/5.22/db-models-metadata/)
- `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/5.22/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/5.22/views/)

## [5.22.0](https://github.com/phalcon/cphalcon/releases/tag/v5.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](https://github.com/phalcon/cphalcon/issues/17601) [[doc]](https://docs.phalcon.io/5.22/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/5.22/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/5.22/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/5.22/annotations/)

[keep_a_changelog]: https://keepachangelog.com/en/1.1.0/
[semantic_versioning]: https://semver.org/spec/v2.0.0.html

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