Skip to content

Update dependency griffe to v1.15.0 - #442

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/griffe-1.x
Open

renovate[bot] wants to merge 1 commit into
developfrom
renovate/griffe-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
griffe (changelog) 1.1.1 → 1.15.0 age adoption passing confidence

Release Notes

mkdocstrings/griffe (griffe)

v1.15.0

Compare Source

Compare with 1.15.0

Breaking Changes

This version removes previously deprecated API:

  • ExportedName: Public object was removed
  • infer_docstring_style(options): Parameter was removed
  • parse_auto(options): Parameter was removed
  • parse_google(options): Parameter was removed
  • parse_numpy(options): Parameter was removed
  • parse_sphinx(options): Parameter was removed
  • assert_git_repo: Public object was removed
  • get_latest_tag: Public object was removed
  • get_repo_root: Public object was removed
  • tmp_worktree: Public object was removed
Features
  • Support merging overload annotations into implementation (584cdb5 by Timothée Mazzucotelli). Issue-442, PR-443
  • Add support for PEP 750 template strings (59266a9 by ellie). PR-440
Bug Fixes
Code Refactoring
Build
  • Declare tag pattern for uv-dynamic-versioning (no v prefix) (c869c97 by Timothée Mazzucotelli). Upstream-issue
  • Change build system to hatchling (09b0682 by Bartosz Sławecki). PR-430

v1.14.0

Compare Source

Compare with 1.14.0

Features
Bug Fixes
Code Refactoring
  • Update code base for Python 3.10 (37aaf06 by Timothée Mazzucotelli).
  • Improve handling of typed dicts (5bed1be by Timothée Mazzucotelli). Issue-284, Issue-mkdocstrings-python-207, PR-414
  • Reuse private method to append search path to reduce code duplication (0a82cf5 by Timothée Mazzucotelli).
  • Don't produce an empty text section when "parsing" an empty unstyled docstring (90bd71c by Timothée Mazzucotelli).
  • Don't produce empty text section when parsing an empty Google-style docstring (1cbf2a3 by Timothée Mazzucotelli).
  • Use plain ANSI codes, don't import them from Colorama (90978b4 by Timothée Mazzucotelli).

v1.13.0

Compare Source

Compare with 1.13.0

Deprecations
  • The on_alias event's signature changed from on_alias(self, *, node: AST | ObjectNode, alias: Alias, agent: Visitor | Inspector, **kwargs) (an [analysis event][analysis-events]) to on_alias(self, *, alias: Alias, loader: GriffeLoader, **kwargs) ([a load event][load-events]). Use the new signature, or rename your method to on_alias_instance to keep the old signature (on_alias_instance is a new analysis event that replaces the old on_alias one). Backward compatibility is maintained until next major version.
  • The on_wildcard_expansion event is deprecated. Instead, use the on_alias event, and check the [wildcard_imported][griffe.Alias.wildcard_imported] boolean attribute of aliases.
  • The on_package_loaded event is renamed to on_package. Backward compatibility is maintained until next major version.
  • The use of previously exposed Git-related utilities (assert_git_repo, get_repo_root, get_latest_tag and tmp_worktree) is deprecated, as they are not a core part of the library's functionality. These utilities are now part of our internal API.
Features
  • Add analysis attribute on objects and aliases, telling whether they were loaded through static or dynamic analysis, or created manually (d792a56 by Timothée Mazzucotelli).
  • Expose Git info in objects, allowing to compute a new source_link property (see [Source information][source-information] in our docs) (2a8d824 by Timothée Mazzucotelli). Issue-361, Issue-mkdocstrings-python-253
  • Add wildcard_imported boolean attribute to aliases, deprecate on_wildcard_expansion event (821300d by Timothée Mazzucotelli).
  • Add load events that run once a tree is fully constructed, matching analysis events but safer to hook onto (see [Load events][load-events] in our docs) (77f928a by Timothée Mazzucotelli). Issue-346
Code Refactoring
  • Provide typed dicts for docstring options (945880a by Timothée Mazzucotelli). Issue-370
  • Allow parenthesized type to be glued (no space) to parameter name in Google-style docstrings (4b6f939 by Timothée Mazzucotelli). Issue-375
  • Improve deprecation warnings for on_alias and on_package_loaded (d3e50db by Timothée Mazzucotelli).

