NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #59 most downloaded on Packagist
Library for handling version information and constraints
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.8 years
Most releases are documented
notes for 11 of 13 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
13 releases · first in 2017
Build metadata is now supported and considered for equality checks and the equal constraint
Build metadata is now supported and considered for equality checks and the equal constraint
Build metadata is now supported and considered for equality checks only
One column per quarter.
Fixed #28 : VersionConstraintParser does not support logical OR represented by single pipe (|) (Thanks @llaville )
Version constraints using the caret operator ( ^ ) now honor pre-1.0 releases, e.g. ^0.3 translates to 0.3.* )
Version::getOriginalString() added (Thanks @addshore)^) now honor pre-1.0 releases, e.g. ^0.3 translates to 0.3.*)Fixed #22 : make dev suffix rank works for uppercase too
Comparator method Version::equals() added
Version::equals() addedThis release now supports PHP 7.2+ and PHP ^8.0. No other changes included.
This release now supports PHP 7.2+ and PHP ^8.0. No other changes included.
__Potential BC Break Notice:__ Version::getVersionString() no longer returns v prefixes in case the "input" string contained one. These are not part o
Potential BC Break Notice:
Version::getVersionString() no longer returns v prefixes in case the "input"
string contained one. These are not part of the semver specs
(see https://semver.org/#is-v123-a-semantic-version) and get stripped out.
As of Version 3.1.0 Version::getOriginalString() can be used to still
retrieve it as given.
Scalar types have been added as needed
Versions without a pre-release suffix are now always considered greater than versions without a pre-release suffix. Example: 3.0.0 > 3.0.0-alpha.1
3.0.0 > 3.0.0-alpha.13.0.0 > 3.0.0-alpha.1PreReleaseSuffix::construct(): optional parameter $number removed
Changes to public API:
PreReleaseSuffix::construct(): optional parameter $number removedPreReleaseSuffix::isGreaterThan(): introducedVersion::hasPreReleaseSuffix(): introduced#11: Added support for pre-release version suffixes. Supported values are:
devbeta (also abbreviated form b)rcalpha (also abbreviated form a)patch (also abbreviated form p)All values can be followed by a number, e.g. beta3.
When comparing versions, the pre-release suffix is taken into account. Example:
1.5.0 > 1.5.0-beta1 > 1.5.0-alpha3 > 1.5.0-alpha2 > 1.5.0-dev11
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →