Releases: cakephp/phinx
Releases · cakephp/phinx
0.12.12
Fixes
- Fix setting persistent option for PDO connection by @paulermo in #2092
- Fix SqlServerAdapter returning empty string instead of null for column default by @reeperbahnause in #2090
Full Changelog: 0.12.11...0.12.12
0.12.11
Improvements
- Add full text search index GIN type by @antoniovj1 in #2066
- Support sqlite query parameters by @swiffer in #2053, #2083
- Add setting DSN options for SqlServerAdapter by @ingLomeland in #2094
Full Changelog: 0.12.10...0.12.11
0.12.10
Fixes
- Fixed setting default for Blob, Geometry, Json, and Text for MySQL 8+
- Fix using MysqlAdapter::INT_* constants as column limit
- Properly return limit for MySQL columns that include it (e.g.
smallint(5)
) - Fix adding columns to sqlite tables created externally from phinx
Improvements
- Do not print information output with option
--no-info
- Remove decimal from unsupported sqlite types list
- Mark compatibility with Symfony 6.x
0.12.9
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
Fixes
- Fixes issue with MySQL Adapter primary key getter
Improvements
- Expose
hasPrimaryKey()
method in Table object. This mirrors the existinghasForeignKey()
function. - Postgres: Allow change from
int
tobool
andchar
touuid
- Allow setting column to
false
to ignore it inaddTimestamps()
/addTimestampsWithTimezone
methods. This is useful if not both fields are used. - Adding the mediumint type for the MySql adapter
0.12.7
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
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
decimal
in 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