New:
- Handle the full semver-2.0.0 specifications (instead of the 2.0.0-rc2 of previous releases)
- #8: Allow '*' as a valid version spec
Bugfix:
- #1: Allow partial versions without minor or patch level
New:
- Add the Version.coerce class method to Version class for mapping arbitrary version strings to semver.
- Add the validate() method to validate a version string against the SemVer rules.
- Full Python3 support
New:
- Add semantic_version.Spec.filter() (filter a list of Version)
- Add semantic_version.Spec.select() (select the highest Version from a list)
- Update semantic_version.Version.__repr__()
New:
Allow split specifications when instantiating a SpecList:
>>> SpecList('>=0.1.1', '!=0.1.3') == SpecList('>=0.1.1,!=0.1.3') True
New:
- Improved “loose” specification support (>~, <~, !~)
- Introduced “not equal” specifications (!=, !~)
- SpecList class combining many Spec
- Add SpecListField to store a SpecList.
First public release.
New:
- Version and Spec classes
- Related django fields: VersionField and SpecField