Repository navigation
This release fixes Laravel 12 compatibility by aligning migrations-generator with the current Carbon 3 and Doctrine DBAL 4 ecosystem.
What's changed
- Updated the Laravel 12 line to require
doctrine/dbal:^4.0 - Added runtime compatibility for both DBAL schema manager APIs:
createSchemaManager()for DBAL 4getSchemaManager()fallback for older implementations
- Updated compatibility documentation for the
12.xline - Added a focused regression test for schema manager selection
Why this release matters
Laravel 12 typically runs with Carbon 3, which brings in carbonphp/carbon-doctrine-types:^3, and that dependency expects Doctrine DBAL 4.
Previously, migrations-generator still required DBAL 3 on the 12.x line, which caused an ecosystem mismatch.
This release resolves that conflict and improves compatibility for Laravel 12 projects, including database migration scenarios such as MariaDB to PostgreSQL.