Doctrine Migrations v3.0.1 Release Notes
Release Date: 2020-06-21 // almost 3 years ago-
π Release 3.0.1
3.0.1
- Total issues resolved: 0
- Total pull requests resolved: 7
- Total contributors: 3
π Bug
- 1015: Migrate returns 0 as exit codes for empty plans as in 2.x thanks to @goetas
- π§ 989: Allow legacy cli-config.php configurations thanks to @goetas
π Documentation
- 1007: fix typo thanks to @martin-heralecky
- π 1006: Document table metadata configs are optional thanks to @goetas
- π 1005: 3.0 BC breaks documentation thanks to @goetas
π Improvement
- 993: Document the migration command thanks to @goetas
β¨ Enhancement
Previous changes from v3.0.0
-
π Release 3.0.0
π Get to know more about it on the official documentation. This is a major release. See the upgrade notes for information on removed or changed functionality.
3.0.0
- Total issues resolved: 16
- Total pull requests resolved: 61
- Total contributors: 17
β Tests
- π 984: Address deprecations from doctrine/persistence thanks to @greg0ire
- β 914: Various improvements in test suite thanks to @goetas
β¨ Enhancement
π² 979: Allow to use --write-sql to save the migration execution log to file thanks to @goetas
978: Display more informative messages for migration aliases thanks to @goetas
π 976: Move status info fetching into MigrationStatusInfosHelper thanks to @goetas
975: Allow to define lazy services in the dependency factory thanks to @goetas
π 973: Auto update metadata table when migrating thanks to @goetas
972: Extract MigrationsRepository interface thanks to @goetas
π 969: Moved migration sorting from MigrationRepository to MigrationPlanCalculator thanks to @goetas
965: Add command to display current version thanks to @goetas
β 948: Add warning for diffCommand thanks to @goetas
944: Mark console commands as final classes thanks to @goetas
π 940: Better handling of the table initialization thanks to @goetas
938: Mark the execute() method as protected to match the symfony signature thanks to @goetas
934: Depend directly on the symfony stopwatch component thanks to @goetas
926: Allow to decorate dependency factory services thanks to @goetas
π§ 923: Change of the visibility from "public" to "protected" on Command folder WIP thanks to @Karimgasmi47
919: Introduce query value object to wrap sql queries thanks to @goetas
917: Extended details on up to date migrations thanks to @goetas
912: phar file should be built for php 7.2 thanks to @goetas
π§ 911: Rename configuration namespace thanks to @goetas
910: Introduce version comparator thanks to @goetas
908: Add List migrations command thanks to @goetas
898: Drop helperset usage in favor of the DependencyFactory thanks to @goetas
897: Split migration planner and extract relative interfaces thanks to @goetas
β‘οΈ 896: Update to doctrine/coding-standard v7 thanks to @carusogabriel
893: Expose the connection in DependencyFactory thanks to @goetas
π 891: Support multiple versions in ExecuteCommand thanks to @goetas
π¨ 886: [up-to-date] print the names of executed unavailable migrations thanks to @dbu
883: Depend explicitly on doctrine/event-manager thanks to @goetas
881: Allow dump schema when migrations in other namespaces are present thanks to @goetas
β‘οΈ 880: Use executeUpdate instead of executeQuery for write operation thanks to @goetas
879: Drop php 7.1 and allow phpunit 8 thanks to @goetas
π 878: Handle migrated versions metadata table auto-update thanks to @goetas
π§ 876: Make configuration and dependency injection container immutable thanks to @goetas
834: Less verbose output for the migrate command thanks to @stof
π 805: dir_name does not support multiple directories thanks to @precious-coder
742: MigrationStatusInfosHelper::getFormattedVersionAlias() doesn't show full class name + sub-namespace thanks to @Majkl578
734: Add standalone list command for listing migrations thanks to @jwage
726: Use dependency injection for console commands thanks to @jwage
722: Eliminate dependency on doctrine/common thanks to @jwage
557: Passing "prev" or "next" to migrate command not working thanks to @trickeyone
974: Sort executed migrations thanks to @goetas
π 968: Use SymfonyStyle to output text in console thanks to @emodric
962: Fix message on which migrations are going to be executed or migrated thanks to @goetas
π» 961: Show current version with the command line thanks to @loverg-c
π§ 959: Allow to change configurations in the dependency factory thanks to @goetas
π 956: Remove deprecated --show-versions param thanks to @goetas
955: StatusCommand --show-versions option thanks to @dmaicher
β‘οΈ 953: Remove superfluous parameters check on executeUpdate thanks to @goetas
952: Make the down() migration optional thanks to @goetas
π Bug
- β¬οΈ 967: [3.0-alpha] Seamless 2.0 -> 3.0 upgrade, keeping migration versions data thanks to @pamil
- 960: Reduce primary key max length to 191 chars thanks to @goetas
- 932: Bugs in 3.0-dev thanks to @goetas
- π 929: TableMetadataStorage uses the repository to provide migrations for taβ¦ thanks to @goetas
- β 928: Fix logger + tests thanks to @goetas
- 915: Import the right ExistingConfiguration class thanks to @goetas
- 894: Use interfaces where possible as service names thanks to @goetas
- 890: Initialize schema table even on reset thanks to @goetas
- 889: Executed at must be an integer thanks to @goetas
- 882: Mark as executed only if all queries pass thanks to @goetas
π Documentation
- 945: Document some BC breaks introduced in v3.x thanks to @goetas
- 780: Have to specifiy file/database connection while I already have thanks to @MichaelBelgium
Discussion
- π 935: How to handle metadata table creation thanks to @goetas
BC Break
- 933: Drop application name as it has no real use case thanks to @goetas
- 858: Migrations 3.0 thanks to @goetas
- 743: Eliminate HelperSet usage in console-related code thanks to @Majkl578
π Improvement
duplicate
- 913: Mark registerMigrationInstance as private thanks to @goetas
- 904: Add the abortIf check when generating a migration. thanks to @VincentLanglet
β¨ Enhancement,WIP
π Documentation,Enhancement
Won't fix
- 866: Implement sharding already in the migrations thanks to @goetas
- 854: Fix migration direction calculation fails. thanks to @jamesleesaunders
Discussion,Improvement
π§ WIP