Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add support for temporary constraint wildcards in UpdateCommand#12658

Merged
Seldaek merged 3 commits into
composer:mainfrom
verfriemelt-dot-org:support-update-with-wildcards-11125
Mar 20, 2026
Merged

add support for temporary constraint wildcards in UpdateCommand#12658
Seldaek merged 3 commits into
composer:mainfrom
verfriemelt-dot-org:support-update-with-wildcards-11125

Conversation

@verfriemelt-dot-org
Copy link
Copy Markdown
Contributor

This will allow multiple packages to selected for update using a temporary constraint. Useful for CI/CD type workloads testing multiple supported versions for a given package like this

$ composer update --with "phpunit/*:12.4.*"

Updates using wildcards will only affect root requirements!

see #11125

@verfriemelt-dot-org verfriemelt-dot-org force-pushed the support-update-with-wildcards-11125 branch from 5f1b975 to 0e04908 Compare December 6, 2025 20:48
@verfriemelt-dot-org verfriemelt-dot-org changed the title add support for wildcards in UpdateCommand add support for temporary constraint wildcards in UpdateCommand Dec 7, 2025
@Seldaek Seldaek added this to the 2.10 milestone Dec 8, 2025
This will allow multiple packages to selected for update using a temporary constraint.
Useful for CI/CD type workloads testing multiple supported versions for
a given package like this

    $ composer update --with "phpunit/*:12.4.*"

Updates using wildcards will only affect root requirements!
Implements composer#11125
@verfriemelt-dot-org verfriemelt-dot-org force-pushed the support-update-with-wildcards-11125 branch from 0e04908 to 7452138 Compare December 8, 2025 16:56
@verfriemelt-dot-org
Copy link
Copy Markdown
Contributor Author

rebased onto main

@Seldaek Seldaek merged commit 76463a1 into composer:main Mar 20, 2026
21 checks passed
@Seldaek
Copy link
Copy Markdown
Member

Seldaek commented Mar 20, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants