diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-24 00:08:16 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-26 21:34:44 +0200 |
commit | 7688b54c4a6005a75301a2e6a477f402311a6a2d (patch) | |
tree | 842637245bc856b4dcca385d8a02aa3521590b16 /ChangeLog | |
parent | c4c6ab0e925d8cfabb68d34a10a783cb854b63a0 (diff) | |
download | semantic-version-7688b54c4a6005a75301a2e6a477f402311a6a2d.tar.gz |
Add deprecations for Spec/SpecItem.
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,11 +10,17 @@ ChangeLog (``Version(major=1, minor=2, patch=3)``) * Add ``Version.truncate()`` to build a truncated copy of a ``Version`` * Add ``NpmSpec(...)``, following strict NPM matching rules (https://docs.npmjs.com/misc/semver) + * Add ``Spec.parse('xxx', syntax='<syntax>')`` for simpler multi-syntax support *Bugfix:* * Fix inconsistent behaviour regarding versions with a prerelease specification. +*Deprecated:* + + * Deprecate the ``Spec`` class (Removed in 3.1); use the ``SimpleSpec`` class instead + * Deprecate the internal ``SpecItem`` class (Removed in 3.0). + *Removed:* * Remove support for Python2 (End of life 4 months after this release) |