D10 also requires Drush 11
I was hoping to use this module on our site, but it is already on PHP8 and Drush 11, so it is not compatible.- π¨π¦Canada TrevorBradley
Just stumbled across this. I just created this same patch independently. This solution is correct - core_version_requirement, drupal/core, AND drush/drush need to be upgraded.
@scambler, you've got a tiny error in your patch:
"drush/drush": "^10.0" || ^11.0
isn't valid. Let's try this new patch. - π¨π¦Canada TrevorBradley
Derp - I've got multiple patches in my patch. Once more with feeling...
- π¨π¦Canada TrevorBradley
Additionally - upgrade_status did a reactor test against the code - apart from the core/drush updates, there's no deprecated code. This should be a fairly straightforward upgrade.
- Status changed to RTBC
over 1 year ago 7:02pm 25 June 2023 - π¨π¦Canada TrevorBradley
Derp. My patch still has that errant code in it. One last time...
On the positive side - I just tested this on my D10 site, by moving the patched code into modules/custom - works great in D10.
- First commit to issue fork.
- πΊπ¦Ukraine kolesnikoff
You can install the patched D10-compatible version of the module using this configuration of the composer.json file:
{ "require": { "drupal/views_autocomplete_api": "2.1.x" }, "repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8", "exclude": [ "drupal/views_autocomplete_api" ] }, { "type": "git", "url": "https://git.drupalcode.org/issue/views_autocomplete_api-3332131" } ], }