GitHub
09/08/2025, 12:46 PMgriffe to 1.14.0
Release notes
Sourced from griffe's releases.
## 1.14.0
## 1.14.0 - 2025-09-05
Compare with 1.13.0
### Deprecations
• Theevent's signature changed fromon_alias(an [analysis event][analysis-events]) toon_alias(self, *, node: AST | ObjectNode, alias: Alias, agent: Visitor | Inspector, **kwargs)([a load event][load-events]). Use the new signature, or rename your method toon_alias(self, *, alias: Alias, loader: GriffeLoader, **kwargs)to keep the old signature (on_alias_instanceis a new analysis event that replaces the oldon_alias_instanceone). Backward compatibility is maintained until next major version.on_alias
• Theevent is deprecated. Instead, use theon_wildcard_expansionevent, and check the [on_alias][griffe.Alias.wildcard_imported] boolean attribute of aliases.wildcard_imported
• Theevent is renamed toon_package_loaded. Backward compatibility is maintained until next major version.on_package
• The use of previously exposed Git-related utilities (,assert_git_repo,get_repo_rootandget_latest_tag) is deprecated, as they are not a core part of the library's functionality. These utilities are now part of our internal API.tmp_worktree
### Features
• Addattribute on objects and aliases, telling whether they were loaded through static or dynamic analysis, or created manually (d792a56 by Timothée Mazzucotelli).analysis
• Expose Git info in objects, allowing to compute a newproperty (see [Source information][source-information] in our docs) (2a8d824 by Timothée Mazzucotelli). Issue-361, Issue-mkdocstrings-python-253source_link
• Addboolean attribute to aliases, deprecatewildcard_importedevent (821300d by Timothée Mazzucotelli).on_wildcard_expansion
• 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 forChangelog Sourced from griffe's changelog.andon_alias(d3e50db by Timothée Mazzucotelli).on_package_loaded
## 1.14.0 - 2025-09-05
Compare with 1.13.0
### Deprecations
• Theevent's signature changed fromon_alias(an [analysis event][analysis-events]) toon_alias(self, *, node: AST | ObjectNode, alias: Alias, agent: Visitor | Inspector, **kwargs)([a load event][load-events]). Use the new signature, or rename your method toon_alias(self, *, alias: Alias, loader: GriffeLoader, **kwargs)to keep the old signature (on_alias_instanceis a new analysis event that replaces the oldon_alias_instanceone). Backward compatibility is maintained until next major version.on_alias
• Theevent is deprecated. Instead, use theon_wildcard_expansionevent, and check the [on_alias][griffe.Alias.wildcard_imported] boolean attribute of aliases.wildcard_imported
• Theevent is renamed toon_package_loaded. Backward compatibility is maintained until next major version.on_package
• The use of previously exposed Git-related utilities (,assert_git_repo,get_repo_rootandget_latest_tag) is deprecated, as they are not a core part of the library's functionality. These utilities are now part of our internal API.tmp_worktree
### Features
• Addattribute on objects and aliases, telling whether they were loaded through static or dynamic analysis, or created manually (d792a56 by Timothée Mazzucotelli).analysis
• Expose Git info in objects, allowing to compute a newproperty (see [Source information][source-information] in our docs) (2a8d824 by Timothée Mazzucotelli). Issue-361, Issue-mkdocstrings-python-253source_link
• Addboolean attribute to aliases, deprecatewildcard_importedevent (821300d by Timothée Mazzucotelli).on_wildcard_expansion
• 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 forandon_alias(d3e50db by Timothée Mazzucotelli).on_package_loaded
## 1.13.0 - 2025-08-26
Compare with 1.12.1
### Features
• Addproperty (5417b70 by Timothée Mazzucotelli).is_init_method
### Bug Fixes
• Increase maximum recursion limit when calling as a CLI (5f0d9e6 by Timothée Mazzucotelli). Issue-402
## 1.12.1 - 202…meltano/sdk
GitHub
09/08/2025, 11:35 PM