Skip to content

Releases: cakephp/phinx

0.12.9

12 Oct 11:01
5a0146a
Compare
Choose a tag to compare

Fixes

  • Fixed renaming table not using prefix/suffix on new name
  • Fixed changing boolean column option's in PostgreSQL, this was a regression of previous release patch that is now resolved

Improvements

  • PHP 8.1 compatibility

0.12.8

01 Sep 23:46
d2ed1b4
Compare
Choose a tag to compare

Fixes

  • Fixes issue with MySQL Adapter primary key getter

Improvements

  • Expose hasPrimaryKey() method in Table object. This mirrors the existing hasForeignKey() function.
  • Postgres: Allow change from int to bool and char to uuid
  • Allow setting column to false to ignore it in addTimestamps()/addTimestampsWithTimezone methods. This is useful if not both fields are used.
  • Adding the mediumint type for the MySql adapter

0.12.7

18 May 14:34
bdd8f33
Compare
Choose a tag to compare

Fixes

  • Fixed error when creating a foreign key on a table without an autoincrementing primary key in SQLite

Improvements

  • Support for psr/container v2

0.12.6

16 Mar 13:58
3519c5c
Compare
Choose a tag to compare

Improvements

  • Add limit option for primary key migrations
  • Provide $input, $output, and $context variable to bootstrap script

0.12.5

21 Jan 11:57
9457e38
Compare
Choose a tag to compare

Fixes

  • Fix not being able to set limit on big integer for MySQL
  • Run preFlightCheck and postFlightCheck immediately after migration
  • Ensure a default of CURRENT_TIMESTAMP(3) is not quoted in MySQL
  • Fix PDO exception not being thrown when trying to add column to non-existent table in SQLite
  • Better handle specifying schema in configuration file and inline migrations for postgresql
    Since phinx did support this at one time and then it broke

Improvements

  • Support setting order for indexes
  • Add ability to set generic PDO attributes
  • Support for include clause when adding an index
  • Support looking up foreign key by name in sqlite3
  • Support for tinyint and smallint in SQL Server
  • Automatically handle casting when changing column to bigint, smallint, int on postgresql

0.12.4

18 Aug 22:08
05902f4
Compare
Choose a tag to compare

Fixes

  • Fixed adding columns to existing SQLite table with table constraints
  • Fixed problems in SQLite Adapter around foreign key creation
  • Fixed renaming columns in mixed case table in Postgres
  • Fix error when using Phinx with MySQL 8.0.21+

Improvements

  • Added support for decimal in SQLite adapter
  • Added support for native Mysql blob types and fallback for binary
  • Removed cakephp/collection dependency

0.12.3

26 Jun 23:20
c63dcec
Compare
Choose a tag to compare

Improvements

  • Changed migration template to adopt strict types and create migrations as final
  • Added support for BinaryUUID to SqlServer

0.12.2

24 Jun 09:31
e8ac453
Compare
Choose a tag to compare

Fixes

  • Fixed issue around tinyint(1) and bool detection
  • Fixed default/update values for addTimestamps columns

Improvements

  • Support user-configured DI container
  • Added further support for tinyint and binary UUID
  • Added support for configuring test DB through DSN
  • Allow name to be optional for create command
  • Relaxed migration & seed class name restrictions

0.11.7

12 May 22:53
3cdde73
Compare
Choose a tag to compare

Fixes

  • Do not throw an exception for missing phinxlog for dry-run
  • Adjusted the composer constraints to include the symfony/yaml component again.

0.12.1

11 Apr 20:19
94d0b78
Compare
Choose a tag to compare

Improvements

  • Added binaryuuid column type support for Migration files.
  • Support setting SRID for geometry columns for MySQL 8+