Skip to content

Commit 9d9530b

Browse files
committed
Changed changelog formatting to match my other projects
1 parent 2d058c6 commit 9d9530b

File tree

1 file changed

+97
-156
lines changed

1 file changed

+97
-156
lines changed

CHANGELOG.rst

Lines changed: 97 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -1,231 +1,172 @@
1-
1.11.1
2-
======
1+
**1.11.1**
32

4-
* Changed formatting of ``None`` to point to the Python stdlib docs (PR by Dominic Davis-Foster)
5-
* Updated special dataclass handling (PR by Lihu Ben-Ezri-Ravin)
3+
- Changed formatting of ``None`` to point to the Python stdlib docs (PR by Dominic Davis-Foster)
4+
- Updated special dataclass handling (PR by Lihu Ben-Ezri-Ravin)
65

6+
**1.11.0**
77

8-
1.11.0
9-
======
8+
- Dropped support for Sphinx < 3.0
9+
- Added support for alternative parameter names (``arg``, ``argument``, ``parameter``)
10+
- Fixed import path for Signature (PR by Matthew Treinish)
11+
- Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotation
12+
- Fixed data class displaying a return type in its ``__init__()`` method
1013

11-
* Dropped support for Sphinx < 3.0
12-
* Added support for alternative parameter names (``arg``, ``argument``, ``parameter``)
13-
* Fixed import path for Signature (PR by Matthew Treinish)
14-
* Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotation
15-
* Fixed data class displaying a return type in its ``__init__()`` method
14+
**1.10.3**
1615

17-
18-
1.10.3
19-
======
20-
21-
* Fixed ``TypeError`` (or wrong rendered class name) when an annotation is a generic class that has
16+
- Fixed ``TypeError`` (or wrong rendered class name) when an annotation is a generic class that has
2217
a ``name`` property
2318

19+
**1.10.2**
2420

25-
1.10.2
26-
======
27-
28-
* Fixed inner classes missing their parent class name(s) when rendered
29-
21+
- Fixed inner classes missing their parent class name(s) when rendered
3022

31-
1.10.1
32-
======
23+
**1.10.1**
3324

34-
* Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``)
25+
- Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``)
3526

27+
**1.10.0**
3628

