diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2019-11-21 12:45:28 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2019-11-21 13:13:19 +0100 |
commit | da55cf15dd71a0d9a839e7507e4fc69396c8326d (patch) | |
tree | 9fa88a3fab1f631ab82f5329f4ec0ad71fd01023 /ChangeLog | |
parent | 371faaf6453b07f5316e356e68d7f26ae44b0df9 (diff) | |
download | semantic-version-da55cf15dd71a0d9a839e7507e4fc69396c8326d.tar.gz |
Fix NpmSpec prerelease-handling.
Thanks to Nathan Walters for spotting this.
Npm ranges with a `<X.Y.Z-P` component were not properly expanded:
they were converted to:
<X.Y.0 || (>=X.Y.0 && <X.Y.Z-P && no-prerelease)
The correct expansion is:
<X.Y.0 || (>=X.Y.0-* && <X.Y.Z-P)
Closes #86.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,13 @@ ChangeLog 2.8.3 (unreleased) ------------------ -- Nothing changed yet. +*New:* + - Add `Clause.prettyprint()` for debugging + +*Bugfix:* + + * `#86 <https://github.com/rbarrois/python-semanticversion/issues/86>`_: + Fix handling of prerelease ranges within `NpmSpec` 2.8.2 (2019-09-06) |