Updating Kirby CMS from 4.x to 5.3.1 // Observation

,

Hello everyone,

I just updated Kirby from 4.x to 5.3.1.

To do this, I first changed the entry under “require” in my Composer.json

from ^4.0to

“getkirby/cms”: “^5.0” .

When I then executed the command responsible for the actual update, namely

composer update getkirby/cms

I got the following error:

kirbyy cms claviska/simpleimage 4.4.0 package fixed

In other words, some dependency is locked and therefore the update process cannot be executed.

So I now ran composer update.

Then I ran

composer update getkirby/cms

Result: Update to 5.3.1 successful.

But I’m wondering, shouldn’t the command

composer update getkirby/cms be sufficient, because it also controls the updating of dependencies?

Did I do something wrong even though everything works?

Thanks for your help.

newbie

I think this only updates Kirby CMS but not the dependencies. Running the command with the -W flag should fix such an error

composer update getkirby/cms -W

Or more verbose

composer update getkirby/cms --with-all-dependencies

Thank you very much!