Skip to content

Releases: mkdocstrings/griffe

0.45.1

18 May 20:15
Compare
Choose a tag to compare

0.45.1 - 2024-05-18

Compare with 0.45.0

Bug Fixes

  • Fix loading of importable modules thanks to their __path__ attribute (56f5363 by Timothée Mazzucotelli). Issue-269

0.45.0

12 May 15:41
Compare
Choose a tag to compare

0.45.0 - 2024-05-12

Compare with 0.44.0

Features

  • Implement -x, --force-inspection CLI option (776063d by Timothée Mazzucotelli).
  • Implement force_inspection option in the loader API (3266f22 by Timothée Mazzucotelli).
  • Support inspecting packages (__init__ modules) (3f74f67 by Timothée Mazzucotelli).
  • Add parameters for resolving aliases to load functions (e418dee by Timothée Mazzucotelli).
  • Load private sibling modules by default when resolving aliases (4806189 by Timothée Mazzucotelli).

Bug Fixes

  • Pass down modules collection when inspecting (bc0f74b by Timothée Mazzucotelli).
  • Catch loading errors when loading additional modules during wildcard expansion and alias resolution (964e0d2 by Timothée Mazzucotelli).

Code Refactoring

  • Improve stats code and performance (eeb497f by Timothée Mazzucotelli).
  • Recurse immediately into non-discoverable submodules (no path on disk) during dynamic analysis (d0b7a1d by Timothée Mazzucotelli).
  • Simplify the code that checks if an object should be aliased or not during dynamic analysis (fc794c2 by Timothée Mazzucotelli).
  • Avoid side-effect in inspector by checking early if an object is a cached property (a6bfcfd by Timothée Mazzucotelli).

0.44.0

19 Apr 09:38
Compare
Choose a tag to compare

0.44.0 - 2024-04-19

Compare with 0.43.0

Features

  • Add resolved property on expression names, returning the corresponding Griffe object (9b5ca45 by Timothée Mazzucotelli).

Bug Fixes

  • Fix enumeration properties on expression names (6f22256 by Timothée Mazzucotelli).

0.43.0

18 Apr 13:16
Compare
Choose a tag to compare

0.43.0 - 2024-04-18

Compare with 0.42.2

Features

0.42.2

15 Apr 17:14
Compare
Choose a tag to compare

0.42.2 - 2024-04-15

Compare with 0.42.1

Bug Fixes

  • Fix target path of aliases for multipart imports (import a.b.c as x) (ee27ad9 by Timothée Mazzucotelli). Issue-259

0.42.1

19 Mar 17:12
Compare
Choose a tag to compare

0.42.1 - 2024-03-19

Compare with 0.42.0

Bug Fixes

  • Don't return class variables as parameters of dataclasses (2729c22 by Hassan Kibirige). PR-253
  • Don't turn items annotated as InitVar into dataclass members (6835ea3 by Hassan Kibirige). PR-252

0.42.0

11 Mar 18:25
Compare
Choose a tag to compare

0.42.0 - 2024-03-11

Compare with 0.41.3

Features

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

  • Warn (debug) when a submodule shadows a member with the same name (cdc9e1c by Timothée Mazzucotelli). Issue-124

0.41.3

04 Mar 18:10
Compare
Choose a tag to compare

0.41.3 - 2024-03-04

Compare with 0.41.2

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

03 Mar 15:06
Compare
Choose a tag to compare

0.41.2 - 2024-03-03

Compare with 0.41.1

Bug Fixes

0.41.1

01 Mar 13:44
Compare
Choose a tag to compare

0.41.1 - 2024-03-01

Compare with 0.41.0

Deprecations

  • The load_git function moved from griffe.git to griffe.loader.
    It is still importable from griffe.git, but will emit a deprecation warning.

Code Refactoring

  • Expose Git utilities, move load_git into the loader module (327cc5b by Timothée Mazzucotelli).