summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-24 00:08:16 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-26 21:34:44 +0200
commit7688b54c4a6005a75301a2e6a477f402311a6a2d (patch)
tree842637245bc856b4dcca385d8a02aa3521590b16 /ChangeLog
parentc4c6ab0e925d8cfabb68d34a10a783cb854b63a0 (diff)
downloadsemantic-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--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ef6048..31ee8aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)