3.0.0
版本发布时间: 2020-06-14 16:23:52
doctrine/migrations最新发布版本:3.8.1(2024-08-28 21:18:25)
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
- 925: Extract migration factory interface thanks to @goetas
duplicate
- 913: Mark registerMigrationInstance as private thanks to @goetas
- 904: Add the abortIf check when generating a migration. thanks to @VincentLanglet
Enhancement,WIP
- 899: Use named constructors for the DependencyFactory thanks to @goetas
Documentation,Enhancement
- 892: Version is not a number but a FQCN thanks to @goetas
Won't fix
- 866: Implement sharding already in the migrations thanks to @goetas
- 854: Fix migration direction calculation fails. thanks to @jamesleesaunders
Discussion,Improvement
- 857: Tight coupling in Version, Configuration and MigrationRepository thanks to @goetas
WIP
- 856: Allow multiple migration directories and namespaces thanks to @goetas