Skip to content

Make Composer CLI --minimal-changes flag a configuration option #39823

@elaman

Description

@elaman

Discussed in originally posted discussion by @p-golovin in #37767

The --minimal-changes flag in the Composer commands makes lock file maintenance miss a lot of updates. Additionally, for years this flag wasn't part of Renovate's behavior, and it is still not a default behavior for Composer versions >2.7; rather, it is an optional flag.

I suspect a lot of people do not realize that they are missing updates. We noticed this when Renovate suddenly stopped creating PRs across multiple projects, even though composer outdated was still yielding results.

Given that this is an optional flag and breaks Renovate's previous behavior, I propose making it a configurable option rather than a default behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    manager:composerComposer (PHP) package managerpriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions