Skip to content

Releases: oscarafdev/migrations-generator

v12.0.2 - Laravel 12 compatibility with Doctrine DBAL 4

21 Apr 16:58

Choose a tag to compare

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 4
    • getSchemaManager() fallback for older implementations
  • Updated compatibility documentation for the 12.x line
  • 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.

Laravel 12 support

08 Dec 16:38

Choose a tag to compare

12.0.0

Laravel 12 support

Laravel 11 support

08 Dec 16:01

Choose a tag to compare

11.0.0

Laravel 11 support

Laravel 10 support

08 Dec 01:29

Choose a tag to compare

10.0.0

Laravel 10 compatibility

Laravel 9 Support

08 Dec 01:16

Choose a tag to compare

9.0.0

Document version compatibility

Laravel 8 support

26 Jan 01:42

Choose a tag to compare

  • Added support for laravel 8
  • Fixed a bug where double single quotes were generated

Timestamp precision support

29 Aug 00:05

Choose a tag to compare

2.0.23

Fix text type and timestamps precision

Minor fixes

28 Aug 23:14

Choose a tag to compare

2.0.22

Fix COLUMN_NAME and column_name

Laravel 5 Support Fix

18 May 14:18
a825f1b

Choose a tag to compare

2.0.21

Update composer.json

Laravel 5 Support

18 May 14:04
3768a23

Choose a tag to compare

2.0.20

Update composer.json