-
3.1.4
### Release Notes for [3.1.4](https://github.com/doctrine/migrations/milestone/48) 3.1.x bugfix release (patch) ### 3.1.4 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Bug - [1167: Check for all-or-nothing conflict in migrations](https://github.com/doctrine/migrations/pull/1167) thanks to @shadowhand
-
3.1.3
### Release Notes for [3.1.3](https://github.com/doctrine/migrations/milestone/47) 3.1.x bugfix release (patch) ### 3.1.3 - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **2** #### Bug - [1161: Bugfix: all-or-nothing from configuration must not be ignored](https://github.com/doctrine/migrations/pull/1161) thanks to @grachevko - [1156: Do not pass connection name to `PrimaryReadReplicaConnection::connect()`](https://github.com/doctrine/migrations/pull/1156) thanks to @frankverhoeven
-
3.1.2
### Release Notes for [3.1.2](https://github.com/doctrine/migrations/milestone/43) 3.1.x bugfix release (patch) ### 3.1.2 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **3** - [1150: cache some metadata state to avoid querying all the time the database…](https://github.com/doctrine/migrations/pull/1150) thanks to @goetas - [1147: Fix phpstan workflow](https://github.com/doctrine/migrations/pull/1147) thanks to @greg0ire - [875: Update the default migration template to adhere to PSR 12 formatting](https://github.com/doctrine/migrations/pull/875) thanks to @natewiebe13
-
3.0.4
### Release Notes for [3.0.4](https://github.com/doctrine/migrations/milestone/45) ### 3.0.4 - Total issues resolved: **0** - Total pull requests resolved: **0** - Total contributors: **0**
-
3.1.1
### Release Notes for [3.1.1](https://github.com/doctrine/migrations/milestone/41) ### 3.1.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Documentation - [1128: Add Custom migration template into the documentation](https://github.com/doctrine/migrations/pull/1128) thanks to @Holicz
-
2.3.3
### Release Notes for [2.3.3](https://github.com/doctrine/migrations/milestone/42) ### 2.3.3 - Total issues resolved: **1** - Total pull requests resolved: **2** - Total contributors: **3** #### Bug - [1131: Stop throwing exceptions on commit in PHP8+pdo_mysql combo ](https://github.com/doctrine/migrations/pull/1131) thanks to @ostrolucky and @lippok - [916: Fix migration timing/memory-usage display](https://github.com/doctrine/migrations/pull/916) thanks to @thePanz
-
3.1.0
### Release Notes for [3.1.0](https://github.com/doctrine/migrations/milestone/32) ### 3.1.0 - Total issues resolved: **0** - Total pull requests resolved: **7** - Total contributors: **3** #### Enhancement - [1050: Add a schema_provider option that enables the diff command for DBAL](https://github.com/doctrine/migrations/pull/1050) thanks to @veewee - [1010: #998: Show query and time information when using --query-time](https://github.com/doctrine/migrations/pull/1010) thanks to @bobvandevijver - [1023: Allow alternative connection/entity-manager via --em or --conn option](https://github.com/doctrine/migrations/pull/1023) thanks to @goetas - [1009: #996: Add verbosity notice to command help](https://github.com/doctrine/migrations/pull/1009) thanks to @bobvandevijver - [1008: Fixed out-of-date lock file](https://github.com/doctrine/migrations/pull/1008) thanks to @bobvandevijver - [997: Fix --write-sql command option description](https://github.com/doctrine/migrations/pull/997) thanks to @bobvandevijver - [994: Site meta and branch alias](https://github.com/doctrine/migrations/pull/994) thanks to @goetas
-
3.0.3
### Release Notes for [3.0.3](https://github.com/doctrine/migrations/milestone/38) ### 3.0.3 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **2** - [1125: use @internal instead of the type "@var internal"](https://github.com/doctrine/migrations/pull/1125) thanks to @goetas - [1100: Remove using the deprecated option "--no-suggest" composer 2.0.](https://github.com/doctrine/migrations/pull/1100) thanks to @Yozhef #### Bug - [1054: Fix circular ref in dependency resolution](https://github.com/doctrine/migrations/pull/1054) thanks to @goetas
-
3.0.2
### Release Notes for [3.0.2](https://github.com/doctrine/migrations/milestone/34) ### 3.0.2 - Total issues resolved: **1** - Total pull requests resolved: **16** - Total contributors: **16** #### Enhancement - [1101: Allow PHP 8 on branch 3.0.x](https://github.com/doctrine/migrations/pull/1101) thanks to @nicolas-grekas - [1079: A whole slew of changes for 3.0.x! See the summary.](https://github.com/doctrine/migrations/pull/1079) thanks to @TomHAnderson - [1097: Merge release 2.3.1 into 3.0.x](https://github.com/doctrine/migrations/pull/1097) thanks to @github-actions[bot] - [1059: Move website config to default branch](https://github.com/doctrine/migrations/pull/1059) thanks to @SenseException - [1058: Repeated $config value](https://github.com/doctrine/migrations/pull/1058) thanks to @Dazag - [1051: Fix code sample in custom integrations docs page](https://github.com/doctrine/migrations/pull/1051) thanks to @pawel-lewtak - [1039: Check PHP_OS_FAMILY for Windows in Tests](https://github.com/doctrine/migrations/pull/1039) thanks to @chrisguitarguy - [1028: Update MigrateCommand.php](https://github.com/doctrine/migrations/pull/1028) thanks to @ThomasLandauer - [1004: Migration fails when using SELECT queries in `addSql`](https://github.com/doctrine/migrations/issues/1004) thanks to @bcremer CI -- - [1084: Use composer v1 when running the low deps CI jobs](https://github.com/doctrine/migrations/pull/1084) thanks to @goetas #### Documentation - [1076: Update configuration.rst to include the `organize_migrations` setting.](https://github.com/doctrine/migrations/pull/1076) thanks to @bfoosness - [1056: Add missing closing double quote](https://github.com/doctrine/migrations/pull/1056) thanks to @rShipelov - [1033: Note BC Break in migrations template](https://github.com/doctrine/migrations/pull/1033) thanks to @havvg - [1027: Issue1024](https://github.com/doctrine/migrations/pull/1027) thanks to @shepard8 - [1018: Explain that the name config property has been removed](https://github.com/doctrine/migrations/pull/1018) thanks to @goetas #### Bug - [1060: Cast to integer to avoid Spanner GCP incompatibility](https://github.com/doctrine/migrations/pull/1060) thanks to @gabrielfs7 - [1043: Set dependencyFactory before configure is called in DoctrineCommand](https://github.com/doctrine/migrations/pull/1043) thanks to @jkrzefski
-
2.3.2
### Release Notes for [2.3.2](https://github.com/doctrine/migrations/milestone/37) ### 2.3.2 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Enhancement - [1102: Allow PHP 8](https://github.com/doctrine/migrations/pull/1102) thanks to @nicolas-grekas
-
2.3.1
### Release Notes for [2.3.1](https://github.com/doctrine/migrations/milestone/36) 2.3.x bugfix release (patch) ### 2.3.1 - Total issues resolved: **0** - Total pull requests resolved: **7** - Total contributors: **2** #### Bug - [1096: Address MasterSlaveConnection rename](https://github.com/doctrine/migrations/pull/1096) thanks to @greg0ire - [1071: Revert "Merge pull request #888 from goetas/update-query"](https://github.com/doctrine/migrations/pull/1071) thanks to @lyrixx CI -- - [1088: Run roave-bc-check on PRs only](https://github.com/doctrine/migrations/pull/1088) thanks to @greg0ire - [1085: Run PHPUnit after merging](https://github.com/doctrine/migrations/pull/1085) thanks to @greg0ire - [1073: Migrate to Github Actions](https://github.com/doctrine/migrations/pull/1073) thanks to @greg0ire #### Enhancement - [1072: Upgrade phpunit](https://github.com/doctrine/migrations/pull/1072) thanks to @greg0ire #### Improvement - [1069: Upgrade cs lib](https://github.com/doctrine/migrations/pull/1069) thanks to @greg0ire
-
2.3.0
### Release Notes for [2.3.0](https://github.com/doctrine/migrations/milestone/30) ### 2.3.0 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **6** #### Documentation - [1032: Let composer decide the best version](https://github.com/doctrine/migrations/pull/1032) thanks to @PowerKiKi - [1020: Add badges into README about license and packagist](https://github.com/doctrine/migrations/pull/1020) thanks to @matks - [999: Allow using on PHP 7.1 with Composer 2](https://github.com/doctrine/migrations/pull/999) thanks to @nicolas-grekas #### Enhancement - [981: Add "from-empty-schema" option for "diff" command](https://github.com/doctrine/migrations/pull/981) thanks to @guilliamxavier - [954: Make compared tables order idempotent](https://github.com/doctrine/migrations/pull/954) thanks to @julienfalque #### Improvement - [888: Use executeUpdate instead of executeQuery for write operation](https://github.com/doctrine/migrations/pull/888) thanks to @goetas
-
3.0.1
Release [3.0.1](https://github.com/doctrine/migrations/milestone/33) 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](https://github.com/doctrine/migrations/pull/1015) thanks to @goetas - [989: Allow legacy cli-config.php configurations](https://github.com/doctrine/migrations/pull/989) thanks to @goetas Documentation ------------- - [1007: fix typo](https://github.com/doctrine/migrations/pull/1007) thanks to @martin-heralecky - [1006: Document table metadata configs are optional](https://github.com/doctrine/migrations/pull/1006) thanks to @goetas - [1005: 3.0 BC breaks documentation](https://github.com/doctrine/migrations/pull/1005) thanks to @goetas Improvement ----------- - [993: Document the migration command](https://github.com/doctrine/migrations/pull/993) thanks to @goetas Enhancement ----------- - [988: Re-enable alpha1 meaningful message when "latest" already reached.](https://github.com/doctrine/migrations/pull/988) thanks to @bugalot
-
3.0.0
Release [3.0.0](https://github.com/doctrine/migrations/milestone/20) 3.0.0 ===== - Total issues resolved: **16** - Total pull requests resolved: **61** - Total contributors: **17** Tests ----- - [984: Address deprecations from doctrine/persistence](https://github.com/doctrine/migrations/pull/984) thanks to @greg0ire - [914: Various improvements in test suite](https://github.com/doctrine/migrations/pull/914) thanks to @goetas Enhancement ----------- - [979: Allow to use --write-sql to save the migration execution log to file](https://github.com/doctrine/migrations/pull/979) thanks to @goetas - [978: Display more informative messages for migration aliases](https://github.com/doctrine/migrations/pull/978) thanks to @goetas - [976: Move status info fetching into MigrationStatusInfosHelper](https://github.com/doctrine/migrations/pull/976) thanks to @goetas - [975: Allow to define lazy services in the dependency factory](https://github.com/doctrine/migrations/pull/975) thanks to @goetas - [973: Auto update metadata table when migrating](https://github.com/doctrine/migrations/pull/973) thanks to @goetas - [972: Extract MigrationsRepository interface](https://github.com/doctrine/migrations/pull/972) thanks to @goetas - [969: Moved migration sorting from MigrationRepository to MigrationPlanCalculator](https://github.com/doctrine/migrations/pull/969) thanks to @goetas - [965: Add command to display current version](https://github.com/doctrine/migrations/pull/965) thanks to @goetas - [948: Add warning for diffCommand](https://github.com/doctrine/migrations/pull/948) thanks to @goetas - [944: Mark console commands as final classes](https://github.com/doctrine/migrations/pull/944) thanks to @goetas - [940: Better handling of the table initialization](https://github.com/doctrine/migrations/pull/940) thanks to @goetas - [938: Mark the execute() method as protected to match the symfony signature](https://github.com/doctrine/migrations/pull/938) thanks to @goetas - [934: Depend directly on the symfony stopwatch component](https://github.com/doctrine/migrations/pull/934) thanks to @goetas - [926: Allow to decorate dependency factory services](https://github.com/doctrine/migrations/pull/926) thanks to @goetas - [923: Change of the visibility from "public" to "protected" on Command folder WIP](https://github.com/doctrine/migrations/pull/923) thanks to @Karimgasmi47 - [919: Introduce query value object to wrap sql queries](https://github.com/doctrine/migrations/pull/919) thanks to @goetas - [917: Extended details on up to date migrations](https://github.com/doctrine/migrations/pull/917) thanks to @goetas - [912: phar file should be built for php 7.2](https://github.com/doctrine/migrations/pull/912) thanks to @goetas - [911: Rename configuration namespace](https://github.com/doctrine/migrations/pull/911) thanks to @goetas - [910: Introduce version comparator](https://github.com/doctrine/migrations/pull/910) thanks to @goetas - [908: Add List migrations command](https://github.com/doctrine/migrations/pull/908) thanks to @goetas - [898: Drop helperset usage in favor of the DependencyFactory](https://github.com/doctrine/migrations/pull/898) thanks to @goetas - [897: Split migration planner and extract relative interfaces](https://github.com/doctrine/migrations/pull/897) thanks to @goetas - [896: Update to doctrine/coding-standard v7](https://github.com/doctrine/migrations/pull/896) thanks to @carusogabriel - [893: Expose the connection in DependencyFactory](https://github.com/doctrine/migrations/pull/893) thanks to @goetas - [891: Support multiple versions in ExecuteCommand](https://github.com/doctrine/migrations/pull/891) thanks to @goetas - [886: [up-to-date] print the names of executed unavailable migrations](https://github.com/doctrine/migrations/pull/886) thanks to @dbu - [883: Depend explicitly on doctrine/event-manager](https://github.com/doctrine/migrations/pull/883) thanks to @goetas - [881: Allow dump schema when migrations in other namespaces are present](https://github.com/doctrine/migrations/pull/881) thanks to @goetas - [880: Use executeUpdate instead of executeQuery for write operation](https://github.com/doctrine/migrations/pull/880) thanks to @goetas - [879: Drop php 7.1 and allow phpunit 8](https://github.com/doctrine/migrations/pull/879) thanks to @goetas - [878: Handle migrated versions metadata table auto-update ](https://github.com/doctrine/migrations/pull/878) thanks to @goetas - [876: Make configuration and dependency injection container immutable](https://github.com/doctrine/migrations/pull/876) thanks to @goetas - [834: Less verbose output for the migrate command](https://github.com/doctrine/migrations/issues/834) thanks to @stof - [805: dir_name does not support multiple directories](https://github.com/doctrine/migrations/issues/805) thanks to @precious-coder - [742: MigrationStatusInfosHelper::getFormattedVersionAlias() doesn't show full class name + sub-namespace](https://github.com/doctrine/migrations/issues/742) thanks to @Majkl578 - [734: Add standalone list command for listing migrations](https://github.com/doctrine/migrations/issues/734) thanks to @jwage - [726: Use dependency injection for console commands](https://github.com/doctrine/migrations/issues/726) thanks to @jwage - [722: Eliminate dependency on doctrine/common](https://github.com/doctrine/migrations/issues/722) thanks to @jwage - [557: Passing "prev" or "next" to migrate command not working](https://github.com/doctrine/migrations/issues/557) thanks to @trickeyone - [974: Sort executed migrations](https://github.com/doctrine/migrations/pull/974) thanks to @goetas - [968: Use SymfonyStyle to output text in console](https://github.com/doctrine/migrations/pull/968) thanks to @emodric - [962: Fix message on which migrations are going to be executed or migrated](https://github.com/doctrine/migrations/pull/962) thanks to @goetas - [961: Show current version with the command line](https://github.com/doctrine/migrations/issues/961) thanks to @loverg-c - [959: Allow to change configurations in the dependency factory](https://github.com/doctrine/migrations/pull/959) thanks to @goetas - [956: Remove deprecated --show-versions param](https://github.com/doctrine/migrations/pull/956) thanks to @goetas - [955: StatusCommand --show-versions option](https://github.com/doctrine/migrations/issues/955) thanks to @dmaicher - [953: Remove superfluous parameters check on executeUpdate ](https://github.com/doctrine/migrations/pull/953) thanks to @goetas - [952: Make the down() migration optional](https://github.com/doctrine/migrations/pull/952) thanks to @goetas Bug --- - [967: [3.0-alpha] Seamless 2.0 -> 3.0 upgrade, keeping migration versions data](https://github.com/doctrine/migrations/issues/967) thanks to @pamil - [960: Reduce primary key max length to 191 chars](https://github.com/doctrine/migrations/pull/960) thanks to @goetas - [932: Bugs in 3.0-dev](https://github.com/doctrine/migrations/pull/932) thanks to @goetas - [929: TableMetadataStorage uses the repository to provide migrations for ta…](https://github.com/doctrine/migrations/pull/929) thanks to @goetas - [928: Fix logger + tests](https://github.com/doctrine/migrations/pull/928) thanks to @goetas - [915: Import the right ExistingConfiguration class](https://github.com/doctrine/migrations/pull/915) thanks to @goetas - [894: Use interfaces where possible as service names](https://github.com/doctrine/migrations/pull/894) thanks to @goetas - [890: Initialize schema table even on reset](https://github.com/doctrine/migrations/pull/890) thanks to @goetas - [889: Executed at must be an integer](https://github.com/doctrine/migrations/pull/889) thanks to @goetas - [882: Mark as executed only if all queries pass](https://github.com/doctrine/migrations/pull/882) thanks to @goetas Documentation ------------- - [945: Document some BC breaks introduced in v3.x](https://github.com/doctrine/migrations/pull/945) thanks to @goetas - [780: Have to specifiy file/database connection while I already have](https://github.com/doctrine/migrations/issues/780) thanks to @MichaelBelgium Discussion ---------- - [935: How to handle metadata table creation](https://github.com/doctrine/migrations/issues/935) thanks to @goetas BC Break -------- - [933: Drop application name as it has no real use case](https://github.com/doctrine/migrations/pull/933) thanks to @goetas - [858: Migrations 3.0](https://github.com/doctrine/migrations/pull/858) thanks to @goetas - [743: Eliminate HelperSet usage in console-related code](https://github.com/doctrine/migrations/issues/743) thanks to @Majkl578 Improvement ----------- - [925: Extract migration factory interface](https://github.com/doctrine/migrations/pull/925) thanks to @goetas duplicate --------- - [913: Mark registerMigrationInstance as private](https://github.com/doctrine/migrations/pull/913) thanks to @goetas - [904: Add the abortIf check when generating a migration.](https://github.com/doctrine/migrations/issues/904) thanks to @VincentLanglet Enhancement,WIP --------------- - [899: Use named constructors for the DependencyFactory](https://github.com/doctrine/migrations/pull/899) thanks to @goetas Documentation,Enhancement ------------------------- - [892: Version is not a number but a FQCN](https://github.com/doctrine/migrations/pull/892) thanks to @goetas Won't fix --------- - [866: Implement sharding already in the migrations](https://github.com/doctrine/migrations/pull/866) thanks to @goetas - [854: Fix migration direction calculation fails.](https://github.com/doctrine/migrations/pull/854) thanks to @jamesleesaunders Discussion,Improvement ---------------------- - [857: Tight coupling in Version, Configuration and MigrationRepository](https://github.com/doctrine/migrations/issues/857) thanks to @goetas WIP --- - [856: Allow multiple migration directories and namespaces](https://github.com/doctrine/migrations/pull/856) thanks to @goetas
-
2.2.1
Release [2.2.1](https://github.com/doctrine/migrations/milestone/29) 2.2.1 ===== - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **2** Bug --- - [887: [2.2.x] Allow to throw Exception in Migrations](https://github.com/doctrine/migrations/pull/887) thanks to @VincentLanglet Documentation ------------- - [870: Fixed typo in the "--no-interaction" argument](https://github.com/doctrine/migrations/pull/870) thanks to @mattchete
-
2.2.0
Release [2.2.0](https://github.com/doctrine/migrations/milestone/26) 2.2.0 ===== - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **5** Enhancement ----------- - [869: Update supported PHP versions](https://github.com/doctrine/migrations/pull/869) thanks to @alcaeus - [867: Merge release 2.1.2 into master](https://github.com/doctrine/migrations/pull/867) thanks to @doctrinebot - [864: Allow Symfony 5 components](https://github.com/doctrine/migrations/pull/864) thanks to @l-vo - [839: Lazy console commands](https://github.com/doctrine/migrations/pull/839) thanks to @vudaltsov Improvement ----------- - [840: Add option allow-empty-diff for diff command](https://github.com/doctrine/migrations/pull/840) thanks to @jawira
-
2.1.2
Release [2.1.2](https://github.com/doctrine/migrations/milestone/28) 2.1.2 ===== - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** Documentation ------------- - [860: Fix the installation instruction](https://github.com/doctrine/migrations/pull/860) thanks to @stof
-
2.1.1
2.1.1 - Total issues resolved: 0 - Total pull requests resolved: 4 - Total contributors: 2 Bug --- - [843: Handle missing jdorn/sql-formatter dependency in dump-schema command](https://github.com/doctrine/migrations/pull/843) thanks to @webimpress Documentation ------------- - [842: Fixed docs for required params in the configuration](https://github.com/doctrine/migrations/pull/842) thanks to @webimpress - [841: Fixed default name in the documentation: Doctrine Database Migrations](https://github.com/doctrine/migrations/pull/841) thanks to @webimpress - [830: [DOCS] Added use statement for `Events`](https://github.com/doctrine/migrations/pull/830) thanks to @evertharmeling