Debian Codegraph @

CHANGELOG

raw
1 6.0.1 (Mar 26, 2023)
2 --------------------
3
4 - Prevent tomllib error when the `toml` module is not available
5
6 6.0.0 (Mar 26, 2023)
7 --------------------
8
9 - Fix typo in changelog, by @cclauss: #229
10 - Add support for `match` pattern in Python 3.10+, by @DolajoCZ: #227
11 - Fix typo in Markdown export, reported by @huornlmj: #231
12 - Remove unnecessary "future" dependency, by @mgorny: #234
13 - Add `pyproject.toml` support, by @ajslater: #236
14 - Allow Mando v0.7.1, by @ajslater: #237
15 - Fix HCHarvester JSON results format, by @benabel: #240
16
17 5.1.0 (Aug 08, 2021)
18 --------------------
19
20 - Allow forcing colored output on/off, thanks @msabramo: #218
21 - Synchronize trove classifiers with tested versions, thanks @D3X: #222
22
23 5.0.1 (Jun 08, 2021)
24 --------------------
25
26 - Drop support for flake8 < 3.x (removes `flake8-polyfill` dependency), by
27 @joxl: #219
28
29 4.5.2 (May 23, 2021)
30 --------------------
31
32 - Add back `flake8-polyfill` dependency because conditional extra does not work
33 as intended, reported by @joxl: #217
34
35 4.5.1 (May 09, 2021)
36 --------------------
37
38 - Fix CC calculation for try-except-else blocks with multiple statements,
39 thanks @justWerns: #212
40 - Fix CC type field in Markdown output, thanks @4l1fe: #213
41
42 4.5.0 (Mar 09, 2021)
43 --------------------
44
45 - Add ``--md`` option to ``cc`` command to export results as Markdown (thanks
46 to @kanekotic): #205
47 - Add async function support to Halstead visitor (thanks to @rharish101): #208
48
49 4.4.0 (Mar 07, 2021)
50 --------------------
51
52 - Use utf-8 as the default encoding on Python 3.0+: #203
53 - Allow custom config file path through the RADONCFG env var: #207
54
55 4.3.2 (Sep 18, 2020)
56 --------------------
57
58 - Move `Flake8Checker` to separate, isolated module (thanks to @tribals): #200
59
60 4.3.1 (Sep 12, 2020)
61 --------------------
62
63 - Separate `flake8-polyfill` to extra requirements (thanks to @tribals): #189
64
65 4.2.0 (Jan 28, 2020)
66 --------------------
67
68 - Fix for Python 2.7 (thanks to @edwinelisia): #191
69 - Pin Colorama to different versions depending on the Python version (thanks to
70 @douardda): #193
71
72 4.1.0 (Jan 28, 2020)
73 --------------------
74
75 - Support Python 3.8 (thanks to @brnsnt): #185
76
77 4.0.0 (Sep 19, 2019)
78 --------------------
79
80 - Support file configuration overrides, thanks @tonybaloney: #179
81 - Add support for analyzing Jupyter notebooks, thanks @tonybaloney: #181
82
83 3.0.1 (Feb 03, 2019)
84 --------------------
85
86 - Automatically exclude binary files, instead of producing an error: #166
87
88 3.0.0 (Jan 26, 2019)
89 --------------------
90
91 - Include files with no extension but a Python shebang (thanks @hawkeyej): #155
92 - Fix calculation of total complexity for classes: #156
93 - Update Colorama dependency to avoid conflicts with pytest: #164
94 - Fix raw metrics, which were completely broken
95
96 2.4.0 (Oct 11, 2018)
97 --------------------
98
99 - Add a `__main__` module (thanks @douardda): #153
100 - Add --output-file option (thanks @douardda): #154
101
102 2.3.1 (Oct 02, 2018)
103 --------------------
104
105 - Quickfix for Python 2.7
106 - Add official Python 3.7 support
107
108 2.3.0 (Oct 02, 2018)
109 --------------------
110
111 - Add Halstead command and harvester (thanks @rwbogl): #136
112 - Add --json, --exclude, --ignore to `radon hal` (thanks @rwbogl): #138
113 - Add --functions to `radon hal` (thanks @rwbogl): #147
114 - Add documentation for the `radon hal` subcommand (thanks @rwbogl): #150
115
116 2.2.0 (Jan 11, 2018)
117 --------------------
118
119 - Add an option to show closures when Radon is used from flake8: #135
120
121 2.1.1 (Sep 07, 2017)
122 --------------------
123
124 - Fix critical bug in Python 2 that prevented analysis of files with no
125 comments at the start of the module: #133
126
127 2.0.3 (Aug 30, 2017)
128 --------------------
129
130 - Fix encoding issues for all commands: #115 and #127
131
132 2.0.2 (Jun 04, 2017)
133 --------------------
134
135 - Update mando dependency: #120
136
137 2.0.1 (Jun 02, 2017)
138 --------------------
139
140 - Fix bug in the error message of Flake8's plugin: #121
141
142 2.0.0 (May 30, 2017)
143 --------------------
144
145 - Add ``--sort`` option to ``mi`` command: #100
146 - Add comment stats summary when using the ``-s, --summary`` option of the
147 ``raw`` command: #110
148 - Fix encoding bug: #114
149 - Fix raw metrics (ensure that LOC = SLOC + Multi + Single Comments + Blank):
150 #118
151 - Python 2.6 is not supported anymore
152
153
154 1.5.0 (Mar 14, 2017)
155 --------------------
156
157 - Use UTF-8 or RADONFILESENCODING to open files: #86
158 - Fix raw analysis bug on docstrings: #106
159
160 1.4.2 (Jul 26, 2016)
161 --------------------
162
163 - Use flake8-polyfill in order to keep compatibility with Flake8 2.x and 3.x:
164 #92
165
166 1.4.0 (Jun 03, 2016)
167 --------------------
168
169 - Add fingerprint to Code Climate issues: #88.
170 - Ensure the Code Climate issues have integer location values: #89.
171 - Count ``async def``, ``async for`` and ``async with`` towards CC: #90.
172
173 1.3.0 (Mar 02, 2016)
174 --------------------
175
176 - Modify behaviour of ``--show-closures``. Now inner classes are added to the
177 output as well: #79.
178 - Fix bug in ``is_multiline_string``: #81.
179
180 1.2.2 (Jul 09, 2015)
181 --------------------
182
183 - Add plugin for flake8 tool: #76.
184
185 1.2.1 (May 07, 2015)
186 --------------------
187
188 - The XML output now contains the line numbers: #75.
189
190 1.2 (Jan 16, 2015)
191 ------------------
192
193 - **Backwards incompatible** change regarding to CC of lambda functions and
194 nested functions: #68.
195 - Fix the bug that caused classes with only one method have a CC of 2: #70.
196
197 1.1 (Sep 6, 2014)
198 -----------------
199
200 - Make `-n, --min` and `-x, --max` effective everywhere (in JSON and XML
201 exporting too): #62.
202 - Fix the bug that prevented JSON/XML export when one file had errors during
203 the analysis: #63.
204 - Add an explanations and various examples to the docs so that programmatical
205 use of Radon is easier: #64.
206
207 1.0 (Aug 15, 2014)
208 ------------------
209
210 - Add ``--xml`` option to `cc` command: #49.
211 - Officially support Python 3.4.
212 - Remove pathfinder: #59.
213 - Reduce drastically unit-testing time: #56.
214 - Update documentation (http://radon.readthedocs.org/en/latest/): #60.
215
216 0.5.3 (Aug 1, 2014)
217 -------------------
218
219 - Encode the source code to bytes if that's possible (Python 3).
220 - Show help if no command is given.
221 - Add support to read code from stdin (thanks @io41): #55.
222 - Move the tests inside the radon directory: #58.
223
224 0.5.2 (Jul 24, 2014)
225 --------------------
226
227 - Fix `while ... else` bug: #53.
228
229 0.5.1 (Mar 4, 2014)
230 -------------------
231
232 - Fix `--total-average` behavior.
233
234 0.5 (Feb 17, 2014)
235 ------------------
236
237 - Add `-i, --ignore` option to ignore directories: #39.
238 - Add `--no-assert` option to `cc` command to avoid `assert` statements: #42.
239 - Add `-j, --json` option to `raw` command (thanks @cjav): #45.
240 - Add `--total-average` option to `cc` command: #44.
241 - Add `--version` global option: #47.
242
243 0.4.5 (Dec 16, 2013)
244 --------------------
245
246 - Baker is replaced with mando: https://github.com/rubik/mando.
247
248 0.4.4 (Nov 20, 2013)
249 --------------------
250
251 - Add `-j` option to `cc` command: #33.
252 - Use pathfinder and improve `iter_filenames`: #31.
253 - Complete the documentation: #18.
254 - Add `-s, --summarize` option to `raw` command (thanks @jsargiot): #36.
255
256 0.4.2 (Jun 25, 2013)
257 --------------------
258
259 - `raw` command failed on almost-empty files: #29.
260
261 0.4.1 (Jun 16, 2013)
262 --------------------
263
264 - Turn off colors when not printing to a tty (thanks @kennknowles): #26.
265 - Fixed #27 (`endline` could be `float('-inf')` sometimes).
266
267
268 0.4 (Apr 26, 2013)
269 ------------------
270
271 - Added `-s` option to `mi` command: #19.
272 - Added `-o` option to `cc` command to sort output: #20.
273 - Added `endline` attribute to `Function` and `Class` objects: #25.
274
275
276
277 0.3 (Nov 2, 2012)
278 -----------------
279
280 - Code coverage to 100%, runs from Python 2.6 up to 3.3 and on PyPy as well.
281 - Created a documentation at https://radon.readthedocs.org\: #5.
282 - Made the codebase compatible with PyPy: #9.
283 - Ported cli.py to Python 3: #14.
284 - More tests: #15.
285 - Minor fixes: #11, #12, #13, #17.
286
287
288 0.2 (Oct 11, 2012)
289 ------------------
290
291 Initial version.
292
293
294 0.1 (Never)
295 -----------
296
297 There was no 0.1.