Releases: mkdocstrings/griffe
Releases · mkdocstrings/griffe
0.44.0
0.43.0
0.43.0 - 2024-04-18
Features
- Add properties telling whether an expression name resolves to an enumeration class, instance or value (fdb21d9 by Timothée Mazzucotelli). Issue-mkdocstrings/python#124
0.42.2
0.42.2 - 2024-04-15
Bug Fixes
0.42.1
0.42.0
0.42.0 - 2024-03-11
Features
- Better support for dataclasses (82a9d57 by Timothée Mazzucotelli). Issue-33, Issue-34, Issue-38, Issue-39, PR-240
Bug Fixes
- Don't return properties as parameters of dataclasses (again) (8c48397 by Hassan Kibirige). Issue-232, PR-248
- Fix getting return type from parent property when parsing Sphinx docstrings (f314957 by Timothée Mazzucotelli). Issue-125
Code Refactoring
0.41.3
0.41.3 - 2024-03-04
Code Refactoring
- Catch index errors when finding top module in case of search path misconfiguration (46c56c7 by Timothée Mazzucotelli). Issue-#246
0.41.2
0.41.2 - 2024-03-03
Bug Fixes
- Fix discovery of packages in the current working directory (44f9617 by Timothée Mazzucotelli). Discussion-mkdocstrings#654
0.41.1
0.41.0
0.41.0 - 2024-02-26
Features
- Add option to append
sys.path
to search paths to the check command too (d153fa0 by Timothée Mazzucotelli).
Bug Fixes
- Special case NumpyDoc "warnings" and "notes" sections (plural) (3b47cdb by Ethan Henderson). PR #236
- Serialize line numbers even if zero (55e6e0e by Timothée Mazzucotelli).
- Fix handling of lambda expressions (598d08a by Timothée Mazzucotelli).
- Fix building expressions (and string values) for
yield
andyield from
statements (439f65e by Timothée Mazzucotelli). - Do not create aliases pointing to themselves (356305f by Timothée Mazzucotelli).
Code Refactoring
- Remove
get_call_keyword_arguments
utility function, as it is implemented with a single line and creates a cyclic depdendency with expressions (35cf170 by Timothée Mazzucotelli). - Further prevent cyclic dependency between node utils and expressions (9614c83 by Timothée Mazzucotelli).
- Avoid cyclic dependency between node utils and expressions (aedf39c by Timothée Mazzucotelli).
- Move arguments node-parsing logic into its own module (used by visitor and lambda expressions) (ad68e65 by Timothée Mazzucotelli).
- Use canonical imports (3091660 by Timothée Mazzucotelli).
- Use
ast.unparse
instead of our own unparser (6fe1316 by Timothée Mazzucotelli). - Only return 0 for the line number of removed objects when the location is reworked as relative (3a4d054 by Timothée Mazzucotelli).
0.40.1
0.40.1 - 2024-02-08
Bug Fixes
- Don't return properties as parameters of dataclasses (5a5c03b by Timothée Mazzucotelli). Issue #232