Releases: mkdocstrings/griffe
Releases · mkdocstrings/griffe
0.38.0
0.37.0
0.37.0 - 2023-11-12
Deprecations
- The loader
load_module
method was renamedload
,
Itsmodule
parameter was renamedobjspec
and is now positional-only.
This method always returned the specified object, not just modules,
so it made more sense to rename itload
and to rename the parameter
specifying the object. Old usages (load_module
andmodule=...
)
will continue to work for some time (a few months, a year, more),
and will emit deprecation warnings.
Features
- Add option to warn about unknown parameters in Sphinx docstrings (8b11d77 by Ashwin Vinod). Issue #64, PR #210, Co-authored-by: Timothée Mazzucotelli pawamoy@pm.me
- Add
on_package_loaded
event (a5cf654 by Timothée Mazzucotelli). - Add option to find, load and merge stubs-only packages (6e55f3b by Romain). PR #221, Co-authored-by: Timothée Mazzucotelli pawamoy@pm.me
Bug Fixes
- Report attributes who lost their value as "unset" (dfffa4b by Geethakrishna-Puligundla). Issue #218, PR #225
- Don't crash when computing MRO for a class that is named after its parent (a2dd8a6 by Timothée Mazzucotelli).
Code Refactoring
- Rename loader
load_module
method toload
(2bfe206 by Timothée Mazzucotelli).
0.36.9
0.36.9 - 2023-10-27
Bug Fixes
- Fix accessing alias members with
__getitem__
(8929409 by Timothée Mazzucotelli). Issue mkdocstrings-python#111
Code Refactoring
- Expose parser enuemration and parser functions in top-level module (785baa0 by Timothée Mazzucotelli).
0.36.8
0.36.8 - 2023-10-25
Bug Fixes
- Use already parsed docstring sections when dumping full data (311807b by Timothée Mazzucotelli). Discussion griffe-typingdoc#6
0.36.7
0.36.6
0.36.5
0.36.5 - 2023-10-09
Bug Fixes
- Force extension import path to be a string (coming from MkDocs'
!relative
tag) (34e21a9 by Timothée Mazzucotelli). - Fix crash when trying to get a decorator callable path (found thanks to pysource-codegen) (e57f08e by Timothée Mazzucotelli).
- Fix crash when trying to get docstring after assignment (found thanks to pysource-codegen) (fb0a0c1 by Timothée Mazzucotelli).
- Fix type errors in expressions and value extractor, don't pass duplicate arguments (found thanks to pysource-codegen) (7e53288 by Timothée Mazzucotelli).
0.36.4
0.36.3
0.36.3 - 2023-09-28
Bug Fixes
- Fix parsing of choices in Numpy parameters (5f2d997 by Timothée Mazzucotelli). Issue #212
Code Refactoring
- Add
repr
methods to function parameters (9442234 by Timothée Mazzucotelli).