composer installs 4.3 by default #3187
Unanswered
loranger
asked this question in
Help needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to upgrade a laravel project and its dependencies, such as deployer, but I struggle with upgrading versions, so I tried a kind of unit test in order to understand the issue.
It seems
composer require deployer/deployer
provides deployer 4.3 instead of the latest version.Here is my testing setup:
docker-compose.yml
Dockerfile
composer.json
With those three files, after building a php image (using latest php:alpine version which is PHP 8.1.7) if I try to install deployer, I only get 4.3 version which forbids me to continue my upgrade process.
$ docker-compose run --rm composer -V -vvv
$ docker-compose run --rm composer require deployer/deployer --dev --dry-run
Of course, I could lock the version to
v7.0.0-rc.8
,v8.x-dev
or maybedev-master
, but I would prefer to get the latest stable release as we used to get when calling composer require with not specified version, and as written in the doc.Is deployer 4.3 really the latest stable version ? Am I the only one having such an old version ? Am I missing something ?
Beta Was this translation helpful? Give feedback.
All reactions