Skip to content

Releases: nextras/migrations

3.1.0 RC3

11 Feb 17:35
Compare
Choose a tag to compare
3.1.0 RC3 Pre-release
Pre-release

Changes since RC2:

  • improved docs about dummy data
  • improved SQL parsing for import
  • fixed creating locks with too long names

3.1.0 RC2

16 Dec 14:26
Compare
Choose a tag to compare
3.1.0 RC2 Pre-release
Pre-release

New Features

  • implemented support for migrations generators (IDiffGenerator),
    with Doctrine ORM SchemaTool
  • extracted groups & extension handlers configuration to IConfiguration interface,
    defaults to DefaultConfiguration
  • added elapsed time & number of queries to console output
  • exception message for changed migrations contain old and new hashes
  • CreateCommand: added support for nested directory structure
  • CreateCommand: prints path to created file to stdout
  • removed strict order requirement for independent groups

BC Breaks

  • Symfony commands: removed --production option,
    use withDummyData option in config.neon or setup IConfiguration option instead
  • Symfony commands: changed constructor to accept IConfiguration instance instead of $dir and $phpParams
  • IPrinter: changed printExecute() signature to accept elapsed time as well d088b24
  • IPrinter: printReset replaced with printIntro 960b008

3.1.0 beta 2

14 Aug 21:02
Compare
Choose a tag to compare
3.1.0 beta 2 Pre-release
Pre-release
  • added IConfiguration interface, used by Symfony Console commands
  • implemented support for arbitrary migrations generators with IDiffGenerator interface
  • added integration with Doctrine ORM SchemaTool
  • removed strict order requirement for independent groups

and more

3.1.0-beta1

14 Jan 17:57
Compare
Choose a tag to compare
3.1.0-beta1 Pre-release
Pre-release

3.1.0-beta1 is out! What's changed?

  • BC Breaks:
    • changed interface IPrinter [960b008]
  • new features:
    • create command respectis sub directories;
    • create command prints the created filename;
    • handlers can be defined in config;
    • cli output contains elapsed time, number of queries and enhanced readability;
    • if migrations changed, this old and new hashes are included in the exception message;
  • fixes & changes:
    • other minor fixes and enhancements;
  • see full commit changelog

3.0.4

14 Jan 18:12
Compare
Choose a tag to compare
  • fixed compatibility with Nextras DBAL 2.0
  • fixed MySQL database locks when executing migrations on multiple different databases in parallel

3.0.3

14 Jan 18:13
Compare
Choose a tag to compare
  • fixed incorrect error message when migration file was empty

3.0.2

14 Jan 18:14
Compare
Choose a tag to compare
  • fixed case-sensitivity of namespace in DoctrineAdapter

3.0.1

22 Jul 12:09
Compare
Choose a tag to compare
  • simplified changing default PostgreSQL's schema
  • fixed reset failing to create PostgreSQL's schema
  • fixed wrong order of migrations when files had identical logical names

3.0.0

30 Apr 11:17
Compare
Choose a tag to compare

New features

  • Written documentation
  • Added built-in Symfony Commands.
  • Added support for Nextras DBAL, Doctrine DBAL and dibi.
  • Added support for deep directory structure, i.e. the following paths are now considered equal
    • /migrations/structures**/**2015-03-16-170342-languages.sql
    • /migrations/structures**/2015/**03-16-170342-languages.sql
    • /migrations/structures**/2015/03/**16-170342-languages.sql
    • /migrations/structures**/2015/**2015-03-16-170342-languages.sql
    • /migrations/structures**/2015/03/**2015-03-16-170342-languages.sql

Changes

  • Minimum PHP version changed to 5.4
  • New migration in the middle of existing migrations will now result in error.
  • Deprecated the following classes:
    • Nextras\Migrations\Extensions\DbPhp,
      use Nextras\Migrations\Extensions\PhpHandler
    • Nextras\Migrations\Extensions\SimplePhp,
      use Nextras\Migrations\Extensions\PhpHandler
    • Nextras\Migrations\Extensions\NetteDbSql,
      use Nextras\Migrations\Extensions\SqlHandler
    • Nextras\Migrations\Drivers\MySqlNetteDbDriver,
      use Nextras\Migrations\Drivers\MySqlDriver with corresponding DBAL
    • Nextras\Migrations\Drivers\PgSqlNetteDbDriver,
      use Nextras\Migrations\Drivers\PgSqlDriver with corresponding DBAL

3.0.0 RC2

27 Apr 18:21
Compare
Choose a tag to compare
3.0.0 RC2 Pre-release
Pre-release
  • fixed Doctrine support