Skip to content

Commit 2cf3f54

Browse files
committed
Merge branch 'develop'
2 parents 0764a99 + 94d775e commit 2cf3f54

File tree

7 files changed

+247
-135
lines changed

7 files changed

+247
-135
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,18 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
170170
This feature replaces composite primary keys with a synthetic `$table->id()` column,
171171
preserving the original key as a named `UNIQUE` constraint.
172172
Useful for Eloquent compatibility with legacy schemas.
173+
174+
## [8.2.0] – 2025-07-06
175+
176+
### Added
177+
178+
- Introduced SchemaMigrationExecutor and corresponding interface to separate execution logic from console command (
179+
MigrationGeneratorCommand).
180+
- Added support for Laravel's container instantiation of SchemaMigrationExecutorInterface via service provider.
181+
- Enabled optional injection of SchemaNormalizationManagerInterface into executor for improved configurability.
182+
183+
### Changed
184+
185+
- Refactored MigrationGeneratorCommand to delegate migration execution to the new SchemaMigrationExecutor, aligning with
186+
the Separation of Concerns (SoC) principle.
187+
- Normalizer resolution is now conditional and injected only if active normalizers are defined.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"ext-pdo_mysql": "*",
1515
"doctrine/dbal": "^3.0",
1616
"laravel/framework": "^10.0 || ^11.0 || ^12.0",
17-
"marcj/topsort": "^1.1"
17+
"marcj/topsort": "^1.1 || ^2.0"
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "^10.0 || ^11.0",

0 commit comments

Comments
 (0)