Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Current 'Migrate Plus' installed version in a 'Drupal 8.3.4' site is version: '8.x-2.0-beta2' and latest available release is version: '8.x-4.0-beta1'. But Drush/ Composer is unable to upgrade the module to its latest version. Any idea why?
Comments
Comment #2
calbasiYou should specify new major version to upgrade it with drush:
For example:
drush dl
-7.x-1.x-dev
Comment #3
jithinantony CreditAttribution: jithinantony commentedPlease note that this is for Drupal 8. Also, isn't it Composer takes care of it seeing the Drupal core version?
Comment #4
tmountjr CreditAttribution: tmountjr at Eastern Standard commentedAdding my voice to this one as well. I'd love to apply some patches via composer, patches that are pretty much ready for primetime but for the lack of tests, but every time I do that I end up reverting to 2.0.0-beta2. Is this just a matter of informing Drupal's Packagist that there's a new version out there?
Comment #5
heddnCan someone post a gist link to their composer.json AND composer.lock?
Comment #6
tmountjr CreditAttribution: tmountjr at Eastern Standard commentedHere's a gist of my composer files: https://gist.github.com/tmountjr/57de945ecc2e1d317959078b99d431b8
Comment #7
heddnI cannot reproduce the issue using those files.
composer update --with-dependencies
Comment #8
heddnComment #9
tmountjr CreditAttribution: tmountjr at Eastern Standard commented#8 got me up and running on the beta 4 branch:
However, on a new project, I'm still getting 2.x-dev when installing for the first time:
I've never gotten out-of-date betas for other projects when using composer the first time out the gate; webform, for instance, is still in beta (17 I think as of now) and I still get the most recent beta when requiring that module. While I understand you can specify a version when using composer require, my point is that you shouldn't have to in order to get the most recent package.
Comment #10
johnchqueWe ran into the same problem, any idea how we can get the latest version? We tried using
composer require migrate_plus:4-x.dev
but it just throws an errorComment #11
tmountjr CreditAttribution: tmountjr at Eastern Standard commented@yongt9412 - try
composer require drupal/migrate_plus:^4
- for Drupal packages you have to include thedrupal/
part of the module name.Comment #12
heddnNew release provided. Let's say that the passing of time has probably fixed this issue?