summaryrefslogtreecommitdiff
path: root/semantic_version
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for Django 1.10Raphaël Barrois2016-09-011-9/+18
| | | | | | | | | | | | | | Stop coercing fields magically: >>> a = SomeModel() >>> a.version = '0.1.0' >>> a.version '0.1.0' >>> a.full_clean() >>> a.version Version('0.1.0') Closes #43, #45
* Fix a bug with compatible release clauses and patch versionsMartin Ek2016-03-071-1/+1
| | | | | Previously, if the patch version was 0 (i.e. as in ~=2.2.0), this would cause the range to be interpreted as ~=2.2.
* Add support for compatible release ranges, fixes #37Martin Ek2016-02-251-1/+8
|
* Fix handling pre-1.0.0 caret versions (Closes #35)Raphaël Barrois2016-02-211-1/+7
| | | | Thanks to @autopulated for pointing the issue!
* lint: Remove double return.Raphaël Barrois2016-02-211-1/+0
|
* Release v2.5.0Raphaël Barrois2016-02-121-1/+1
|
* Cleanup and document fixes from #31.Raphaël Barrois2016-02-121-12/+14
| | | | The PR was broken through fixed in ``next_minor()`` / ``next_major()``.
* Merge branch 'tilde-caret' of ↵Raphaël Barrois2016-02-121-2/+18
|\ | | | | | | https://github.com/skwashd/python-semanticversion into skwashd-tilde-caret
| * Support for alternative equals specsDave Hall2015-11-291-2/+4
| | | | | | | | | | Composer assumes equals if no operator is used npm uses a single equals operator
| * Make regex more readableDave Hall2015-10-191-2/+1
| |
| * Add support for npm/composer caret and tilde condition extensionsDave Hall2015-10-151-1/+16
| |
* | Remove Copyright years (Closes #28)Raphaël Barrois2016-02-124-4/+4
| | | | | | | | It seems that stating the copyright years is useless after all :)
* | Merge branch 'bump-version-2' of ↵Raphaël Barrois2016-02-121-5/+14
|\ \ | | | | | | | | | https://github.com/MinchinWeb/python-semanticversion into MinchinWeb-bump-version-2
| * | Adjust code to match tests for bumping prerelease versionsMinchinWeb2015-09-151-5/+14
| | |
* | | Fix issue #33 - null VersionField breaks ORMHugo Rodger-Brown2015-11-241-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | I've updated the `BaseSemVerField` method `get_prep_value` so that it will return None when the field value is None, rather than the string representation 'None'. Previously this would break the ORM, which would save the string 'None' into the database, and then attempt to parse that as a version number. This change means that the default empty value for both VersionField and SpecField is None. Both derive from CharField, which uses an empty string as its default empty value, however it seems more logical in the case of these objects that no object is null, and not an empty string. Includes tests.
* | Forbid build metadata ordering (See #18)Raphaël Barrois2015-09-152-50/+46
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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')``
* 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
|
* Adds a new bump version func to the API.Rick Eyre2015-04-011-0/+11
|
* Fix unescaped regexps (Closes #12).Raphaël Barrois2015-04-011-2/+2
|
* 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
|
* Accept '*' as a Spec (Closes #8).Raphaël Barrois2014-03-161-10/+8
| | | | Spec('*') will match all valid Version objects.
* Update copyrightRaphaël Barrois2014-03-084-4/+4
|
* Upgrade to semver-2.0.0 (Closes #3)Raphaël Barrois2014-02-131-0/+24
|
* Version bump to 2.2.2v2.2.2Raphaël Barrois2013-12-231-1/+1
|
* Normalize docs to docs/ (Closes #5).Raphaël Barrois2013-12-234-0/+618
Also normalize the package layout. Thanks @jdowner-gb & tleach for the report.