Skip to content

Releases: cakephp/phinx

v0.9.1

09 Sep 13:55
c1d51fd
Compare
Choose a tag to compare

0.9.1 (Satruday, 9 September 2017)

  • Pull requests
    • #1164 Added a function to migration classes to determine migration direction
  • Bug fixes
    • #1173 Fixing configuration item default_migration_table
    • #1170 Fixed regression when setting the pdo object directly in the config

v0.9.0

03 Sep 18:27
6334838
Compare
Choose a tag to compare

0.9.0 (Sunday, 3rd September 2017)

  • Documentation updates
  • Pull requests
    • #1122 SQL exceptions will now produce PHP exceptions
    • #1053 Docker Development Kickstarter
    • #945 Rollback --target using migration name
    • #1070 Supporting namespaces in configuration, Migrations and Seeds
    • #1155 Fill up column values from schema
    • #1148 When execute command seed:run, insert all data to a table in a bulk
  • Bug fixes
    • #1111 Fixed error when calling truncateTable() method
    • #1117 Quote column names in the addIndex() method for PostgresSQL
    • #1126 Fix invalid changeColumn regex causing deletions
    • #1093 Fix issue with dropColumn command in SQLite
    • #1091 Fix pgsql quoting in comment clause
    • #1094 Fix varchar to datetime error

v0.8.1

05 Jun 13:33
Compare
Choose a tag to compare

0.8.1 (Monday, 5th June 2017)

  • Documentation updates
  • Pull requests
    • #768 Support for MySQL unsigned primary keys
    • #1104 Removed support for HHVM
    • #1082 Fixed paths displayed in text output
    • #1055 Text wrapper improvements
    • #1056 Update Input/OutputInterface on cached Manager
  • Bug fixes
    • #1060 Fixed rollback on only one migration

v0.8.0

28 Feb 18:37
Compare
Choose a tag to compare

0.8.0 (Tuesday, 28th February 2017)

  • Documentation updates
  • New features

Upgrading Phinx to 0.8

  • Phinx 0.8 allows for phinx rollback and phinx status to operate on migrations in reverse execution order, rather than reverse creation order. To achieve this new ordering, you will need to add a new entry in your phinx.yml file (or equivalent).

    The setting is called version_order and supports 2 values:

    • creation - this is the default value and matches the standard behaviour of executing rollbacks in the reverse order based upon the creation datetime (also known as version).
    • execution - this is the new value and will execute rollbacks in the reverse order in which they were applied.

    This feature will be of most importance when development of migrations takes place in different branches within a codebase and are merged in to master for deployment. It will no longer matter when the migrations were created if it becomes necessary to rollback the migrations.

v0.7.2

28 Feb 11:21
Compare
Choose a tag to compare

0.7.2 (Tuesday, 28th February 2017)

  • Bug fixes
    • #1041 Quote new column name in renameColumn in PostgresAdapter
    • #1048 Do not allow the start_time to be updated when setting a breakpoint

v0.7.1

19 Feb 12:23
Compare
Choose a tag to compare
  • Documentation updates
  • New features
    • #978 Add table truncate method
  • Pull requests
    • #1029 Add vendor to Phinx path to align with other docs

v0.7.0

10 Feb 10:59
Compare
Choose a tag to compare
  • Documentation updates
  • New features
    • #885 Add collation and encoding options for MySQL text and char columns
  • Pull requests
    • #813 Fix SQLite data insertion
    • #867 Improve Postgres geography types creation
    • #966 Remove unused variable
    • #973 Improve documentation grammar
    • #979 Add .gitattributes to exclude tests on Composer export
    • #983 Document changing a foreign key constraint name
    • #1001 Cleanup phpunit mock warnings
    • #1007 Integrate PHPStan and fix issues discovered
    • #1020 Document adding named foreign keys
    • #1028 Add docs about MySQL table specific options
    • #1033 Add PHP 7.1 to Travis CI

v0.6.6

23 Jan 08:58
Compare
Choose a tag to compare
  • Documentation updates
  • New Features
    • #943 Adding hint on migration name in CamelCase
  • Bug fixes
    • #813 fix(pdo_sqlite): Correctly handles data insertions
    • #956 Fix seed command accepting string
    • #1002 Fix Appveyor builds
    • #1006 Fix update column with , in definition (SQLite)
  • Development branch changed to master

v0.6.5

27 Oct 10:16
Compare
Choose a tag to compare

0.6.5 (Thursday, 27 October 2016)

  • Documentation updates
  • Pull requests
    • #831 Typos
    • #929 Support glob brace for seed paths
    • #949 Fix for Config::getMigrationBaseClassName
    • #958 Allow console input to be used within adapters

v0.6.4

27 Jul 23:19
Compare
Choose a tag to compare

0.6.4 (Wednesday, 27th July 2016)

  • Documentation updates
  • Pull requests
    • #909 Declare test class properties
    • #910, #916 Remove unused variables
    • #912 ConfigInterface usage consistency
    • #914 Set return values and @return documentation
    • #918 Docblock correction for Phinx\Migration\Manager::executeSeed()
    • #921 Add Phinx\Wrapper\TextWrapper::getSeed()
  • Bug fixes
    • #908 Fix setting options for Column, ForeignKey and Index
    • #922 SQLite adapter drops table on changeColumn if there's a foreign key