0.0.7 (API)
Version 0.0.7 of the ITB API introduces enhanced traceability and version tracking capabilities for model exports.
Part of ITB 0.0.7 release - See master release and WebApp Details
✨ New Features
Metadata Export File
Model exports now automatically include a _metadata.json file that captures comprehensive version information and statistics about the exported model.
What's included:
- Version information: ITB frontend, API, and library versions
- Export timestamp: When the model was exported
- Statistics: Entity, relation, viewpoint, and node counts
New API Endpoint: /pb_info
A new endpoint has been added to retrieve version information from PocketBase (ITB Frontend):
- Method: GET
- Path:
/pb_info - Returns: JSON with current version information
This endpoint calls the PocketBase /getVersion hook to retrieve the current version of the ITB frontend.
Example Metadata File
{
"itb_version": "0.0.7",
"api_version": "0.0.7",
"banian_library_version": "0.5.2",
"last_updated": "2026-02-12 14:30:45",
"entity_count": 42,
"relation_count": 156,
"viewpoint_count": 8,
"node_count": 234
}
Benefits
- Version tracking: Know exactly which tool versions created each export
- Debugging: Quickly identify version mismatches when troubleshooting issues
- Auditing: Track when models were last updated
- Statistics: Get a quick overview of model complexity
- Automation: Parse metadata programmatically for CI/CD pipelines
Summary
This release enhances data model traceability by automatically capturing version information and statistics in every export. The new metadata file makes it easy to understand the context of any model export and supports better debugging and automation workflows.