Skip to content

Releases: mkdocstrings/griffe

0.38.0

13 Nov 15:53
Compare
Choose a tag to compare

0.38.0 - 2023-11-13

Compare with 0.37.0

Features

  • Allow passing load parameters to the temporary package visit helper (3a7854f by Timothée Mazzucotelli).

0.37.0

12 Nov 17:51
Compare
Choose a tag to compare

0.37.0 - 2023-11-12

Compare with 0.36.9

Deprecations

  • The loader load_module method was renamed load,
    Its module parameter was renamed objspec and is now positional-only.
    This method always returned the specified object, not just modules,
    so it made more sense to rename it load and to rename the parameter
    specifying the object. Old usages (load_module and module=...)
    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 to load (2bfe206 by Timothée Mazzucotelli).

0.36.9

26 Oct 22:38
Compare
Choose a tag to compare

0.36.9 - 2023-10-27

Compare with 0.36.8

Bug Fixes

Code Refactoring

  • Expose parser enuemration and parser functions in top-level module (785baa0 by Timothée Mazzucotelli).

0.36.8

25 Oct 17:29
Compare
Choose a tag to compare

0.36.8 - 2023-10-25

Compare with 0.36.7

Bug Fixes

0.36.7

17 Oct 12:47
Compare
Choose a tag to compare

0.36.7 - 2023-10-17

Compare with 0.36.6

Bug Fixes

  • Add missing proxies (methods/properties) to aliases (7320640 by Timothée Mazzucotelli).

Code Refactoring

  • Use final target in alias proxies (731d662 by Timothée Mazzucotelli).

0.36.6

16 Oct 16:10
Compare
Choose a tag to compare

0.36.6 - 2023-10-16

Compare with 0.36.5

Code Refactoring

  • Only consider presence/absence for docstrings truthiness, not emptiness of their value (4c49611 by Timothée Mazzucotelli).

0.36.5

09 Oct 12:18
Compare
Choose a tag to compare

0.36.5 - 2023-10-09

Compare with 0.36.4

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

28 Sep 14:46
Compare
Choose a tag to compare

0.36.4 - 2023-09-28

Compare with 0.36.3

Bug Fixes

  • Fix visiting relative imports in non-init modules (c1138c3 by Timothée Mazzucotelli).

0.36.3

28 Sep 13:29
Compare
Choose a tag to compare

0.36.3 - 2023-09-28

Compare with 0.36.2

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).

0.36.2

10 Sep 16:20
Compare
Choose a tag to compare

0.36.2 - 2023-09-10

Compare with 0.36.1

Bug Fixes

  • Fix warnings for docstrings in builtin modules (6ba3e04 by Timothée Mazzucotelli).
  • Fix dumping filepath to a dict when it is a list (066a4a7 by davfsa). PR #207