37-
1.10.0
38-
======
39-
40-
* Rewrote the annotation formatting logic (fixes Python 3.5.2 compatibility regressions and an
29+
- Rewrote the annotation formatting logic (fixes Python 3.5.2 compatibility regressions and an
4130
``AttributeError`` regression introduced in v1.9.0)
42-
* Fixed decorator classes not being processed as classes
43-
31+
- Fixed decorator classes not being processed as classes
4432

45-
1.9.0
46-
=====
33+
**1.9.0**
4734

48-
* Added support for typing_extensions_
49-
* Added the ``typehints_document_rtype`` option (PR by Simon-Martin Schröder)
50-
* Fixed metaclasses as annotations causing ``TypeError``
51-
* Fixed rendering of ``typing.Literal``
52-
* Fixed OSError when generating docs for SQLAlchemy mapped classes
53-
* Fixed unparametrized generic classes being rendered with their type parameters
35+
- Added support for typing_extensions_
36+
- Added the ``typehints_document_rtype`` option (PR by Simon-Martin Schröder)
37+
- Fixed metaclasses as annotations causing ``TypeError``
38+
- Fixed rendering of ``typing.Literal``
39+
- Fixed OSError when generating docs for SQLAlchemy mapped classes
40+
- Fixed unparametrized generic classes being rendered with their type parameters
5441
(e.g. ``Dict[~KT, ~VT]``)
5542

5643
.. _typing_extensions: https://pypi.org/project/typing-extensions/
5744

45+
**1.8.0**
5846

59-
1.8.0
60-
=====
61-
62-
* Fixed regression which caused ``TypeError`` or ``OSError`` when trying to set annotations due to
47+
- Fixed regression which caused ``TypeError`` or ``OSError`` when trying to set annotations due to
6348
PR #87
64-
* Fixed unintentional mangling of annotation type names
65-
* Added proper ``:py:data`` targets for ``NoReturn``, ``ClassVar`` and ``Tuple``
66-
* Added support for inline type comments (like ``(int, str) -> None``) (PR by Bernát Gábor)
67-
* Use the native AST parser for type comment support on Python 3.8+
68-
49+
- Fixed unintentional mangling of annotation type names
50+
- Added proper ``:py:data`` targets for ``NoReturn``, ``ClassVar`` and ``Tuple``
51+
- Added support for inline type comments (like ``(int, str) -> None``) (PR by Bernát Gábor)
52+
- Use the native AST parser for type comment support on Python 3.8+
6953

70-
1.7.0
71-
=====
54+
**1.7.0**
7255

73-
* Dropped support for Python 3.4
74-
* Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
75-
* Fixed ``AttributeError`` when documenting the ``__init__()`` method of a data class
76-
* Added support for type hint comments (PR by Markus Unterwaditzer)
77-
* Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
56+
- Dropped support for Python 3.4
57+
- Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
58+
- Fixed ``AttributeError`` when documenting the ``__init__()`` method of a data class
59+
- Added support for type hint comments (PR by Markus Unterwaditzer)
60+
- Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
7861

62+
**1.6.0**
7963

80-
1.6.0
81-
=====
82-
83-
* Fixed ``TypeError`` when formatting annotations from a class that inherits from a concrete
64+
- Fixed ``TypeError`` when formatting annotations from a class that inherits from a concrete
8465
generic type (report and tests by bpeake-illuscio)
85-
* Added support for ``typing_extensions.Protocol`` (PR by Ian Good)
86-
* Added support for ``typing.NewType`` (PR by George Leslie-Waksman)
87-
66+
- Added support for ``typing_extensions.Protocol`` (PR by Ian Good)
67+
- Added support for ``typing.NewType`` (PR by George Leslie-Waksman)
8868

89-
1.5.2
90-
=====
69+
**1.5.2**
9170

92-
* Emit a warning instead of crashing when an unresolvable forward reference is encountered in type
71+
- Emit a warning instead of crashing when an unresolvable forward reference is encountered in type
9372
annotations
9473

74+
**1.5.1**
9575

96-
1.5.1
97-
=====
98-
99-
* Fixed escape characters in parameter default values getting lost during signature processing
100-
* Replaced use of the ``config-inited`` event (which inadvertently required Sphinx 1.8) with the
76+
- Fixed escape characters in parameter default values getting lost during signature processing
77+
- Replaced use of the ``config-inited`` event (which inadvertently required Sphinx 1.8) with the
10178
``builder-inited`` event
10279

80+
**1.5.0**
10381

104-
1.5.0
105-
=====
106-
107-
* The setting of the ``typing.TYPECHECKING`` flag is now configurable using the
82+
- The setting of the ``typing.TYPECHECKING`` flag is now configurable using the
10883
``set_type_checking_flag`` option
10984

85+
**1.4.0**
11086

111-
1.4.0
112-
=====
113-
114-
* The extension now sets ``typing.TYPECHECKING`` to ``True`` during setup to include conditional
87+
- The extension now sets ``typing.TYPECHECKING`` to ``True`` during setup to include conditional
11588
imports which may be used in type annotations
116-
* Fixed parameters with trailing underscores (PR by Daniel Knell)
117-
* Fixed KeyError with private methods (PR by Benito Palacios Sánchez)
118-
* Fixed deprecation warning about the use of formatargspec (PR by Y. Somda)
119-
* The minimum Sphinx version is now v1.7.0
120-
121-
122-
1.3.1
123-
=====
89+
- Fixed parameters with trailing underscores (PR by Daniel Knell)
90+
- Fixed KeyError with private methods (PR by Benito Palacios Sánchez)
91+
- Fixed deprecation warning about the use of formatargspec (PR by Y. Somda)
92+
- The minimum Sphinx version is now v1.7.0
12493

125-
* Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR)
94+
**1.3.1**
12695

96+
- Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR)
12797

128-
1.3.0
129-
=====
98+
**1.3.0**
13099

131-
* Fixed crash when processing docstrings from nested classes (thanks to dilyanpalauzov for the fix)
132-
* Added support for Python 3.7
133-
* Dropped support for Python 3.5.0 and 3.5.1
100+
- Fixed crash when processing docstrings from nested classes (thanks to dilyanpalauzov for the fix)
101+
- Added support for Python 3.7
102+
- Dropped support for Python 3.5.0 and 3.5.1
134103

104+
**1.2.5**
135105

136-
1.2.5
137-
=====
138-
139-
* Ensured that ``:rtype:`` doesn't get joined with a paragraph of text
106+
- Ensured that ``:rtype:`` doesn't get joined with a paragraph of text
140107
(thanks to Bruce Merry for the PR)
141108

109+
**1.2.4**
142110

