Releases: mkdocstrings/griffe
Releases · mkdocstrings/griffe
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
0.40.0
0.40.0 - 2024-01-30
Features
0.39.1
0.39.1 - 2024-01-18
Bug Fixes
- De-duplicate search paths in finder as they could lead to the same modules being yielded twice or more when scanning namespace packages (80a158a by Timothée Mazzucotelli).
- Fix logic for skipping already encountered modules when scanning namespace packages (21a48d0 by Timothée Mazzucotelli). Issue mkdocstrings#646
0.39.0
0.39.0 - 2024-01-16
Features
- Support editable installs dynamically exposing modules from other directories (2c4ba75 by Timothée Mazzucotelli). Issue #229
- Support meson-python editable modules (9123897 by Timothée Mazzucotelli).
- Support admonitions in Numpydoc docstrings (1e311a4 by Michael Chow). Issue #214, PR #219, Co-authored-by: Timothée Mazzucotelli pawamoy@pm.me
- Expose module properties on all objects (123f8c5 by Timothée Mazzucotelli). Issue #226
Bug Fixes
- Consider space-only lines to be empty, never break Numpydoc sections on blank lines (8c57354 by Timothée Mazzucotelli). PR #220, Related to PR #219, Numpydoc discussion
- Allow merging stubs into alias targets (3cf7958 by Timothée Mazzucotelli).
- Insert the right directory in front of import paths before inspecting a module (dynamically imported) (7d75c71 by Timothée Mazzucotelli).
Code Refactoring
- Set lineno to 0 for removed objects when checking API (b660c34 by Timothée Mazzucotelli).
- Prepare support for new output formats (styles) of the check command (f2ece1e by Timothée Mazzucotelli).
- Transform finder's package and namespace package classes into dataclasses (16be6a4 by Timothée Mazzucotelli).
0.38.1
0.38.1 - 2023-12-06
Bug Fixes
- Support absolute Windows paths for extensions (4e67d8f by Timothée Mazzucotelli). Issue mkdocstrings-python#116