diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a773e1f3..2281f167 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,58 @@ This section covers the changes between major version 2 and version 3. .. towncrier release notes start +Version 3.0.2 +============= + +:Released: 2023-10-09 +:Maintainer: + + +Bug Fixes +--------- + +* :pr:`418`: Replace :class:`~collection.OrderedDict` with :class:`dict`. + + The dict datatype is ordered since Python 3.7. As we do not support + Python 3.6 anymore, it can be considered safe to avoid :class:`~collection.OrderedDict`. + Related to :gh:`419`. + +* :pr:`426`: Fix :meth:`~semver.version.Version.replace` method to use the derived class + of an instance instead of :class:`~semver.version.Version` class. + + + +Improved Documentation +---------------------- + +* :pr:`431`: Clarify version policy for the different semver versions (v2, v3, >v3) + and the supported Python versions. + +* :gh:`432`: Improve external doc links to Python and Pydantic. + + + +Features +-------- + +* :pr:`417`: Amend GitHub Actions to check against MacOS. + + + +Trivial/Internal Changes +------------------------ + +* :pr:`420`: Introduce :py:class:`~typing.ClassVar` for some :class:`~semver.version.Version` + class variables, mainly :data:`~semver.version.Version.NAMES` and some private. + +* :pr:`421`: Insert mypy configuration into :file:`pyproject.toml` and remove + config options from :file:`tox.ini`. + + + +---- + + Version 3.0.1 ============= diff --git a/changelog.d/432.doc.rst b/changelog.d/432.doc.rst deleted file mode 100644 index ab09b96c..00000000 --- a/changelog.d/432.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve external doc links to Python and Pydantic. - diff --git a/changelog.d/pr417.feature.rst b/changelog.d/pr417.feature.rst deleted file mode 100644 index c33a3704..00000000 --- a/changelog.d/pr417.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Amend GitHub Actions to check against MacOS. diff --git a/changelog.d/pr418.bugfix.rst b/changelog.d/pr418.bugfix.rst deleted file mode 100644 index 6f037102..00000000 --- a/changelog.d/pr418.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Replace :class:`~collection.OrderedDict` with :class:`dict`. - -The dict datatype is ordered since Python 3.7. As we do not support -Python 3.6 anymore, it can be considered safe to avoid :class:`~collection.OrderedDict`. -Related to :gh:`419`. diff --git a/changelog.d/pr420.trivial.rst b/changelog.d/pr420.trivial.rst deleted file mode 100644 index 234ecdbe..00000000 --- a/changelog.d/pr420.trivial.rst +++ /dev/null @@ -1,2 +0,0 @@ -Introduce :py:class:`~typing.ClassVar` for some :class:`~semver.version.Version` -class variables, mainly :data:`~semver.version.Version.NAMES` and some private. diff --git a/changelog.d/pr421.trivial.rst b/changelog.d/pr421.trivial.rst deleted file mode 100644 index b00b9e55..00000000 --- a/changelog.d/pr421.trivial.rst +++ /dev/null @@ -1,2 +0,0 @@ -Insert mypy configuration into :file:`pyproject.toml` and remove -config options from :file:`tox.ini`. diff --git a/changelog.d/pr426.bugfix.rst b/changelog.d/pr426.bugfix.rst deleted file mode 100644 index 2c2d0eac..00000000 --- a/changelog.d/pr426.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix :meth:`~semver.version.Version.replace` method to use the derived class -of an instance instead of :class:`~semver.version.Version` class. diff --git a/changelog.d/pr431.doc.rst b/changelog.d/pr431.doc.rst deleted file mode 100644 index ad54c962..00000000 --- a/changelog.d/pr431.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Clarify version policy for the different semver versions (v2, v3, >v3) -and the supported Python versions. diff --git a/docs/usage/semver-version.rst b/docs/usage/semver-version.rst index 0f2e2411..ac580f98 100644 --- a/docs/usage/semver-version.rst +++ b/docs/usage/semver-version.rst @@ -4,4 +4,4 @@ Getting the Version of semver To know the version of semver itself, use the following construct:: >>> semver.__version__ - '3.0.1' + '3.0.2' diff --git a/src/semver/__about__.py b/src/semver/__about__.py index 2eff8c86..a0d9cf90 100644 --- a/src/semver/__about__.py +++ b/src/semver/__about__.py @@ -16,7 +16,7 @@ """ #: Semver version -__version__ = "3.0.1" +__version__ = "3.0.2" #: Original semver author __author__ = "Kostiantyn Rybnikov"