Skip to content

Release v0.3.0a1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Dec 08:14
· 11 commits to main since this release

Release v0.3.0a1

✨ New Features

Observer Pattern & Event System

  • Added ValidationObserver protocol for tracking validation events
  • New ValidationEvent and ValidationEventType for event-driven architecture
  • Events: VALIDATION_STARTED, VALIDATION_COMPLETED, ROW_PROCESSED, BATCH_STARTED, BATCH_COMPLETED, ERROR_ADDED, CLEANING_ADDED

Streaming Validation Runner

  • New ValidationRunner for 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 workers parameter
  • Built-in statistics tracking via RunnerStats

Rich Console Observers

  • SimpleProgressObserver - Progress bar integration with Rich
  • RichDashboardObserver - Live dashboard with stats panel and error tracking

Output Writers

  • CSVFailedWriter - Export failed records to CSV
  • JSONLinesFailedWriter - Export failed records to JSONL
  • AuditReportWriter - Generate audit reports in JSON/CSV format

AI Agent Documentation

  • Added comprehensive AGENTS.md with guidelines for AI assistants
  • Quick reference table, code examples, and anti-patterns

🧪 Testing Improvements

  • Added Hypothesis property-based tests for rich_observers and runner modules
  • Stateful testing for RunnerStats with RuleBasedStateMachine
  • 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