Skip to content

Really difficult to update to a dev version #712

@Jean85

Description

@Jean85

I have a Symfony 5.1 project with Composer 2, Flex and various components installed.

I would like to upgrade to the current 5.x branch, because there's a PR that I need that is merged there but it's not included in the latest 5.2-BETA tag. Without Flex, I would composer require symfony/symfony:dev-5.x, but with multiple split components I imagined that it would be more complex...

I tried multiple aliases in extra.symfony.require, but it always said Nothing to update; to make it work, I had to set "minimum-stability": "dev" in my composer.json, and do a composer update listing ALL the installed components, transient dependencies included, because otherwise it would update all the other dependencies too to the latest dev version.
Using --prefer-stable would stop Symfony components from updating.

This is obviously a sub-optimal DX; am I missing something? Or is this something that could be improved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions