summaryrefslogtreecommitdiff
path: root/docs/reference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference.rst')
-rw-r--r--docs/reference.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index a645c1f..358b2c0 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -277,6 +277,11 @@ This means that::
.. note:: python-semanticversion also accepts ``"*"`` as a version spec,
that matches all (valid) version strings.
+.. note:: python-semanticversion supports PyPI-style `compatible release clauses`_:
+
+ * ``~=2.2`` means "Any release between 2.2.0 and 3.0.0"
+ * ``~=1.4.5`` means "Any release between 1.4.5 and 1.5.0"
+
.. note:: python-semanticversion includes support for NPM-style specs:
* ``~1.2.3`` means "Any release between 1.2.3 and 1.3.0"
@@ -568,3 +573,4 @@ rules apply:
.. _SemVer: http://semver.org/
+.. _`compatible release clauses`: https://www.python.org/dev/peps/pep-0440/#compatible-release