Skip to content

Update dependency composer/semver to v3 - autoclosed

Reiter, Christoph requested to merge renovate/composer-semver-3.x into main

This MR contains the following updates:

Package Type Update Change
composer/semver require-dev major ^1.5 -> ^3.0

Release Notes

composer/semver

v3.2.4

Compare Source

  • Fixed: code clean-up

v3.2.3

Compare Source

  • Fixed: constraints in the form of X || Y, >=Y.1 and other such complex constructs were in some cases being optimized into a more restrictive constraint

v3.2.2

Compare Source

  • Fixed: internal code cleanups

v3.2.1

Compare Source

  • Fixed: accidental validation of broken constraints combining ^/~ and wildcards, and -dev suffix allowing weird cases
    • Fixed: normalization of beta0 and such which was dropping the 0

v3.2.0

Compare Source

  • Added: support for x || @​dev, not very useful but seen in the wild and failed to validate with 1.5.2/1.6.0
    • Added: support for foobar-dev being equal to dev-foobar, dev-foobar is the official way to write it but we need to support the other for BC and convenience

v3.1.0

Compare Source

  • Added: support for constraints like ^2.x-dev and ~2.x-dev, not very useful but seen in the wild and failed to validate with 3.0.1
    • Fixed: invalid aliases will no longer throw, unless explicitly validated by Composer in the root package

v3.0.1

Compare Source

  • Fixed: handling of some invalid -dev versions which were seen as valid

v3.0.0

Compare Source

  • Break: Renamed EmptyConstraint, replace it with MatchAllConstraint
    • Break: Unlikely to affect anyone but strictly speaking a breaking change, *.* and such variants will not match all dev-* versions anymore, only * does
    • Break: ConstraintInterface is now considered internal/private and not meant to be implemented by third parties anymore
    • Added Intervals class to check if a constraint is a subsets of another one, and allow compacting complex MultiConstraints into simpler ones
    • Added CompilingMatcher class to speed up constraint matching against simple Constraint instances
    • Added MatchAllConstraint and MatchNoneConstraint which match everything and nothing
    • Added more advanced optimization of contiguous constraints inside MultiConstraint
    • Added tentative support for PHP 8
    • Fixed ConstraintInterface::matches to be commutative in all cases

v2.0.0

Compare Source

  • Break: dev-master, dev-trunk and dev-default now normalize to dev-master, dev-trunk and dev-default instead of 9999999-dev in 1.x
    • Break: Removed the deprecated AbstractConstraint
    • Added getUpperBound and getLowerBound to ConstraintInterface. They return Composer\Semver\Constraint\Bound instances
    • Added MultiConstraint::create to create the most-optimal form of ConstraintInterface from an array of constraint strings

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Reiter, Christoph

Merge request reports

Loading