v0.8.0
v0.8.0 (2026-03-17)
Bug Fixes
-
Address PR review feedback — reduce duplication in serializers and CLI (
40ae2c6) -
Extract _get_dumper() helper to eliminate repeated dumper selection logic
-
Remove unused hierarchy and show_ids params from serialize_tree_node
-
Reuse serialize_resource() for project dicts instead of duplicating
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
- Extract duplicated string literals to constants in conftest.py (
ed34bc6)
Resolves SonarCloud S1192 issues for "organizations/123", "folders/1", and "folders/11" repeated in test hierarchy builder.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
-
Resolve SonarCloud duplication and unused variable issues (
aa47ef5) -
Extract shared test hierarchy builder to conftest.py (eliminates
~40-line duplication between test_cli.py and test_serializers.py) -
Fix all 6 unused variable warnings in test_serializers.py
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Features
- Add --json and --yaml structured output flags (
949d8e3)
Add global --json and --yaml flags for machine-readable output across all commands (ls, tree, name, path). This makes gcpath composable with jq, yq, shell scripts, and CI pipelines.
- New serializers.py module for dict-building and JSON/YAML dumping
- Mutually exclusive flags with clear error message
- Cache status message moved to stderr to avoid polluting structured output
- pyyaml>=6.0 added as dependency
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Detailed Changes: v0.7.1...v0.8.0