kirby3-autoid icon indicating copy to clipboard operation
kirby3-autoid copied to clipboard

Composer package version seems to be out of sync

Open jesuismaxime opened this issue 4 years ago • 3 comments

The plugin version in this repo is 2.2.1 but I can't get nothing more than 1.4.x with a composer install (I clear my composer cache and try 2 times, still nothing).

I can't use \Bnomei\AutoID::index(true); to clear my cache (and I need it) since it's private in 1.4.x.

Thank you!

jesuismaxime avatar Mar 01 '20 12:03 jesuismaxime

composer will not do a major version upgrade when calling upgrade. i upgraded to 2.x when i made major, breaking changes. to upgrade a major version with composer you need to remove and require again.

if you need a reindex in 1.4.x you can just remove all caches created by autoid.

bnomei avatar Mar 04 '20 11:03 bnomei

That's what I said, I remove the entire dependencies, empty my composer cache and re-install the plugin 2 times and it downloads 1.4.x

jesuismaxime avatar Mar 05 '20 14:03 jesuismaxime

version on packagist seems fine. composer info bnomei/kirby3-autoid

versions : * 2.2.1

sorry i can not replicate your error yet.

have you removed the composer.lock file as well?

bnomei avatar Mar 05 '20 16:03 bnomei