summaryrefslogtreecommitdiff
path: root/semantic_version/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Move package metadata to setup.cfgRaphaël Barrois2021-03-021-1/+9
| | | | | | | Instead of relying on setup.py, use setup.cfg. Dev/doc requirements have been moved there as well, under the `doc` and `dev` extras.
* Back to development: 2.8.6Raphaël Barrois2020-04-291-1/+1
|
* Preparing release 2.8.52.8.5Raphaël Barrois2020-04-291-1/+1
|
* Back to development: 2.8.5Raphaël Barrois2019-12-211-1/+1
|
* Preparing release 2.8.42.8.4Raphaël Barrois2019-12-211-1/+1
|
* Back to development: 2.8.4Raphaël Barrois2019-11-211-1/+1
|
* Preparing release 2.8.32.8.3Raphaël Barrois2019-11-211-1/+1
|
* Back to development: 2.8.3Raphaël Barrois2019-09-061-1/+1
|
* Preparing release 2.8.22.8.2Raphaël Barrois2019-09-061-1/+1
|
* Back to development: 2.8.2Raphaël Barrois2019-08-291-1/+1
|
* Preparing release 2.8.12.8.1Raphaël Barrois2019-08-291-1/+1
|
* Back to development: 2.8.1Raphaël Barrois2019-08-291-1/+1
|
* Preparing release 2.8.02.8.0Raphaël Barrois2019-08-291-1/+1
|
* Back to development: 2.7.2Raphaël Barrois2019-08-281-1/+1
|
* Preparing release 2.7.12.7.1Raphaël Barrois2019-08-281-1/+1
|
* Back to development: 2.7.1maint/v2.7Raphaël Barrois2019-08-281-1/+1
|
* Preparing release 2.7.02.7.0Raphaël Barrois2019-08-281-1/+1
|
* Add deprecations for Spec/SpecItem.Raphaël Barrois2019-08-261-1/+1
| | | | | | | | | The internal features from those classes will be removed in future versions: - The `Spec` class is incompatible with the support of multiple syntaxes - The `SpecItem` class was an implementation detail, but doesn't support complex `Range` combinations.
* Add support for NPM-style version ranges.Raphaël Barrois2019-08-261-1/+1
| | | | | | | | The code follows closely the specification available at https://docs.npmjs.com/misc/semver.html. Despite similarities, the matching logic is fully separate from the `native` code, since both might evolve at their own scales.
* Refactor spec/version matching.Raphaël Barrois2019-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Instead of choosing the comparison on each `.match()` call, the expression is converted to a combination of `Range()` expressions (simple comparison to a semver-compliant `Version`). `Range()` objects can be combined with `And` and `Or` through the `AnyOf` and `AllOf` clauses (sticking to Python's naming scheme). Some specific flags have been provided to those range, allowing users to subtly alter the matching behaviour - thus accomodating different versioning schemes: - `<0.1.2` won't match `0.1.2-rc1`, unless the prerelease_policy flag is set to either `always` or `same-patch` - `<0.1.2` will match `0.1.1-rc1`, unless the `prerelease_policy` flag is set to `same-patch` - `==0.1.2` will always match `0.1.2+build44`, unless the `build_policy` is set to `strict`. The `Spec` item has been updated, alongside `SpecItem`. Those objects keep the original expression as attributes, but don't use them for comparisons.
* Release version 2.6.0v2.6.0Raphaël Barrois2016-09-251-1/+1
|
* LintingRaphaël Barrois2016-09-011-3/+3
|
* Release v2.5.0Raphaël Barrois2016-02-121-1/+1
|
* Remove Copyright years (Closes #28)Raphaël Barrois2016-02-121-1/+1
| | | | It seems that stating the copyright years is useless after all :)
* Bump version to 2.4.2.v2.4.2Raphaël Barrois2015-07-021-1/+1
|
* Release v2.4.1v2.4.1Raphaël Barrois2015-04-011-1/+1
|
* Release v2.4.0v2.4.0Raphaël Barrois2015-04-011-1/+1
|
* Version bump to 2.3.1v2.3.1Raphaël Barrois2014-09-241-1/+1
|
* Version bump to 2.3.0v2.3.0Raphaël Barrois2014-03-161-1/+1
|
* Update copyrightRaphaël Barrois2014-03-081-1/+1
|
* Version bump to 2.2.2v2.2.2Raphaël Barrois2013-12-231-1/+1
|
* Normalize docs to docs/ (Closes #5).Raphaël Barrois2013-12-231-0/+10
Also normalize the package layout. Thanks @jdowner-gb & tleach for the report.