Skip to content

Commit 8293ee0

Browse files
authored
Merge pull request #348 from tomschr/release/3.0.0-dev.3
Release/3.0.0-dev.3
2 parents dd8f5f3 + 47f9f34 commit 8293ee0

14 files changed

+137
-83
lines changed

CHANGELOG.rst

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,91 @@ in our repository.
1717
.. towncrier release notes start
1818
1919
20+
Version 3.0.0-dev.3
21+
===================
22+
23+
:Released: 2022-01-19
24+
:Maintainer: Tom Schraitle
25+
26+
27+
Bug Fixes
28+
---------
29+
30+
* :gh:`310`: Rework API documentation.
31+
Follow a more "semi-manual" attempt and add auto directives
32+
into :file:`docs/api.rst`.
33+
34+
35+
36+
Improved Documentation
37+
----------------------
38+
39+
* :gh:`312`: Rework "Usage" section.
40+
41+
* Mention the rename of :class:`~semver.version.VersionInfo` to
42+
:class:`~semver.version.Version` class
43+
* Remove semver. prefix in doctests to make examples shorter
44+
* Correct some references to dunder methods like
45+
:func:`~.semver.version.Version.__getitem__`,
46+
:func:`~.semver.version.Version.__gt__` etc.
47+
* Remove inconsistencies and mention module level function as
48+
deprecated and discouraged from using
49+
* Make empty :py:func:`super` call in :file:`semverwithvprefix.py` example
50+
51+
* :gh:`315`: Improve release procedure text
52+
53+
54+
55+
Trivial/Internal Changes
56+
------------------------
57+
58+
* :gh:`309`: Some (private) functions from the :mod:`semver.version`
59+
module has been changed.
60+
61+
The following functions got renamed:
62+
63+
* function ``semver.version.comparator`` got renamed to
64+
:func:`semver.version._comparator` as it is only useful
65+
inside the :class:`~semver.version.Version` class.
66+
* function ``semver.version.cmp`` got renamed to
67+
:func:`semver.version._cmp` as it is only useful
68+
inside the :class:`~semver.version.Version` class.
69+
70+
The following functions got integrated into the
71+
:class:`~semver.version.Version` class:
72+
73+
* function ``semver.version._nat_cmd`` as a classmethod
74+
* function ``semver.version.ensure_str``
75+
76+
* :gh:`313`: Correct :file:`tox.ini` for ``changelog`` entry to skip
77+
installation for semver. This should speed up the execution
78+
of towncrier.
79+
80+
* :gh:`316`: Comparisons of :class:`~semver.version.Version` class and other
81+
types return now a :py:const:`NotImplemented` constant instead
82+
of a :py:exc:`TypeError` exception.
83+
84+
The `NotImplemented`_ section of the Python documentation recommends
85+
returning this constant when comparing with ``__gt__``, ``__lt__``,
86+
and other comparison operators to "to indicate that the operation is
87+
not implemented with respect to the other type".
88+
89+
.. _NotImplemented: https://docs.python.org/3/library/constants.html#NotImplemented
90+
91+
* :gh:`319`: Introduce stages in :file:`.travis.yml`
92+
The config file contains now two stages: check and test. If
93+
check fails, the test stage won't be executed. This could
94+
speed up things when some checks fails.
95+
96+
* :gh:`322`: Switch from Travis CI to GitHub Actions.
97+
98+
* :gh:`347`: Support Python 3.10 in GitHub Action and other config files.
99+
100+
101+
102+
----
103+
104+
20105
Version 3.0.0-dev.2
21106
===================
22107

changelog.d/309.trivial.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

changelog.d/310.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/312.doc.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

changelog.d/313.trivial.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/316.trivial.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

changelog.d/319.trivial.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog.d/322.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/347.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Getting the Version of semver
2626
To know the version of semver itself, use the following construct::
2727

2828
>>> semver.__version__
29-
'3.0.0-dev.2'
29+
'3.0.0-dev.3'
3030

3131

3232
Creating a Version

0 commit comments

Comments
 (0)