Skip to content

Changelog

The changes of each release of Phalcon Migrations 2.2.

The changes of each release that this documentation covers, newest first. The source is CHANGELOG.md of the repository.

2.2.4 (2021-12-10)

  • Changed column modification behavior during table morph (#126)

2.2.3 (2021-08-11)

  • Changed column modification behavior during table morph (#97)
  • Updated composer packages (#124)

2.2.2 (2021-08-08)

  • Integrated nette/php-generator, changed algorithm of migrations generation (#90)

2.2.1 (2021-08-03)

  • Fixed types and indexes definition on pgsql adapter (#111, #112, #118)

2.2.0 (2021-08-03)

Supported Versions: 7.3, 7.4, 8.0

  • This release provides initial PHP 8 support.

2.1.6 (2021-03-22)

  • Fixed duplicated table phalcon_migrations in PostgreSQL (#104)
  • Fixed morphing when column attribute unsiged is changed (#109)

2.1.5 (2020-11-03)

  • Enhanced error output during failed table morph (#99)

2.1.4 (2020-08-31)

  • Fixed ‘options’ table definition (#94)

2.1.3 (2020-08-29)

  • Improved tests codebase (#86)
  • Fixed .phar compilation (#91)
  • Added filter for column default value (65735c1)

2.1.2 (2020-03-30)

Supported PHP versions: 7.2, 7.3, 7.4

  • Added separate changelog document CHANGELOG.md (#85)
  • Fixed long execution of data insertion during migration run (x14 faster) (#76)
  • Added README.md inside tests folder (#78)

2.1.1 (2020-03-26)

Supported PHP versions: 7.2, 7.3, 7.4

  • Added size for DECIMAL Column type (MySQL) (#77)
  • Added possibility to specify options no-auto-increment, skip-ref-schema and skip-foreign-checks from config file (#80)

2.1.0 (2020-03-22)

Supported PHP versions: 7.2, 7.3, 7.4

  • Added option to disable and enable foreign key (#11)
  • Added config option to ignore reference schema (#68)
  • Added more tests (38028e8)
  • Removed extended class of Phalcon PDO and Dialect (58c383b)

2.0.0 (2020-03-19)

  • Integrated Phalcon CLI Options Parser (COP) (#20)
  • Removed duplicated required 1st argument migration in CLI (#20)
  • Rewrote all tests from PHPUnit to Codeception, also added CLI tests (#20, 2ede70c)

1.2.2 (2020-03-18)

  • Fixed references generation (d225f61)

1.2.1 (2020-03-13)

  • Fixed running migration that were added before the latest (#66)
  • Refactored part of Migration file generation

1.2.0 (2020-03-12)

  • Disabled AUTO_INCREMENT option in migrations by default (#57)
  • Added PRIMARY KEY in table “phalcon_migrations” on column “version” (#58)
  • Implement PHAR release for each new version (#12)
  • Updated shivammathur/setup-php to v2 and add cache for extensions (5ce0c6a)

1.1.7 (2020-02-10)

  • Added support of ENUM column type (#7)

1.1.6 (2020-02-06)

  • Updated list of column types without size (#49)
  • Fixed generation table columns with NULL definition (#51)
  • Fixed running time based migrations (#53)

1.1.5 (2020-02-02)

  • Fixed adding primary key in migration generation for PostgreSQL (#1)
  • Added test cases in migrations to run SET FOREIGN_KEY_CHECKS (#2)
  • Implemented workflows for PostgreSQL with new tests (#43)
  • Added support of ‘descr’ option in config file (#39)
  • Fixed PHP Notice in case if migrations directory(ies) was(were) not found (#40)
  • Adapt code to PSR-12 format (#47)

1.1.4 (2020-01-29)

  • Updated Github Actions to run tests with different PHP versions: 7.2, 7.3, 7.4 (#32)
  • Updated minimum required version of Phalcon to 4.0.0 (b3e1a4a)
  • Reviewed support of MySQL JSON type (#3)
  • Fixed adding foreign key during separate migrations (#29)

1.1.3 (2020-01-01)

  • Added support of TIME datatype (#8)

1.1.2 (2019-12-30)

  • Minor refactor (c7cf72a)
  • Fixed 2 argument type in batchInsert() method (63f5b33)

1.1.1 (2019-12-21)

1.1.0 (2019-12-14)

  • Refactored Migrations class (9603ab7, 24a62fa)
  • Implemented bin for CLI usage (#13)
  • Fixed global installation of package (#15)
  • Fixed ---log-in-db parameter (#17)
  • Fixed omitting size for DATE and DATETIME types (#22)

1.0.4 (2019-11-18)

  • Fixed migrations run with ‘migrationsDir’ option as a string

1.0.3 (2019-11-18)

1.0.2 (2019-11-17)

  • Removed ext-posix from composer requirements

1.0.1 (2019-11-17)

  • Configured Github Actions
  • Fixed passing third parameter to generateAll() method
  • Refactored current Tests
  • Implemented new Tests
  • Enabled Codecov.io reports
  • Small refactors in code
  • Moved Phinx composer package to suggestions
  • Bumped minimal Phalcon version to 4.0.0-RC.3

1.0.0 (2019-10-31)

  • First release, separated from devtools
Navigation

Type to search…

↑↓ navigate↵ selectEsc close