Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 2.02 KB

File metadata and controls

43 lines (33 loc) · 2.02 KB

Changelog

v0.5.4

Added

  • ClickHouse: Support multiple Hosts configuration

v0.5.3

Added

  • ClickHouse Protocol Support: New protocol field in ConnectionConfig for ClickHouse connections (http, https, clickhouse, clickhouse-secure)

Fixed

  • Fail-safe Validation: Unknown schema check types and unknown operators now fail instead of silently passing
  • Float Equality: Equality/inequality comparisons use epsilon tolerance to avoid floating-point precision issues
  • Error Wrapping: All adapter ExecuteQuery errors now use %w for proper error wrapping
  • ClickHouse Connector: Ping now actually pings the server before fetching version
  • Config Loading: Fixed potential NPE
  • Regex Compilation: Check parser regexes compiled once at package level instead of per call

Changed

  • Upgraded to Go 1.26 and updated all dependencies
  • Moved sample checks file to examples/checks.yml
  • Copyright headers updated to 2026

v0.5.0

Added

  • Schema Validation: New schema_checks support for validating database table schemas
    • expect_columns check to validate required column presence and types
    • expect_columns_ordered check to validate required column presence and types in specific order
    • columns_not_present check to ensure specific columns are not present by stop-list or pattern
  • Enhanced Check Configuration: New flexible checks format with improved YAML configuration
  • Database Adapter Architecture: Refactored to use adapter pattern for better database abstraction
  • Comprehensive Test Coverage: Added extensive test suites for all adapters and validation logic
  • CI/CD Pipeline: GitHub Actions workflow for automated testing

Improved

  • Performance: Enhanced query execution with optimized adapter interfaces
  • Configuration: More flexible check expression parsing and validation
  • Error Handling: Better validation and error reporting for check results
  • Code Quality: Comprehensive refactoring with improved maintainability