143-
1.2.4
144-
=====
145-
146-
* Removed support for ``backports.typing`` as it has been removed from the PyPI
147-
* Fixed first parameter being cut out from class methods and static methods
111+
- Removed support for ``backports.typing`` as it has been removed from the PyPI
112+
- Fixed first parameter being cut out from class methods and static methods
148113
(thanks to Josiah Wolf Oberholtzer for the PR)
149114

115+
**1.2.3**
150116

151-
1.2.3
152-
=====
153-
154-
* Fixed `process_signature()` clobbering any explicitly overridden signatures from the docstring
155-
117+
- Fixed `process_signature()` clobbering any explicitly overridden signatures from the docstring
156118

157-
1.2.2
158-
=====
119+
**1.2.2**
159120

160-
* Explicitly prefix ``:class:``, ``:mod:`` et al with ``:py:``, in case ``py`` is not the default
121+
- Explicitly prefix ``:class:``, ``:mod:`` et al with ``:py:``, in case ``py`` is not the default
161122
domain of the project (thanks Monty Taylor)
162123

124+
**1.2.1**
163125

164-
1.2.1
165-
=====
166-
167-
* Fixed `ValueError` when `getargspec()` encounters a built-in function
168-
* Fixed `AttributeError` when `Any` is combined with another type in a `Union`
126+
- Fixed `ValueError` when `getargspec()` encounters a built-in function
127+
- Fixed `AttributeError` when `Any` is combined with another type in a `Union`
169128
(thanks Davis Kirkendall)
170129

130+
**1.2.0**
171131

172-
1.2.0
173-
=====
174-
175-
* Fixed compatibility with Python 3.6 and 3.5.3
176-
* Fixed ``NameError`` when processing signatures of wrapped functions with type hints
177-
* Fixed handling of slotted classes with no ``__init__()`` method
178-
* Fixed Sphinx warning about parallel reads
179-
* Fixed return type being added to class docstring from its ``__init__()`` method
132+
- Fixed compatibility with Python 3.6 and 3.5.3
133+
- Fixed ``NameError`` when processing signatures of wrapped functions with type hints
134+
- Fixed handling of slotted classes with no ``__init__()`` method
135+
- Fixed Sphinx warning about parallel reads
136+
- Fixed return type being added to class docstring from its ``__init__()`` method
180137
(thanks to Manuel Krebber for the patch)
181-
* Fixed return type hints of ``@property`` methods being omitted (thanks to pknight for the patch)
182-
* Added a test suite (thanks Manuel Krebber)
183-
184-
185-
1.1.0
186-
=====
187-
188-
* Added proper support for ``typing.Tuple`` (pull request by Manuel Krebber)
189-
190-
191-
1.0.6
192-
=====
193-
194-
* Fixed wrong placement of ``:rtype:`` if a multi-line ``:param:`` or a ``:returns:`` is used
195-
196-
197-
1.0.5
198-
=====
138+
- Fixed return type hints of ``@property`` methods being omitted (thanks to pknight for the patch)
139+
- Added a test suite (thanks Manuel Krebber)
199140

200-
* Fixed coroutine functions' signatures not being processed when using sphinxcontrib-asyncio
141+
**1.1.0**
201142

143+
- Added proper support for ``typing.Tuple`` (pull request by Manuel Krebber)
202144

203-
1.0.4
204-
=====
145+
**1.0.6**
205146

206-
* Fixed compatibility with Sphinx 1.4
147+
- Fixed wrong placement of ``:rtype:`` if a multi-line ``:param:`` or a ``:returns:`` is used
207148

149+
**1.0.5**
208150

209-
1.0.3
210-
=====
151+
- Fixed coroutine functions' signatures not being processed when using sphinxcontrib-asyncio
211152

212-
* Fixed "self" parameter not being removed from exception class constructor signatures
213-
* Fixed process_signature() erroneously removing the first argument of a static method
153+
**1.0.4**
214154

155+
- Fixed compatibility with Sphinx 1.4
215156

216-
1.0.2
217-
=====
157+
**1.0.3**
218158

219-
* Fixed exception classes not being processed like normal classes
159+
- Fixed "self" parameter not being removed from exception class constructor signatures
160+
- Fixed process_signature() erroneously removing the first argument of a static method
220161

162+
**1.0.2**
221163

222-
1.0.1
223-
=====
164+
- Fixed exception classes not being processed like normal classes
224165

225-
* Fixed errors caused by forward references not being looked up with the right globals
166+
**1.0.1**
226167

168+
- Fixed errors caused by forward references not being looked up with the right globals
227169

228-
1.0.0
229-
=====
170+
**1.0.0**
230171

231-
* Initial release
172+
- Initial release

0 commit comments

Comments
 (0)