Skip to content

Releases: nextras/migrations

3.3.1

26 Jan 13:05
Compare
Choose a tag to compare
  • fix when running migrations in non-cli SAPI

3.3.0

21 Jan 14:55
Compare
Choose a tag to compare
  • add support for Symfony 7
  • add support for dibi 5
  • remove support for PHP < 7.1
  • remove support for nette/di 2.3
  • remove support for nette/database 2.2
  • remove support for dibi 2

3.2.0

14 Jun 20:00
Compare
Choose a tag to compare
  • add PsrLogPrinter for sending Nextras Migrations output to Psr\Log\LoggerInterface
    You can enable it by adding printer: psrLog to either Nette or Symfony configuration.
  • add support for Symfony 6.x
  • Symfony Console commands no longer require nette/utils

3.1.6

01 Jun 21:15
f47a8f2
Compare
Choose a tag to compare
  • fix nextras/dbal 5.x compatibility

3.1.5

01 Jun 21:15
ac0adea
Compare
Choose a tag to compare
  • fix doctrine/dbal 3.x compatibility

3.1.3

04 Oct 19:56
Compare
Choose a tag to compare
  • fix parsing of SQL with consecutive delimiters

3.1.2

18 Jan 09:53
Compare
Choose a tag to compare
  • fix compatibility with Symfony 4.4 and 5.0
  • fix init command

3.1.1

24 Jun 07:02
Compare
Choose a tag to compare
  • fix parsing of SQL with comment on last line which is not followed by newline [#102]

3.1.0

22 May 18:50
Compare
Choose a tag to compare

New Features

  • implemented support for migrations generators (IDiffGenerator),
    with Doctrine ORM SchemaTool
  • added NextrasMigrationsBundle for Symfony
  • extracted groups & extension handlers configuration to IConfiguration interface
  • 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
  • improved SQL parsing for import
  • SymfonyConsole: support lazy loading of commands

New Integrations

  • added support for Nette Database 3
  • added support for Nette DI 3
  • added support for Symfony 3 and 4
  • added support for dibi 3 and 4

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

For the details you can have a look at the diff.

3.0.5

28 Jul 18:23
Compare
Choose a tag to compare
  • fixed compatibility with Symfony Console 3.x
  • fixed problem with lock name in MySQL 5.7.5+
  • fixed releasing lock that was not acquired

For the details you can have a look at the diff.