Skip to content

Releases: cakephp/phinx

0.12.6

16 Mar 13:58
3519c5c

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

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

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

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

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

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

Choose a tag to compare

Improvements

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

0.12.0

09 Apr 14:07

Choose a tag to compare

Breaking Changes

  • Minimum of PHP 7.2 required now.
  • cakephp/database>=4.0 now required. This could impact migrations/seeds that use the query APIs.
  • In environment configuration default_database is now default_environment.

New Features

  • Upgraded to PHPUnit 8.0
  • Added setDataDomain(), getDataDomain(), and getColumnForType() to adapters.
  • Improved SQLite column add functionality.
  • SQLite now creates columns as NOT NULL by default, regardless if a default value for the column is specified or not. This brings it in line with how the other adapters work.

0.11.6

06 Apr 16:36
6bac1f5

Choose a tag to compare

Fixes

Fixed an exception of 0.11.5 where no such exception was needed or warranted.

0.11.5

05 Apr 04:08
06c65d6

Choose a tag to compare

Fixes

  • Fixed schema table not being properly quoted in some queries
  • $_ENV is mixed with $_SERVER for getting replacement config tokens
  • Fixed DSN handling in Migrate and Seed commands

Improvements

  • Improved Wrapper to support status command in JSON format
  • Made YAML extension optional.
  • Raise error on ignored primary key.