Release v0.3.0a1
Pre-release
Pre-release
Release v0.3.0a1
✨ New Features
Observer Pattern & Event System
- Added
ValidationObserverprotocol for tracking validation events - New
ValidationEventandValidationEventTypefor event-driven architecture - Events:
VALIDATION_STARTED,VALIDATION_COMPLETED,ROW_PROCESSED,BATCH_STARTED,BATCH_COMPLETED,ERROR_ADDED,CLEANING_ADDED
Streaming Validation Runner
- New
ValidationRunnerfor processing large datasets without loading into memory - Supports iterator input for streaming CSV/JSONL files
- Methods:
run(),run_collect_valid(),run_collect_failed(),run_batch_valid() - Parallel processing support with
workersparameter - Built-in statistics tracking via
RunnerStats
Rich Console Observers
SimpleProgressObserver- Progress bar integration with RichRichDashboardObserver- Live dashboard with stats panel and error tracking
Output Writers
CSVFailedWriter- Export failed records to CSVJSONLinesFailedWriter- Export failed records to JSONLAuditReportWriter- Generate audit reports in JSON/CSV format
AI Agent Documentation
- Added comprehensive
AGENTS.mdwith guidelines for AI assistants - Quick reference table, code examples, and anti-patterns
🧪 Testing Improvements
- Added Hypothesis property-based tests for
rich_observersandrunnermodules - Stateful testing for
RunnerStatswithRuleBasedStateMachine - Achieved 99% test coverage (100% on most modules)
🔧 Fixes
- Resolved all mypy type errors in test files
- Fixed version-check workflow for better cross-platform portability
📦 CI/CD
- Added alpha/beta/rc prerelease support to release workflow
- Improved version tagging automation
Full Changelog: https://github.com/Abstract-Data/abstract-validation-base/commits/v0.3.0a1