Update dependency composer/semver to v3 - autoclosed
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
- Fixed: code clean-up
v3.2.3
- 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
- Fixed: internal code cleanups
v3.2.1
- 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
- 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 todev-foobar
, dev-foobar is the official way to write it but we need to support the other for BC and convenience
- Added: support for
v3.1.0
- 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
- Fixed: handling of some invalid -dev versions which were seen as valid
v3.0.0
- Break: Renamed
EmptyConstraint
, replace it withMatchAllConstraint
- Break: Unlikely to affect anyone but strictly speaking a breaking change,
*.*
and such variants will not match alldev-*
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
andMatchNoneConstraint
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
- Break: Unlikely to affect anyone but strictly speaking a breaking change,
v2.0.0
- Break:
dev-master
,dev-trunk
anddev-default
now normalize todev-master
,dev-trunk
anddev-default
instead of9999999-dev
in 1.x- Break: Removed the deprecated
AbstractConstraint
- Added
getUpperBound
andgetLowerBound
to ConstraintInterface. They returnComposer\Semver\Constraint\Bound
instances - Added
MultiConstraint::create
to create the most-optimal form of ConstraintInterface from an array of constraint strings
- Break: Removed the deprecated
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph