phalcon/migrations breaking changes
phalcon/migrations v5.0.0 (December 1, 2026) is its newest release with breaking changes, 13 of them. The first: Table morph now compares column comments in phalcon/migrations v5.0.0. Every breaking API change we have recorded in phalcon/migrations on Packagist: 62 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v5.0.0, released December 1, 2026. BSD-3-Clause license. Source repository
Its 4.0.0 release requires PHP 8.2 or later. PHP end of life dates.
phalcon/migrations v5.0.0 breaking changes
- Behavior changed
The table morph compares the column comment, so column comment differences now produce changes. github.com - Behavior changed
The table morph compares the onUpdate value of a column. Versions that have not run yet must be generated again. github.com - Behavior changed
Versions are ordered by their parts. Two versions that had the same old order number can stop run and export with an error. github.com - Behavior changed
For each setting, a CLI option takes precedence over the configuration. A boolean option can use =false to turn off a configured value. github.com - Behavior changed
The table morph compares CURRENT_TIMESTAMP defaults. Versions that have not run yet must be generated again. github.com - Behavior changed
Generated migration files return an object of an anonymous class with no class name. Old files still run as before. github.com - Behavior changed
generate
generate now creates no migration version when no table has changed. github.com - Default changed
Config.$logInDb
Config::$logInDb is null when the configuration does not set it, instead of a boolean default. github.com - Default changed
database
The database configuration now has a charset key defaulting to utf8mb4. Before, the connection always used utf8. github.com - Signature changed
Phalcon\Migrations\Generator\Snippet::definitionToString
Was public function definitionToString(string $key, array $items): string; now public function definitionToString(string $key, array $items, bool $keepEmpty = false): string. packagist.org - Signature changed
Phalcon\Migrations\Migration\Action\Generate::createEntity
Was public function createEntity(string $className, bool $recreate = false): self; now public function createEntity(string $className, bool $recreate = false, string $namespace = ''): self. packagist.org - Signature changed
Phalcon\Migrations\Migrations::createLogTable
Was public static function createLogTable(): void; now public static function createLogTable(string $table = self::MIGRATION_LOG_TABLE): void. packagist.org - Signature changed
Phalcon\Migrations\Mvc\Model\Migration::generateAll
Was public static function generateAll(ItemInterface $version, ?string $exportData = null, array $exportTables = [], bool $skipRefSchema = false): array; now public static function generateAll(ItemInterface $version, ?string $exportData =... packagist.org
phalcon/migrations 4.0.0 breaking changes
- Removed
The minimum supported PHP version is now 8.2. Projects running older PHP versions must upgrade before using this release. github.com - Removed
Phalcon\Config\Config
The package no longer depends on Phalcon\Config\Config. Code that uses that class must switch to Phalcon\Migrations\Utils\Config. github.com - Removed
Phalcon\Db
The package no longer uses Phalcon\Db. Migration code that references Phalcon\Db classes must use the library's Phalcon\Migrations\Db namespace instead. github.com - Removed
Phalcon\Migrations\Console\Commands\Migration::$parser
Phalcon\Migrations\Console\Commands\Migration::$parser was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Console\OptionStack::$options
Phalcon\Migrations\Console\OptionStack::$options was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql
Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Db\Dialect\DialectMysql
Phalcon\Migrations\Db\Dialect\DialectMysql was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Db\Dialect\DialectPostgresql
Phalcon\Migrations\Db\Dialect\DialectPostgresql was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Exception\Db\UnknownColumnTypeException::$column
Phalcon\Migrations\Exception\Db\UnknownColumnTypeException::$column was removed in phalcon/migrations 4.0.0 packagist.org - Removed
Phalcon\Migrations\Listeners\DbProfilerListener::afterQuery
Phalcon\Migrations\Listeners\DbProfilerListener::afterQuery was removed in phalcon/migrations 4.0.0 packagist.org
And 39 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.