Semantic-version

Latest version: v2.10.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

2.2.2

------------------

*Bugfix:*

* `5 <https://github.com/rbarrois/python-semanticversion/issues/5>`_: Fix packaging (broken
symlinks, old-style distutils, etc.)

2.2.1

------------------

*Bugfix:*

* `2 <https://github.com/rbarrois/python-semanticversion/issues/2>`_: Properly expose
:func:`~semantic_version.validate` as a top-level module function.

2.2.0

------------------

*Bugfix:*

* `1 <https://github.com/rbarrois/python-semanticversion/issues/1>`_: Allow partial
versions without minor or patch level

*New:*

* Add the :meth:`Version.coerce <semantic_version.Version.coerce>` class method to
:class:`~semantic_version.Version` class for mapping arbitrary version strings to
semver.
* Add the :func:`~semantic_version.validate` method to validate a version
string against the SemVer rules.
* Full Python3 support

2.1.2

------------------

*Bugfix:*

* Properly validate :class:`~semantic_version.django_fields.VersionField` and
:class:`~semantic_version.django_fields.SpecField`.

2.1.1

------------------

*New:*

* Add introspection rules for south

2.1.0

------------------

*New:*

* Add :func:`semantic_version.Spec.filter` (filter a list of :class:`~semantic_version.Version`)
* Add :func:`semantic_version.Spec.select` (select the highest
:class:`~semantic_version.Version` from a list)
* Update :func:`semantic_version.Version.__repr__`

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.