|
1 |
| -1.11.1 |
2 |
| -====== |
| 1 | +**1.11.1** |
3 | 2 |
|
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) |
6 | 5 |
|
| 6 | +**1.11.0** |
7 | 7 |
|
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 |
10 | 13 |
|
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** |
16 | 15 |
|
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 |
22 | 17 | a ``name`` property
|
23 | 18 |
|
| 19 | +**1.10.2** |
24 | 20 |
|
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 |
30 | 22 |
|
31 |
| -1.10.1 |
32 |
| -====== |
| 23 | +**1.10.1** |
33 | 24 |
|
34 |
| -* Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``) |
| 25 | +- Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``) |
35 | 26 |
|
| 27 | +**1.10.0** |
36 | 28 |
|
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 |
41 | 30 | ``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 |
44 | 32 |
|
45 |
| -1.9.0 |
46 |
| -===== |
| 33 | +**1.9.0** |
47 | 34 |
|
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 |
54 | 41 | (e.g. ``Dict[~KT, ~VT]``)
|
55 | 42 |
|
56 | 43 | .. _typing_extensions: https://pypi.org/project/typing-extensions/
|
57 | 44 |
|
| 45 | +**1.8.0** |
58 | 46 |
|
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 |
63 | 48 | 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+ |
69 | 53 |
|
70 |
| -1.7.0 |
71 |
| -===== |
| 54 | +**1.7.0** |
72 | 55 |
|
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) |
78 | 61 |
|
| 62 | +**1.6.0** |
79 | 63 |
|
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 |
84 | 65 | 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) |
88 | 68 |
|
89 |
| -1.5.2 |
90 |
| -===== |
| 69 | +**1.5.2** |
91 | 70 |
|
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 |
93 | 72 | annotations
|
94 | 73 |
|
| 74 | +**1.5.1** |
95 | 75 |
|
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 |
101 | 78 | ``builder-inited`` event
|
102 | 79 |
|
| 80 | +**1.5.0** |
103 | 81 |
|
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 |
108 | 83 | ``set_type_checking_flag`` option
|
109 | 84 |
|
| 85 | +**1.4.0** |
110 | 86 |
|
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 |
115 | 88 | 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 |
124 | 93 |
|
125 |
| -* Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR) |
| 94 | +**1.3.1** |
126 | 95 |
|
| 96 | +- Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR) |
127 | 97 |
|
128 |
| -1.3.0 |
129 |
| -===== |
| 98 | +**1.3.0** |
130 | 99 |
|
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 |
134 | 103 |
|
| 104 | +**1.2.5** |
135 | 105 |
|
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 |
140 | 107 | (thanks to Bruce Merry for the PR)
|
141 | 108 |
|
| 109 | +**1.2.4** |
142 | 110 |
|
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 |
148 | 113 | (thanks to Josiah Wolf Oberholtzer for the PR)
|
149 | 114 |
|
| 115 | +**1.2.3** |
150 | 116 |
|
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 |
156 | 118 |
|
157 |
| -1.2.2 |
158 |
| -===== |
| 119 | +**1.2.2** |
159 | 120 |
|
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 |
161 | 122 | domain of the project (thanks Monty Taylor)
|
162 | 123 |
|
| 124 | +**1.2.1** |
163 | 125 |
|
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` |
169 | 128 | (thanks Davis Kirkendall)
|
170 | 129 |
|
| 130 | +**1.2.0** |
171 | 131 |
|
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 |
180 | 137 | (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) |
199 | 140 |
|
200 |
| -* Fixed coroutine functions' signatures not being processed when using sphinxcontrib-asyncio |
| 141 | +**1.1.0** |
201 | 142 |
|
| 143 | +- Added proper support for ``typing.Tuple`` (pull request by Manuel Krebber) |
202 | 144 |
|
203 |
| -1.0.4 |
204 |
| -===== |
| 145 | +**1.0.6** |
205 | 146 |
|
206 |
| -* Fixed compatibility with Sphinx 1.4 |
| 147 | +- Fixed wrong placement of ``:rtype:`` if a multi-line ``:param:`` or a ``:returns:`` is used |
207 | 148 |
|
| 149 | +**1.0.5** |
208 | 150 |
|
209 |
| -1.0.3 |
210 |
| -===== |
| 151 | +- Fixed coroutine functions' signatures not being processed when using sphinxcontrib-asyncio |
211 | 152 |
|
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** |
214 | 154 |
|
| 155 | +- Fixed compatibility with Sphinx 1.4 |
215 | 156 |
|
216 |
| -1.0.2 |
217 |
| -===== |
| 157 | +**1.0.3** |
218 | 158 |
|
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 |
220 | 161 |
|
| 162 | +**1.0.2** |
221 | 163 |
|
222 |
| -1.0.1 |
223 |
| -===== |
| 164 | +- Fixed exception classes not being processed like normal classes |
224 | 165 |
|
225 |
| -* Fixed errors caused by forward references not being looked up with the right globals |
| 166 | +**1.0.1** |
226 | 167 |
|
| 168 | +- Fixed errors caused by forward references not being looked up with the right globals |
227 | 169 |
|
228 |
| -1.0.0 |
229 |
| -===== |
| 170 | +**1.0.0** |
230 | 171 |
|
231 |
| -* Initial release |
| 172 | +- Initial release |
0 commit comments