1.0.0
1.0.0 - 2024-08-15
V1! 🚀 🔥 🌈
Breaking changes
Highlights:
- Extensions inherit from
Extension
, (VisitorExtension
andInspectorExtension
are removed) - Members are serialized (
as_dict
/JSON) as a dictionary instead of a list - All objects are available in the top-level
griffe
module, nowhere else
Removed objects:
- all modules under the
griffe
package - the
griffe.DocstringWarningCallable
class - the
griffe.When
class - the
griffe.ExtensionType
type - the
griffe.InspectorExtension
class - the
griffe.VisitorExtension
class - the
griffe.HybridExtension
extension - the
griffe.patch_logger
function - the
griffe.JSONEncoder.docstring_parser
attribute - the
griffe.JSONEncoder.docstring_options
attribute - the
griffe.Extensions.attach_visitor
method - the
griffe.Extensions.attach_inspector
method - the
griffe.Extensions.before_visit
method - the
griffe.Extensions.before_children_visit
method - the
griffe.Extensions.after_children_visit
method - the
griffe.Extensions.after_visit
method - the
griffe.Extensions.before_inspection
method - the
griffe.Extensions.before_children_inspection
method - the
griffe.Extensions.after_children_inspection
method - the
griffe.Extensions.after_inspection
method - the
griffe.GriffeLoader.load_module
method - the
has_special_name
andhas_private_name
properties on objects - the
is_explicitely_exported
andis_implicitely_exported
properties on objects - the
member_is_exported
method on objects
Renamed/moved objects:
griffe.Function.setter
->griffe.Attribute.setter
griffe.Function.deleter
->griffe.Attribute.deleter
Signatures:
griffe.docstring_warning(name)
parameter was removedgriffe.GriffeLoader.load(module)
parameter was removedgriffe.load(module)
parameter was removedgriffe.load_git(module)
parameter was removedgriffe.find_breaking_changes(ignore_private)
parameter was removed- see previous deprecations