v1.12.1

Compare Source

Compare with 1.12.1

Features
  • Add is_init_method property (5417b70 by Timothée Mazzucotelli).
Bug Fixes
  • Increase maximum recursion limit when calling as a CLI (5f0d9e6 by Timothée Mazzucotelli). Issue-402

v1.12.0

Compare Source

Compare with 1.12.0

Code Refactoring
  • Reduce size of JSON dumps by removing keys with null values (58227eb by Timothée Mazzucotelli). Issue-403
  • Add fields to aliases when serializing (5c9fee2 by Timothée Mazzucotelli).
  • Also add the option to ignore missing type to the Sphinx parser (8c9f803 by Timothée Mazzucotelli).

v1.11.1

Compare Source

Compare with 1.11.1

Features

v1.11.0

Compare Source

Compare with 1.11.0

Bug Fixes
  • Fix type parameters loading (ce41279 by Timothée Mazzucotelli).
Code Refactoring
  • Move private _griffe package under griffe._internal (8f37158 by Timothée Mazzucotelli).

v1.10.0

Compare Source

Compare with 1.10.0

Features
  • Add data to dict/json output (9731afc by Timothée Mazzucotelli).

v1.9.0

Compare Source

Compare with 1.9.0

Features
  • Allow adding sys.path to search paths when temporary visiting/inspecting package (42983bc by Timothée Mazzucotelli).

v1.8.0

Compare Source

Compare with 1.8.0

Features

v1.7.3

Compare Source

Compare with 1.7.3

Features
  • Add method to functions and classes to build and return a stringified signature (8ef1486 by ISOREX). Discussion-376, PR-381, Co-authored-by: Timothée Mazzucotelli dev@pawamoy.fr
  • Enhance Sphinx-style parameter parsing to handle invalid type info (cbce5a2 by Edouard Choinière). PR-396
  • Parse Sphinx parameter types as expressions (70dda21 by Edouard Choinière). PR-392
Bug Fixes
Code Refactoring
  • Be more consistent regarding not overriding submodules with aliases (be1963c by Timothée Mazzucotelli).
  • Allow ExprName.parent to be of type griffe.Function (acafbd8 by Edouard Choinière). Issue-391, PR-395
  • Normalize labels for attributes (1b376cd by Timothée Mazzucotelli).

v1.7.2

Compare Source

Compare with 1.7.2

Bug Fixes
  • Don't output color codes with GitHub format (2666399 by Timothée Mazzucotelli). Issue-378
Code Refactoring

v1.7.1

Compare Source

Compare with 1.7.1

Bug Fixes

v1.7.0

Compare Source

Compare with 1.7.0

Bug Fixes
  • Never raise alias resolution error when resolving a name from an __init__ method scope (949ff7d by Timothée Mazzucotelli). Issue-374

v1.6.3

Compare Source

Compare with 1.6.3

Dependencies
  • Remove dependency to astunparse (Python 3.8-) (fd052b1 by Timothée Mazzucotelli).
Features
  • Add warnings parameter to docstring parsers, allowing to disable all warning logs when parsing docstrings (7ac01ba by Timothée Mazzucotelli). Issue-293

v1.6.2

Compare Source

Compare with 1.6.2

Bug Fixes
Code Refactoring
  • Improve objects conversion to annotation during dynamic analysis (716d27b by Timothée Mazzucotelli). Issue-369

v1.6.1

Compare Source

Compare with 1.6.1

Code Refactoring
  • Maintain exports order (__all__) (ded36bf by Timothée Mazzucotelli).

v1.6.0

Compare Source

Compare with 1.6.0

Bug Fixes
  • Extend exports from already expanded modules (7e708cf by Timothée Mazzucotelli). Issue-746
  • Update imports when merging stubs (5a92379 by Timothée Mazzucotelli). Issue-746
  • Don't alias attributes when inspecting (8063ba9 by Timothée Mazzucotelli). Issue-366
  • Register top-module in collection earlier (2c389b5 by Timothée Mazzucotelli).
  • Prevent recursion errors by not looking into inherited members when resolving base classes (87cbaf8 by Timothée Mazzucotelli).

