Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build 3.0.2 release of semver #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
=============

Expand Down
2 changes: 0 additions & 2 deletions changelog.d/432.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/pr417.feature.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.d/pr418.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/pr420.trivial.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/pr421.trivial.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/pr426.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/pr431.doc.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/usage/semver-version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion src/semver/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"""

#: Semver version
__version__ = "3.0.1"
__version__ = "3.0.2"

#: Original semver author
__author__ = "Kostiantyn Rybnikov"
Expand Down