Releases: nextras/migrations
Releases · nextras/migrations
3.1.0 RC3
Changes since RC2:
- improved docs about dummy data
- improved SQL parsing for import
- fixed creating locks with too long names
3.1.0 RC2
New Features
- implemented support for migrations generators (
IDiffGenerator
),
with Doctrine ORM SchemaTool - extracted groups & extension handlers configuration to
IConfiguration
interface,
defaults toDefaultConfiguration
- 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 inconfig.neon
or setupIConfiguration
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 withprintIntro
960b008
3.1.0 beta 2
- 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
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
- fixed compatibility with Nextras DBAL 2.0
- fixed MySQL database locks when executing migrations on multiple different databases in parallel
3.0.3
3.0.2
3.0.1
3.0.0
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
,
useNextras\Migrations\Extensions\PhpHandler
Nextras\Migrations\Extensions\SimplePhp
,
useNextras\Migrations\Extensions\PhpHandler
Nextras\Migrations\Extensions\NetteDbSql
,
useNextras\Migrations\Extensions\SqlHandler
Nextras\Migrations\Drivers\MySqlNetteDbDriver
,
useNextras\Migrations\Drivers\MySqlDriver
with corresponding DBALNextras\Migrations\Drivers\PgSqlNetteDbDriver
,
useNextras\Migrations\Drivers\PgSqlDriver
with corresponding DBAL
3.0.0 RC2
- fixed Doctrine support