Skip to content

Releases: mkdocstrings/griffe

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

0.41.0

26 Feb 15:46
Compare
Choose a tag to compare

0.41.0 - 2024-02-26

Compare with 0.40.1

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 and yield 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

08 Feb 15:17
Compare
Choose a tag to compare

0.40.1 - 2024-02-08

Compare with 0.40.0

Bug Fixes

  • Don't return properties as parameters of dataclasses (5a5c03b by Timothée Mazzucotelli). Issue #232