Skip to content

Releases: cakephp/phinx

Phinx 0.11.4

24 Dec 23:43
10e8c3f

Choose a tag to compare

Included commits: 0.11.3...0.11.4

Fixes

  • Fixed offset warning shown when using invalid version for breakpoint

Improvements

  • Added fetch_mode option support for PDO adapter
  • Print version order when running migrate
  • Allow setting SRID for geometry types

Phinx 0.11.3

12 Dec 16:55
3c6a171

Choose a tag to compare

Fixes

Removed composer.json version number to allow normal release/tagging.
Fixes previously broken patch release.

Phinx 0.11.2

08 Dec 13:44
7335708

Choose a tag to compare

Fixes

  • SQLite fixes
  • Do not print out status table when specifying --format json

Improvements

  • PHP 7.4 compatibility
  • Symfony 5 compatibility
  • Introduced new command to list migration template creation aliases

Phinx 0.11.1

28 Aug 12:27

Choose a tag to compare

Bug Fixes

  • Fixed version in composer.json
  • Fixed minimum versions of dependencies #1592

Other Changes

  • Use $defaultName instead of COMMAND_NAME in command classes. #1596
  • Added prefer-lowest build to travis. #1592

Phinx 0.11.0

28 Aug 01:50
12f6eef

Choose a tag to compare

Bug Fixes

  • Fixed command names to fix breaking changes in symfony/console #1588
  • Fixed missing ; when using --dry-run #1573
  • Fix inserting multiple rows without zero key #1566
  • Fix option names in exception message.

New Features

  • AdapterWrapper::hasDatabase() now has a return value #1572

Other Changes

  • Improved test coverage with postgres #1577
  • Update PHPUnit version constraint #1591
  • Updated travis build configuration.

v0.10.8

08 Jul 17:01

Choose a tag to compare

Bug Fixes

  • [PDO & SQLite] Quoting (#1542)
  • [Postgres] Fix truncate table (#1555, #1474)
  • [SQLite] Fix truncate table (#1556)
  • [SQLite] Fixes to index handling (#1545)
  • [SQLite] Improved dropDatabase, and other minor fixes (#1533)
  • [SqlServer] Fix SqlServer syntax after making precision alias of limit (#1529)

New Features

  • Add double type (#1493)
  • Introduce --set and --unset options for breakpoints (#1560)
  • [SQLite] Implement hasPrimaryKey and hasForeignKey (#1548)
  • [SQLite] New implementation of getColumns (#1554)

Other Changes

  • Document that double is now a valid column type (#1527)
  • Enable testing for PHP 7.3
  • Typos in documentation (#1525)
  • Updated documentation regarding the use of saveData() rather than save() in seeds (#1473)

v0.10.7

25 Apr 09:55
ba2dae9

Choose a tag to compare

Bug Fixes

  • Several bug fixes introduced in 0.10 related to the batching of alter table statements (#1523)
  • Fixed DSN parsing (#1433)
  • SQLite Adapter now respects LIMIT on CHAR typed columns (#1518)
  • Fixes decimal info getColumns() (#1466)
  • Prevent data insertion when passing an empty array (#1496)
  • Quote column names when running CHECK command (#1444)

New Features

  • Add double type (#1493)
  • Add Exit Status 1 on Exception (#1462)
  • Non integer primary sqlite (#1450)
  • Add feature to be able to define a boostrap script (#1455)
  • Add small integer support to all Mysql, SqlServer and Sqlite (#1438)
  • Make removeIndex work with one column as a string (#1437)

v0.10.6

12 Aug 17:23
f28a1c6

Choose a tag to compare

Bug Fixes

  • Fixed wrong SQL used when adding new columns to a table in SQLite
  • Do not output all migrations in the -vvv output when running migrations every single time.

New Features

  • Ability to change the primary key and table comment
  • Added Table::getColumn() method

v.0.10.5

12 Jul 11:57
a13ac32

Choose a tag to compare

Bug fixes

  • Fixed boolean fields couldn't have default NULL
  • Documentation fixes

v0.10.4

27 Jun 10:34
83ee8b1

Choose a tag to compare

Bug Fixes

  • Creating FULL TEXT indexes in MySQL is now done in separate steps, as it does not support creating multiple indexes of this type at the same time.
  • Made the SQLServer adapter work again

Features

  • Added the setPrecisionAndScale() method to the Column class