Releases: cakephp/phinx
Releases · cakephp/phinx
0.12.6
Improvements
- Add limit option for primary key migrations
- Provide $input, $output, and $context variable to bootstrap script
0.12.5
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
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
decimalin SQLite adapter - Added support for native Mysql blob types and fallback for binary
- Removed cakephp/collection dependency
0.12.3
Improvements
- Changed migration template to adopt strict types and create migrations as final
- Added support for BinaryUUID to SqlServer
0.12.2
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
Fixes
- Do not throw an exception for missing phinxlog for dry-run
- Adjusted the composer constraints to include the
symfony/yamlcomponent again.
0.12.1
Improvements
- Added
binaryuuidcolumn type support for Migration files. - Support setting
SRIDfor geometry columns for MySQL 8+
0.12.0
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_databaseis nowdefault_environment.
New Features
- Upgraded to PHPUnit 8.0
- Added
setDataDomain(),getDataDomain(), andgetColumnForType()to adapters. - Improved SQLite column add functionality.
- SQLite now creates columns as
NOT NULLby 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
Fixes
Fixed an exception of 0.11.5 where no such exception was needed or warranted.
0.11.5
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.