Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps cakephp/migrations from 4.1.1 to 4.3.2.

Release notes

Sourced from cakephp/migrations's releases.

CakePHP Migrations 4.3.2

What's Changed

Full Changelog: cakephp/migrations@4.3.1...4.3.2

CakePHP Migrations 4.3.1

What's Changed

New Contributors

Full Changelog: cakephp/migrations@4.3.0...4.3.1

CakePHP Migrations 4.3.0

New Backend

As of migrations 4.3. there is a new migrations backend that uses CakePHP's database abstractions and ORM. Longer term this will allow for phinx to be removed as a dependency. Reducing the dependencies of migrations helps keep your applications dependencies smaller. Migrations can also benefit from improvements in the ORM with less lag time as they no longer need to be re-implemented in phinx. Lastly, it streamlines the number of APIs you have to learn. Migrations included APIs that are very different from CakePHPs, and we can now align querying and data manipulation APIs so that you don't have to remember two different APIs depending on the context.

What is the same?

Your migrations shouldn't have to change much to adapt to the new backend. The migrations backend implements all of the phinx interfaces and can run migrations based on phinx classes. If your migrations fail for a reason not outlined below please open an issue.

What is different?

If your migrations are using the AdapterInterface to fetch rows or update rows you will need to update your code. If you use Adapter::query() to execute queries, the return of this method is now Cake\Database\StatementInterface instead. This impacts fetchAll(), and fetch().

Enabling the new backend

The new backend can be enabled through application configuration. Add the following to your config/app.php::

    return [
        // Other configuration.
        'Migrations' => ['backend' => 'builtin'],
    ];

If your migrations have problems running with the builtin backend, removing this configuration option will revert to using phinx.

Summary of pull requests

... (truncated)

Commits
  • ff26043 Merge pull request #732 from cakephp/add-decorated-connection
  • b8f367b Add getDecoratedConnection to 4.x
  • 812e285 address subdep locking
  • 0795aa1 Get migrations + 5.1 tests passing locally.
  • 96490dc Update min cake version to include getMultipleOption method.
  • 8e1cce6 Revert "Update dependency on bake and remove more plugin manipulation"
  • 2a40e49 Update dependency on bake and remove more plugin manipulation
  • eda65ba Fix leaky file descriptor
  • 2f904f3 Fix failing tests in 5.1 build
  • e7eae92 Fix duplicate output.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cakephp/migrations](https://github.com/cakephp/migrations) from 4.1.1 to 4.3.2.
- [Release notes](https://github.com/cakephp/migrations/releases)
- [Commits](cakephp/migrations@4.1.1...4.3.2)

---
updated-dependencies:
- dependency-name: cakephp/migrations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 5, 2024
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 26, 2024

Superseded by #28.

@dependabot dependabot bot closed this Aug 26, 2024
@dependabot dependabot bot deleted the dependabot/composer/cakephp/migrations-4.3.2 branch August 26, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant