Closed joomla-dependency-bot closed 1 month ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Command failed: composer update robmorgan/phinx --with-dependencies --ignore-platform-req 'ext-*' --ignore-platform-req 'lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires robmorgan/phinx ^0.16.0 -> satisfiable by robmorgan/phinx[0.16.0].
- robmorgan/phinx 0.16.0 requires php-64bit >=8.1 -> your php-64bit version (7.4.0; overridden via config.platform, actual: 7.4.32) does not satisfy that requirement.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
This PR contains the following updates:
^0.14.0
->^0.16.0
Release Notes
cakephp/phinx
### [`v0.16.1`](https://togithub.com/cakephp/phinx/releases/tag/0.16.1) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.16.0...0.16.1) #### Features - Option for addTimeStamps() to use datetime by [@joshbmarshall](https://togithub.com/joshbmarshall) in [https://github.com/cakephp/phinx/pull/2273](https://togithub.com/cakephp/phinx/pull/2273) #### Bug Fixes - Fixing errors when migration name is null by [@jaydiablo](https://togithub.com/jaydiablo) in [https://github.com/cakephp/phinx/pull/2268](https://togithub.com/cakephp/phinx/pull/2268) - Move postFlighCheck to be called before commit transaction by [@ajibarra](https://togithub.com/ajibarra) in [https://github.com/cakephp/phinx/pull/2272](https://togithub.com/cakephp/phinx/pull/2272) - Fix renaming column with Extra info set by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2275](https://togithub.com/cakephp/phinx/pull/2275) #### Miscellaneous - Bump codecov/codecov-action from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/cakephp/phinx/pull/2265](https://togithub.com/cakephp/phinx/pull/2265) - Fix mysql latest CI workflow by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2276](https://togithub.com/cakephp/phinx/pull/2276) - Fix tests for MySQL 8.4 by [@ajibarra](https://togithub.com/ajibarra) in [https://github.com/cakephp/phinx/pull/2281](https://togithub.com/cakephp/phinx/pull/2281) - Update box.json to include vendor/symfony/console/Resources by [@ajibarra](https://togithub.com/ajibarra) in [https://github.com/cakephp/phinx/pull/2280](https://togithub.com/cakephp/phinx/pull/2280) - Update docs for 0.16.x by [@ajibarra](https://togithub.com/ajibarra) in [https://github.com/cakephp/phinx/pull/2279](https://togithub.com/cakephp/phinx/pull/2279) #### New Contributors - [@jaydiablo](https://togithub.com/jaydiablo) made their first contribution in [https://github.com/cakephp/phinx/pull/2268](https://togithub.com/cakephp/phinx/pull/2268) - [@joshbmarshall](https://togithub.com/joshbmarshall) made their first contribution in [https://github.com/cakephp/phinx/pull/2273](https://togithub.com/cakephp/phinx/pull/2273) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.16.0...0.16.1 ### [`v0.16.0`](https://togithub.com/cakephp/phinx/releases/tag/0.16.0) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.5...0.16.0) #### Breaking Changes - Validate datetime for version by [@dereuromark](https://togithub.com/dereuromark) in [https://github.com/cakephp/phinx/pull/2249](https://togithub.com/cakephp/phinx/pull/2249) When using `AbstratMigration` class, when it's instantiated, the version will be validated that it is 14 characters (`YYYYMMDDHHmmSS`). A future version may strengthen this to validate that it's a valid datetime. To get prior behavior, will need to extend the `AbstractMigration` class and either override the constructor or the new `validateVersion` method. - Fix inconsistencies with hasPrimaryKey by [@DrewKolstad](https://togithub.com/DrewKolstad) in [https://github.com/cakephp/phinx/pull/2228](https://togithub.com/cakephp/phinx/pull/2228) Previously `hasPrimaryKey` would return inconsistently if the passed array of columns was a subset/superset of actual primary keys. This function should now only return `true` iff the passed array of columns strictly matches the actual list of primary key columns (same length and values). Postgres and SQLServer are case sensitive, while MySQL and SQLite are case insensitive. #### Fixes - Fix setting faked migrations as migrated by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2252](https://togithub.com/cakephp/phinx/pull/2252) - Fix for MySQL 8 DEFAULT_GENERATED extra by [@cergfix](https://togithub.com/cergfix) in [https://github.com/cakephp/phinx/pull/2253](https://togithub.com/cakephp/phinx/pull/2253) - Fix fatal errors when calling get methods by [@markstory](https://togithub.com/markstory) in [https://github.com/cakephp/phinx/pull/2257](https://togithub.com/cakephp/phinx/pull/2257) - Fix using literal type with add column by [@ndm2](https://togithub.com/ndm2) in [https://github.com/cakephp/phinx/pull/2255](https://togithub.com/cakephp/phinx/pull/2255) - Make Abstract{Migration,Seed}::getAdapter return non-null by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2261](https://togithub.com/cakephp/phinx/pull/2261) #### Docs - Reword null option description by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2262](https://togithub.com/cakephp/phinx/pull/2262) #### Misc - Bump actions/cache from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/cakephp/phinx/pull/2260](https://togithub.com/cakephp/phinx/pull/2260) #### New Contributors - [@DrewKolstad](https://togithub.com/DrewKolstad) made their first contribution in [https://github.com/cakephp/phinx/pull/2228](https://togithub.com/cakephp/phinx/pull/2228) - [@cergfix](https://togithub.com/cergfix) made their first contribution in [https://github.com/cakephp/phinx/pull/2253](https://togithub.com/cakephp/phinx/pull/2253) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.5...0.16.0 ### [`v0.15.5`](https://togithub.com/cakephp/phinx/releases/tag/0.15.5) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.4...0.15.5) #### What's Changed - Introduce getQueryBuilder aliases for specific database actions by [@wallacio](https://togithub.com/wallacio) in [https://github.com/cakephp/phinx/pull/2242](https://togithub.com/cakephp/phinx/pull/2242) - Add Symfony 7 support by [@Slamdunk](https://togithub.com/Slamdunk) in [https://github.com/cakephp/phinx/pull/2246](https://togithub.com/cakephp/phinx/pull/2246) #### New Contributors - [@Slamdunk](https://togithub.com/Slamdunk) made their first contribution in [https://github.com/cakephp/phinx/pull/2246](https://togithub.com/cakephp/phinx/pull/2246) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.4...0.15.5 ### [`v0.15.4`](https://togithub.com/cakephp/phinx/releases/tag/0.15.4) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.3...0.15.4) #### Fixes - Correct type for migrate target option by [@wallacio](https://togithub.com/wallacio) in [https://github.com/cakephp/phinx/pull/2241](https://togithub.com/cakephp/phinx/pull/2241) - Fix up UUID binary16 support for Sqlite by [@dereuromark](https://togithub.com/dereuromark) in [https://github.com/cakephp/phinx/pull/2239](https://togithub.com/cakephp/phinx/pull/2239) Note: Columns created in Sqlite before 0.15.4 using the `PdoAdapter::PHINX_TYPE_BINARYUUID` type were `binary_blob`. In 0.15.4 they were changed to be type `uuid_blob`. If you rely on this constant, you will need to manually update the types of any columns using `PdoAdapter::PHINX_TYPE_BINARYUUID` to the new value. Note: binary(16) support for Sqlite inside CakePHP requires v5.0.3+. #### New Contributors - [@wallacio](https://togithub.com/wallacio) made their first contribution in [https://github.com/cakephp/phinx/pull/2241](https://togithub.com/cakephp/phinx/pull/2241) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.3...0.15.4 ### [`v0.15.3`](https://togithub.com/cakephp/phinx/releases/tag/0.15.3) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.2...0.15.3) #### Fixes - Fix using test command when manually setting config by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2235](https://togithub.com/cakephp/phinx/pull/2235) - Fix default to null for type of column in addColumn by [@gaydamakha](https://togithub.com/gaydamakha) in [https://github.com/cakephp/phinx/pull/2236](https://togithub.com/cakephp/phinx/pull/2236) - Loosen psr/container version constraint by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2237](https://togithub.com/cakephp/phinx/pull/2237) #### Docs - Update minimum PHP version in docs by [@coderanger](https://togithub.com/coderanger) in [https://github.com/cakephp/phinx/pull/2232](https://togithub.com/cakephp/phinx/pull/2232) #### New Contributors - [@coderanger](https://togithub.com/coderanger) made their first contribution in [https://github.com/cakephp/phinx/pull/2232](https://togithub.com/cakephp/phinx/pull/2232) - [@gaydamakha](https://togithub.com/gaydamakha) made their first contribution in [https://github.com/cakephp/phinx/pull/2236](https://togithub.com/cakephp/phinx/pull/2236) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.2...0.15.3 ### [`v0.15.2`](https://togithub.com/cakephp/phinx/releases/tag/0.15.2) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.1...0.15.2) #### Fixes - Allow Table::addColumn() to use type from Column object again by [@othercorey](https://togithub.com/othercorey) in [https://github.com/cakephp/phinx/pull/2224](https://togithub.com/cakephp/phinx/pull/2224) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.1...0.15.2 ### [`v0.15.1`](https://togithub.com/cakephp/phinx/releases/tag/0.15.1) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.15.0...0.15.1) #### Fixes - Ensure `PostgresAdapter::useIdentity` is always initialized by [@othercorey](https://togithub.com/othercorey) in [https://github.com/cakephp/phinx/pull/2223](https://togithub.com/cakephp/phinx/pull/2223) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.15.0...0.15.1 ### [`v0.15.0`](https://togithub.com/cakephp/phinx/releases/tag/0.15.0) [Compare Source](https://togithub.com/cakephp/phinx/compare/0.14.0...0.15.0) **Note**: The `2.0.0`, `2.0.1`, and `2.0.2` tags were created incorrectly, and have been deleted and will be removed from packagist. This release features all of the same features and changes that was in those releases. We are still using `0.x` releases as the API is not yet considered stable, as evidenced by the breaking change below. #### Breaking Changes ##### PHP 8.1 / Type declarations This release requires PHP 8.1 or greater to be installed to use Phinx. As part of this, a number of type declarations were changed throughout Phinx to take advantage of the expanded syntax allowed by PHP 8.1. See [https://github.com/cakephp/phinx/pull/2218](https://togithub.com/cakephp/phinx/pull/2218) for all the files affected. For users that overwrite `$autoId` in their migration class, this will now need a `bool` type declaration: ```php public bool $autoId = false; ``` ##### Foreign Key Handling In previous versions, Phinx was inconsistent with how it handled foreign keys across the adapters. Per [https://github.com/cakephp/phinx/pull/2212](https://togithub.com/cakephp/phinx/pull/2212), here is the old and new behaviors: > Currently the behavior looks like this: > > | | MySQL | Postgres | Sqlite | SQL Server | > |---------------------------------------|:-----:|:--------:|:------:|:----------:| > | Case-sensitive drop | no | yes | yes | no¹ | > | Case-sensitive lookup | yes | yes | no | yes¹ | > | Multi-column drop | no² | yes | no³ | no² | > | Drop all column matches | yes | yes | no | yes | > | Column order dependent drop | no | no | no | no | > | Column order dependent lookup | yes | no | no | no | > | Silently drop non-existent by columns | no | yes | no | yes | > | Silently drop non-existent by name | no | no | - | no | > > 1) In a case sensitive database the query would produce an error. 2) Generates duplicate drop instructions, one for every key that has any of the given columns. 3) For every column, the first key that starts with that column would be deleted. > > With these changes, the new behavior would be as follows: > > | | MySQL | Postgres | Sqlite | SQL Server | > |---------------------------------------|:-----:|:--------:|:------:|:----------:| > | Case-sensitive drop | no | yes¹ | no | yes¹ | > | Case-sensitive lookup | no | yes¹ | no | yes¹ | > | Multi-column drop | yes | yes | yes | yes | > | Drop all column matches | yes | yes | yes | yes | > | Column order dependent drop | yes | yes | yes | yes | > | Column order dependent lookup | yes | yes | yes | yes | > | Silently drop non-existent by columns | no | no | no | no | > | Silently drop non-existent by name | no | no | - | no | > > 1) The behavior is independent of whether the database/column is actually case-sensitive. #### Features - Require PHP 8.1+ - Update for Cake 5 by [@ADmad](https://togithub.com/ADmad) in [https://github.com/cakephp/phinx/pull/2106](https://togithub.com/cakephp/phinx/pull/2106) - Add/improve type declarations for PHP 8.1 by [@othercorey](https://togithub.com/othercorey) in [https://github.com/cakephp/phinx/pull/2218](https://togithub.com/cakephp/phinx/pull/2218) - Unify multi-column foreign key handling by [@ndm2](https://togithub.com/ndm2) in [https://github.com/cakephp/phinx/pull/2212](https://togithub.com/cakephp/phinx/pull/2212) - Add declare strict_types to seed template by [@MasterOdin](https://togithub.com/MasterOdin) in [https://github.com/cakephp/phinx/pull/2220](https://togithub.com/cakephp/phinx/pull/2220) #### Docs - fix phinx link by [@Arhell](https://togithub.com/Arhell) in [https://github.com/cakephp/phinx/pull/2179](https://togithub.com/cakephp/phinx/pull/2179) - update phinx link by [@Arhell](https://togithub.com/Arhell) in [https://github.com/cakephp/phinx/pull/2180](https://togithub.com/cakephp/phinx/pull/2180) - Fix grammar in configuration doc by [@Jonezzyboy](https://togithub.com/Jonezzyboy) in [https://github.com/cakephp/phinx/pull/2219](https://togithub.com/cakephp/phinx/pull/2219) #### New Contributors - [@Jonezzyboy](https://togithub.com/Jonezzyboy) made their first contribution in [https://github.com/cakephp/phinx/pull/2219](https://togithub.com/cakephp/phinx/pull/2219) **Full Changelog**: https://github.com/cakephp/phinx/compare/0.14.0...0.15.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.