@@ -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+
20105Version 3.0.0-dev.2
21106===================
22107
0 commit comments