summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor docs typo.Raphaël Barrois2019-08-241-2/+2
|
* Fix inconsistent matching behaviour.Raphaël Barrois2019-08-241-2/+2
| | | | | | | | According to the stated goal of "intuitive" behaviour, we want: ``Version('0.1.1-a1') not in Spec('<0.1.1')``. Tests, code and docs have been fixed.
* Add `Version.truncate()`.Raphaël Barrois2019-08-241-0/+14
| | | | This simplifies computing neighbouring versions.
* Allow Version(major=1, ...).Raphaël Barrois2019-08-241-0/+10
| | | | | | Eases the creation of version objects from existing versions. We still validate the type and structure of each component.
* Improve docs on `next_patch()`.Raphaël Barrois2018-06-181-0/+49
| | | | | | | | | | Those functions had been forgotten in the docs. Clarify that `Version('1.0.1-alpha').next_patch()` is `Version('1.0.1')`, since that version is the smallest non-prerelease version greater than `Version('1.0.1-alpha')`. Closes: #67
* Add a doc section about compatible release clausesMartin Ek2016-03-071-0/+6
|
* Cleanup and document fixes from #31.Raphaël Barrois2016-02-121-0/+6
| | | | The PR was broken through fixed in ``next_minor()`` / ``next_major()``.
* Forbid build metadata ordering (See #18)Raphaël Barrois2015-09-151-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SemVer 2.0.0 states that "Build metadata SHOULD be ignored when determining version precedence". This means that, when comparing ``0.1.0+1`` to ``0.1.0+bcd``:: >>> Version('0.1.0+1') == Version('0.1.0+bcd') False >>> Version('0.1.0+1') != Version('0.1.0+bcd') True >>> Version('0.1.0+1') < Version('0.1.0+bcd') False >>> Version('0.1.0+1') > Version('0.1.0+bcd') False >>> Version('0.1.0+1') <= Version('0.1.0+bcd') False >>> Version('0.1.0+1') >= Version('0.1.0+bcd') False >>> compare(Version('0.1.0+1'), Version('0.1.0+bcd')) NotImplemented This change also has the following effects: - When including build metadata in a ``Spec``, the only valid options are ``Spec('==0.1.0+sth')`` and ``Spec('!=0.1.0+sth')`` - The meaning of ``Spec('==0.1.0+')`` is now "Only version 0.1.0 without build metadata" - ``Spec('==0.1.0')`` now matches ``Version('0.1.0+anything')``
* Accept '*' as a Spec (Closes #8).Raphaël Barrois2014-03-161-0/+4
| | | | Spec('*') will match all valid Version objects.
* Update copyrightRaphaël Barrois2014-03-081-1/+1
|
* Add CREDITS file.Raphaël Barrois2014-03-081-0/+1
|
* Normalize docs to docs/ (Closes #5).Raphaël Barrois2013-12-238-0/+1173
Also normalize the package layout. Thanks @jdowner-gb & tleach for the report.