Version 3.0.0
Added
- Strict typing wherever possible
- 15: Relaxed version parsing
Changed
- 13: PHP 7.2 as minimum requirement
- Renamed
Version::fromElements()toVersion::fromParts() Version::fromParts()requiresPreReleaseandBuildinstances- Renamed
Version::withMajorIncremented()toVersion::incrementMajor() - Renamed
Version::withMinorIncremented()toVersion::incrementMinor() - Renamed
Version::withPatchIncremented()toVersion::incrementPatch() - 14: Simplified modeling of extension parts - pre-release and build
- 16: Simplified Constraint modeling
Removed
- Setter method from the
VersionAwareInterface Version::from(Major|Minor|Path|PreRelease|Build)named constructors in favor of having a singleVersion::fromParts()named constructor with optional parametersVersionCollection::fromArray(); constructor with variadicVersionarguments should be used instead