v1.5.7

Compare Source

Compare with 1.5.7

Features
  • Allow passing literal docstring styles everywhere in the API, not just Parser enumeration values (053bf20 by Timothée Mazzucotelli).
Bug Fixes

v1.5.6

Compare Source

Compare with 1.5.6

Bug Fixes
  • Don't conflate passed argument with class member (instance attribute) (4791b0b by Timothée Mazzucotelli). Issue-357

v1.5.5

Compare Source

Compare with 1.5.5

Bug Fixes
  • Handle get/set descriptor objects as properties during dynamic analysis (bc3c75a by Timothée Mazzucotelli). Issue-354
Code Refactoring
  • Remove Google parser support for Deprecated sections (previously never used) (425aece by Timothée Mazzucotelli).

v1.5.4

Compare Source

Compare with 1.5.4

Bug Fixes
  • Fix check command's Markdown output format not displaying parameter names (5e7af22 by Timothée Mazzucotelli).
  • Don't output empty change for removed objects when using GitHub output format (check command) (6842372 by Timothée Mazzucotelli). Issue-349

v1.5.3

Compare Source

Compare with 1.5.3

Bug Fixes
  • Append trailing comma to length-1 tuples (4fccca7 by Timothée Mazzucotelli). Issue-343
Performance Improvements
  • Avoid dictionary creation when accessing members of non-classes with subscript syntax (0279998 by Timothée Mazzucotelli).

v1.5.2

Compare Source

Compare with 1.5.2

Code Refactoring
  • Stop caching objects' inherited members, aliases' members and inherited members, classes' resolved bases (e8db3a2 by Timothée Mazzucotelli). Issue-346

v1.5.1

Compare Source

Compare with 1.5.1

Bug Fixes
  • Always resolve aliases when checking APIs (0b4f0da by Timothée Mazzucotelli).
  • Don't use same branch name when creating a worktree (6d6c996 by Timothée Mazzucotelli). Issue-337
  • Fetch attribute annotations from inherited members too when parsing docstrings (88fb6b6 by Timothée Mazzucotelli). Issue-mkdocstrings/python#175

v1.5.0

Compare Source

Compare with 1.5.0

Bug Fixes
  • Sort Git tags using creatordate field, which works with both lightweight and annotated tags (3bfa401 by Timothée Mazzucotelli). Issue-327

v1.4.1

Compare Source

Compare with 1.4.1

Features
  • Allow setting and deleting parameters within container (19f354d by Timothée Mazzucotelli).

v1.4.0

Compare Source

Compare with 1.4.0

Code Refactoring
  • Drop support for Python 3.8 (f2d39b8 by Timothée Mazzucotelli).

v1.3.2

Compare Source

Compare with 1.3.2

Features
  • Add Markdown and GitHub output formats to the griffe check command (806805c by Timothée Mazzucotelli).

v1.3.1

Compare Source

Compare with 1.3.1

Bug Fixes
  • Normalize paths of temporary Git worktrees (0821e67 by Timothée Mazzucotelli). Issue-324

v1.3.0

Compare Source

Compare with 1.3.0

Bug Fixes
  • Refactor and fix logic again for fetching returns/yields/receives annotation from parents (a80bd3c by Timothée Mazzucotelli). Follow-up-of-PR-322
  • Don't crash on invalid signature given "Receives" section (1cb8f51 by Timothée Mazzucotelli).

v1.2.0

Compare Source

Compare with 1.2.0

Features
  • Allow deselecting multiple or named items in Yields and Receives (344df50 by Marco Ricci). Issue-263
Bug Fixes
  • Don't crash when trying to merge stubs into a compiled module that has no file path (e1f3ed9 by Timothée Mazzucotelli). Issue-323
  • Fix identity checks in inspector when handling attributes (676cfb4 by Timothée Mazzucotelli).
Code Refactoring
  • Extract common functionality in Returns, Yields and Receives parsing (c768356 by Marco Ricci). Issue-263
  • Remove useless branch in resolve method, add tests for it (aa6c7e4 by Timothée Mazzucotelli).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/griffe-1.x branch from 2d44bd9 to 1de3fda Compare October 6, 2026 18:17

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants