---
title: "phalcon/migrations v5.0.0 Breaking Changes on Packagist"
description: "What each phalcon/migrations release removed, renamed or changed: 62 breaking changes in 2 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/phalcon/migrations
last_updated: 2026-12-04
---

# 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

Latest version `v5.0.0`, released December 1, 2026. BSD-3-Clause license. [Source repository](https://github.com/phalcon/migrations)

Its 4.0.0 release requires [PHP 8.2](https://since.dev/calendar/php/8.2.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [4.0.0](#v-4-0-0) to [v5.0.0](#v-v5-0-0): 13 breaking changes in 1 version.

## phalcon/migrations v5.0.0 breaking changes

phalcon/migrations v5.0.0, released December 1, 2026: 13 breaking changes.

- **Behavior changed**  

The table morph compares the column comment, so column comment differences now produce changes. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Behavior changed**  

The table morph compares the onUpdate value of a column. Versions that have not run yet must be generated again. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **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](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **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](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Behavior changed**  

The table morph compares CURRENT_TIMESTAMP defaults. Versions that have not run yet must be generated again. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Behavior changed**  

Generated migration files return an object of an anonymous class with no class name. Old files still run as before. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Behavior changed** `generate`  

generate now creates no migration version when no table has changed. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Default changed** `Config.$logInDb`  

Config::$logInDb is null when the configuration does not set it, instead of a boolean default. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **Default changed** `database`  

The database configuration now has a charset key defaulting to utf8mb4. Before, the connection always used utf8. [github.com](https://github.com/phalcon/migrations/releases/tag/v5.0.0)
- **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](https://packagist.org/packages/phalcon/migrations#v5.0.0)
- **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](https://packagist.org/packages/phalcon/migrations#v5.0.0)
- **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](https://packagist.org/packages/phalcon/migrations#v5.0.0)
- **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](https://packagist.org/packages/phalcon/migrations#v5.0.0)

## phalcon/migrations 4.0.0 breaking changes

phalcon/migrations 4.0.0, released November 9, 2026: 49 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](https://github.com/phalcon/migrations/releases/tag/v4.0.0)
- **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](https://github.com/phalcon/migrations/releases/tag/v4.0.0)
- **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](https://github.com/phalcon/migrations/releases/tag/v4.0.0)
- **Removed** `Phalcon\Migrations\Console\Commands\Migration::$parser`  

Phalcon\\Migrations\\Console\\Commands\\Migration::$parser was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Console\OptionStack::$options`  

Phalcon\\Migrations\\Console\\OptionStack::$options was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Db\Adapter\Pdo\PdoPostgresql`  

Phalcon\\Migrations\\Db\\Adapter\\Pdo\\PdoPostgresql was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Db\Dialect\DialectMysql`  

Phalcon\\Migrations\\Db\\Dialect\\DialectMysql was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Db\Dialect\DialectPostgresql`  

Phalcon\\Migrations\\Db\\Dialect\\DialectPostgresql was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Exception\Db\UnknownColumnTypeException::$column`  

Phalcon\\Migrations\\Exception\\Db\\UnknownColumnTypeException::$column was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)
- **Removed** `Phalcon\Migrations\Listeners\DbProfilerListener::afterQuery`  

Phalcon\\Migrations\\Listeners\\DbProfilerListener::afterQuery was removed in phalcon/migrations 4.0.0 [packagist.org](https://packagist.org/packages/phalcon/migrations#4.0.0)

And 39 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
