Compares an old catalog with a new catalog and reports public API drift.

Returns:

A list of Findings representing added, removed, and changed public APIs.

Methods

diff_catalogs

diff_catalogs(old: Optional, new: ProjectCatalog) -> List[Finding]

Compares an old catalog with a new catalog and reports public API drift.

Returns:

A list of Findings representing added, removed, and changed public APIs.

ParameterTypeDescription
oldOptionalThe previous ProjectCatalog baseline, or None if no baseline exists.
newProjectCatalogThe current ProjectCatalog to compare against.

Generated with Flude

Copyright © 2026