Skip to content

Releases: cakephp/phinx

0.16.6

21 Dec 00:31
5bad109
Compare
Choose a tag to compare

Improvements

Bug Fixes

  • Improve collision handling on multiple create calls by @MasterOdin in #2325
  • Fix type with space between limit and precision in SQLiteAdapter by @MasterOdin in #2329
  • Fix SQLiteAdapter::getColumns with Literal column by @MasterOdin in #2331

Deprecations

  • Add deprecation warning for Util::mapClassNameToFileName by @MasterOdin in #2327

Documentation

Miscellaneous

New Contributors

Full Changelog: 0.16.5...0.16.6

0.16.5

03 Oct 15:41
31d837c
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: 0.16.4...0.16.5

0.16.4

26 Sep 12:28
0ef61fc
Compare
Choose a tag to compare

Bug Fixes

Miscellaneous

Full Changelog: 0.16.3...0.16.4

0.16.3

07 Sep 07:52
b5dab99
Compare
Choose a tag to compare

Features

Bug Fixes

Documentation

Misc

  • Consolidate insert/bulkInsert implementations by @MasterOdin in #2300
  • DRY info output for console commands by @MasterOdin in #2302
  • Fix phpcs error in PDOAdapter by @MasterOdin in #2308
  • Move schema to class property for PostgresAdapter by @MasterOdin in #2309
    Note: The PostgresAdapter::getGlobalSchemaName protected function has been removed. Use the PostgresAdapter::$schema class member variable instead.

New Contributors

Full Changelog: 0.16.2...0.16.3

0.16.2

22 Jul 22:01
5779080
Compare
Choose a tag to compare

Features

Bug Fixes

Documentation

New Contributors

Full Changelog: 0.16.1...0.16.2

0.16.1

04 Jun 03:36
6e522d6
Compare
Choose a tag to compare

Features

Bug Fixes

Miscellaneous

New Contributors

Full Changelog: 0.16.0...0.16.1

0.16.0

24 Jan 05:25
e039a72
Compare
Choose a tag to compare

Breaking Changes

  • Validate datetime for version by @dereuromark in #2249
    When using AbstratMigration class, when it's instantiated, the version will be validated that it is 14 characters (YYYYMMDDHHmmSS). A future version may strengthen this to validate that it's a valid datetime. To get prior behavior, will need to extend the AbstractMigration class and either override the constructor or the new validateVersion method.
  • Fix inconsistencies with hasPrimaryKey by @DrewKolstad in #2228
    Previously hasPrimaryKey would return inconsistently if the passed array of columns was a subset/superset of actual primary keys. This function should now only return true iff the passed array of columns strictly matches the actual list of primary key columns (same length and values). Postgres and SQLServer are case sensitive, while MySQL and SQLite are case insensitive.

Fixes

Docs

Misc

New Contributors

Full Changelog: 0.15.5...0.16.0

0.15.5

18 Dec 13:54
a81c084
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.15.4...0.15.5

0.15.4

15 Nov 16:12
192e7f7
Compare
Choose a tag to compare

Fixes

Note: Columns created in Sqlite before 0.15.4 using the PdoAdapter::PHINX_TYPE_BINARYUUID type were binary_blob. In 0.15.4 they were changed to be type uuid_blob. If you rely on this constant, you will need to manually update the types of any columns using PdoAdapter::PHINX_TYPE_BINARYUUID to the new value.

Note: binary(16) support for Sqlite inside CakePHP requires v5.0.3+.

New Contributors

Full Changelog: 0.15.3...0.15.4

0.15.3

09 Nov 19:53
Compare
Choose a tag to compare

Fixes

Docs

New Contributors

Full Changelog: 0.15.2...0.15.3