v0.8.0 - Configuration Validation Module
v0.8.0 - Configuration Validation Module
Major new feature release adding comprehensive configuration validation capabilities.
🎯 New Configuration Validation Module (9 Tools)
Validation Functions (7 tools)
- validate_yaml_syntax: Validate YAML syntax using PyYAML
- validate_toml_syntax: Validate TOML syntax using tomllib/tomli
- validate_json_syntax: Validate JSON syntax using stdlib json
- validate_json_schema: Validate JSON against schemas (jsonschema library)
- validate_github_actions_config: Validate GitHub Actions workflows with structural checks
- check_dependency_conflicts: Detect Python dependency version conflicts
- validate_version_specifier: Validate PEP 440 version specifiers
Security Functions (2 tools)
- scan_config_for_secrets: Detect secrets in config files (with optional detect-secrets integration)
- detect_insecure_settings: Scan for security misconfigurations (debug mode, SSL disabled, weak passwords, etc.)
📦 Optional Dependencies
Added 5 new optional dependencies for enhanced functionality:
- PyYAML ≥6.0.0: YAML parsing
- tomli ≥2.0.0: TOML parsing (Python <3.11)
- jsonschema ≥4.0.0: JSON schema validation
- packaging ≥21.0: Version parsing and conflict detection
- detect-secrets ≥1.5.0: Enhanced secret scanning (1000+ patterns)
Install with: pip install coding-open-agent-tools[config]
🔧 Implementation Details
- All functions use
@strands_tooldecorator for framework compatibility - Graceful fallbacks for missing optional dependencies
- Comprehensive error handling with helpful suggestions
- 52 passing tests with 100% coverage of new code
- Full mypy and ruff compliance
📊 Tool Count Update
- Previous: 258 tools
- New: 267 tools (+9)
🐛 Bug Fixes
- Updated test suite to reflect new tool count
- Applied formatting fixes to validation module
📚 Related
- Addresses GitHub Issue #6
- Milestone: v0.8.0
- Follows project philosophy: validation/parsing over code generation
Full Changelog: v0.7.1...v0.8.0